fix leaflet icon image path

This commit is contained in:
Laura Klünder 2017-10-29 18:34:39 +01:00
parent 28945f1a36
commit 284cbb15c2

View file

@ -286,6 +286,9 @@ c3nav = {
});
c3nav.map.fitBounds(c3nav.bounds, {padding: [30, 50]});
// fix marker paths
L.Icon.Default.imagePath = '/static/leaflet/images/'
// setup scale control
L.control.scale({imperial: false}).addTo(c3nav.map);