point leaflet to use app engine to serve marker icons. App Engine does not allow @-signs in their filenames, so the marker will probably be broken on retina-displays.

This commit is contained in:
Stefan Breunig 2013-03-07 09:06:15 +01:00
parent 626f734ba8
commit 41c3f01737

View File

@ -276,7 +276,7 @@ function boot() {
window.runOnSmartphonesBeforeBoot(); window.runOnSmartphonesBeforeBoot();
// overwrite default Leaflet Marker icon to be a neutral color // overwrite default Leaflet Marker icon to be a neutral color
var base = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/images/'; var base = 'https://iitcserv.appspot.com/dist/images/';
L.Icon.Default.imagePath = base; L.Icon.Default.imagePath = base;
window.iconEnl = L.Icon.Default.extend({options: { iconUrl: base + 'marker-green.png' } }); window.iconEnl = L.Icon.Default.extend({options: { iconUrl: base + 'marker-green.png' } });