From a2e01d2f906c594268289baf25d57aa0e2a32a82 Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Mon, 14 May 2018 21:14:58 +0200 Subject: Spoonfeed image location. --- templates/map.mdwn | 1 + 1 file changed, 1 insertion(+) (limited to 'templates') diff --git a/templates/map.mdwn b/templates/map.mdwn index 4b8fb72e..f3b907b1 100644 --- a/templates/map.mdwn +++ b/templates/map.mdwn @@ -23,6 +23,7 @@ var map = L.map('content', { layers: [OSMLayer] }).fitBounds(Box); map.attributionControl.setPrefix(false); L.control.scale({ imperial: false }).addTo(map); +L.Icon.Default.imagePath = '/usr/share/javascript/leaflet/images/'; function round(n,d) { -- cgit v1.2.3