Make usage of contextual WMS legend a setting of WMS layers