fix leaflet icon image path
This commit is contained in:
parent
28945f1a36
commit
284cbb15c2
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue