fix icon alignment, add shadows

This commit is contained in:
Stefan Breunig 2013-02-18 13:03:50 +01:00
parent 7f79f6361d
commit 68da102b48

View File

@ -251,11 +251,11 @@ 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 = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/images/';
L.Icon.Default.imagePath = base; L.Icon.Default.imagePath = base;
window.iconEnl = L.Icon.extend({options: { iconUrl: base + 'marker-green.png' } }); window.iconEnl = L.Icon.Default.extend({options: { iconUrl: base + 'marker-green.png' } });
window.iconRes = L.Icon.extend({options: { iconUrl: base + 'marker-blue.png' } }); window.iconRes = L.Icon.Default.extend({options: { iconUrl: base + 'marker-blue.png' } });
window.setupStyles(); window.setupStyles();
window.setupMap(); window.setupMap();