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
If layer is currently not seen on the map view due to maxZoom/minZoom, this should be ideally reflected in the layercontrol by a different style/color for example.
The text was updated successfully, but these errors were encountered:
Cool idea! Maybe like a warning sign and when you hover over it, it shows a message? Something like... "This layer can't be shown on the current zoom level" ?
The official (vanilla) OL layer control used I think disabling of the input field + grey color, which sounds more mobile friendly to me, but at the same time disabling the field completely might be too limiting (if user wants to disable the layer before zooming towards it for whatever reason)
* added zoom layer state in stories
* added state to layer
* added state check to helper
* clean code a bit
* arg fix in stories
* added opacity also to look it like hidden
* prettier
* re render fix
* CHANGELOG prettier fix
* update example for zoom layer state
* added to layer control
* set default zoom level to 1
* test added to zoom state layer
* fix comment typo
* fix title typo
* fix id for docs
implements #248
If layer is currently not seen on the map view due to maxZoom/minZoom, this should be ideally reflected in the layercontrol by a different style/color for example.
The text was updated successfully, but these errors were encountered: