Skip to content

fix: Limit the maxzoom for OSM - #102

Open
gbonnefille wants to merge 1 commit into
developmentseed:mainfrom
gbonnefille:osm-max-zoom
Open

gbonnefille wants to merge 1 commit into
developmentseed:mainfrom
gbonnefille:osm-max-zoom

Conversation

@gbonnefille

Copy link
Copy Markdown

By default, the map tries to open at zoom=22. But this zoom level is not supported by OpenStreetMap. Looking at https://wiki.openstreetmap.org/wiki/Zoom_levels the max zoom is 20. But by experience, zoom=20 returns 400. We need to use zoom=19.

By default, the map tries to open at zoom=22. But this zoom level is not supported by OpenStreetMap.
Looking at https://wiki.openstreetmap.org/wiki/Zoom_levels the max zoom is 20.
But by experience, zoom=20 returns 400. We need to use zoom=19.
@gbonnefille

Copy link
Copy Markdown
Author

@alukach any opinion on this trivial change?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant