We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e2ee74 + 461479e commit 4bdcb85Copy full SHA for 4bdcb85
folium/templates/fol_template.html
@@ -65,6 +65,7 @@
65
{
66
"attribution": "{{tile['attr']}}",
67
"detectRetina": {{tile['detect_retina'].__str__().lower()}},
68
+ "maxNativeZoom": {{tile['max_native_zoom']}},
69
"maxZoom": {{tile['max_zoom']}},
70
"minZoom": {{tile['min_zoom']}},
71
"noWrap": {{tile['no_wrap'].__str__().lower()}},
tests/test_folium.py
@@ -206,6 +206,7 @@ def test_map_build(self):
206
{'id': 'tile_layer_'+'0'*32,
207
'address': 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
208
'attr': attr,
209
+ 'max_native_zoom': 20,
210
'max_zoom': 20,
211
'min_zoom': 0,
212
'detect_retina': False,
0 commit comments