From 26c18a7ddf3edf48e636735e8c309b53fc7c729d Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Thu, 7 Mar 2013 10:49:13 +0100 Subject: [PATCH] fix shadow handling in marker icons --- code/boot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/boot.js b/code/boot.js index 8776a6f6..3630e6db 100644 --- a/code/boot.js +++ b/code/boot.js @@ -276,11 +276,11 @@ function boot() { window.runOnSmartphonesBeforeBoot(); // overwrite default Leaflet Marker icon to be a neutral color - var base = 'https://iitcserv.appspot.com/dist/images/'; + var base = 'https://iitcserv.appspot.com/dist/images'; L.Icon.Default.imagePath = base; - window.iconEnl = L.Icon.Default.extend({options: { iconUrl: base + 'marker-green.png' } }); - window.iconRes = L.Icon.Default.extend({options: { iconUrl: base + 'marker-blue.png' } }); + window.iconEnl = L.Icon.Default.extend({options: { iconUrl: base + '/marker-green.png' } }); + window.iconRes = L.Icon.Default.extend({options: { iconUrl: base + '/marker-blue.png' } }); window.setupStyles(); window.setupDialogs();