-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zoom level changes when check and then uncheck layers #764
Comments
Found the zoom level change is one of leaflet's features.
When turn off Toporama, the _updateZoomLayers will get called and set zoom level of map to 6, in order to show the Static MapML with tiles layer. It works great when the two layers have similar extent bounds, because when the zoom level gets changed, the layer that is disabled previously (Static MapML with tiles in this case) can become visible. |
Resolved in #887 |
https://maps4html.org/experiments/custom-projections/BNG/
when turn the OS Roads tile map in BNG custom projection layer on and then off, the zoom level changes from 0 to 5 automatically;
Similarly, the BNG Shrink/Swell WMS layer becomes disabled after turning it on then off (as the zoom level changes and gets out of its max zoom bound, I believe).
The text was updated successfully, but these errors were encountered: