Skip to content
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

Can't set maxNativeZoom for the tile layer in config #272

Open
benjaminh opened this issue Feb 11, 2020 · 0 comments
Open

Can't set maxNativeZoom for the tile layer in config #272

benjaminh opened this issue Feb 11, 2020 · 0 comments

Comments

@benjaminh
Copy link

OpenStreetMap restricts the zoom level to 20 so I need to use Leaflet maxZoom and maxNativeZoom to zoom into last level tiles.
Yet, I didn't find in django-leaflet config a corresponding MAX_NATIVE_ZOOM property to set in LEAFLET_CONFIG.

Is there any way to set this value ? If not, is it possible to set the leaflet property by accessing to the object in the main_map_init javascript() function ?

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

No branches or pull requests

1 participant