You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When a layer within a yaga-layers-control has the display set on false, the checkbox or radiobutton in the yaga-layers-control on screen should be unchecked.
At the moment it is checked and for the user to be able to view the hidden layer, the user must first uncheck and then check the layer again.
Describe the solution you'd like
A way to tell the yaga-layers-control that a layer is hidden by default and the addTo method should not be called on it. I think the display attribute could be used for that.
Is your feature request related to a problem? Please describe.
When a layer within a yaga-layers-control has the display set on false, the checkbox or radiobutton in the yaga-layers-control on screen should be unchecked.
At the moment it is checked and for the user to be able to view the hidden layer, the user must first uncheck and then check the layer again.
Describe the solution you'd like
A way to tell the yaga-layers-control that a layer is hidden by default and the addTo method should not be called on it. I think the display attribute could be used for that.
Describe alternatives you've considered
Solution in Leafet: https://stackoverflow.com/questions/46043995/set-leaflet-overlay-off-in-the-layer-control
The text was updated successfully, but these errors were encountered: