When editing a WMS layer in Admin UI, there's an option to set legendIcon for each given layer (and sublayers):
While useful as-is, it can easily become cumbersome when the amount of sublayers increases:
However, the URL for each layer follows (oftentimes) a pattern. Normally we would like to send some options to the WMS service (e.g. to disable the labelling on icon graphic), or request some custom size of the icon.
We could make the administration much easier if we could expose some parameters in the Admin UI, while determine the other ones (URL to the service, layer's name) from the layer's existing definition.
When editing a WMS layer in Admin UI, there's an option to set
legendIcon
for each given layer (and sublayers):While useful as-is, it can easily become cumbersome when the amount of sublayers increases:
However, the URL for each layer follows (oftentimes) a pattern. Normally we would like to send some options to the WMS service (e.g. to disable the labelling on icon graphic), or request some custom size of the icon.
We will probably end up with something like this:
We could make the administration much easier if we could expose some parameters in the Admin UI, while determine the other ones (URL to the service, layer's name) from the layer's existing definition.