summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2018-05-14 21:14:58 +0200
committerSiri Reiter <siri@jones.dk>2018-05-14 21:14:58 +0200
commita2e01d2f906c594268289baf25d57aa0e2a32a82 (patch)
tree99a4213334bbb47bcf77f02ce4ca19ba8d2c3f0c
parent97fe856dd92a88ce7671920f2d954b5498237c41 (diff)
Spoonfeed image location.
-rw-r--r--templates/map.mdwn1
1 files changed, 1 insertions, 0 deletions
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/';
<TMPL_IF positionpopup>
function round(n,d) {