django-leaflet icon indicating copy to clipboard operation
django-leaflet copied to clipboard

Can't set maxNativeZoom for the tile layer in config

Open benjaminh opened this issue 5 years ago • 0 comments

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 ?

benjaminh avatar Feb 11 '20 15:02 benjaminh