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.
1 parent 04c55c7 commit f0ee1e6Copy full SHA for f0ee1e6
folium/templates/fol_template.html
@@ -65,7 +65,7 @@
65
zoom: {{ zoom_level }},
66
maxBounds: bounds,
67
layers: [],
68
- crs: L.CRS.{{tile['crs']}}
+ crs: L.CRS.{{crs}}
69
});
70
71
{% for tile in tile_layers %}
tests/test_folium.py
@@ -463,7 +463,6 @@ def test_map_build(self):
463
'max_zoom': 20,
464
'min_zoom': 1,
465
'detect_retina': False,
466
- 'crs' : 'EPSG3857',
467
}]
468
tmpl = {'map_id': 'map_' + '0' * 32,
469
'lat': 45.5236, 'lon': -122.675,
@@ -474,6 +473,7 @@ def test_map_build(self):
474
473
'min_lon': -180,
475
'max_lon': 180,
476
'tile_layers': tile_layers
+ 'crs' : 'EPSG3857',
477
}
478
HTML = html_templ.render(tmpl, plugins={})
479
0 commit comments