mapview icon indicating copy to clipboard operation
mapview copied to clipboard

Toggle legends to show/hide with layers

Open Newtonrific opened this issue 2 years ago • 0 comments

With a map with multiple layers, but only one layer set to be visible on initiation (i.e. all other layers use hide = TRUE) the legends for all layers are shown on initiation. If a layer is then toggled to be visible then hidden again the legend also becomes hidden with the layer. Is it possible to have the legends for hidden layers also hidden on initiation?

Newtonrific avatar Apr 04 '23 11:04 Newtonrific