diff --git a/code/boot.js b/code/boot.js index af1cc054..6077f03a 100644 --- a/code/boot.js +++ b/code/boot.js @@ -251,11 +251,11 @@ function boot() { window.runOnSmartphonesBeforeBoot(); // overwrite default Leaflet Marker icon to be a neutral color - var base = 'http://breunigs.github.com/ingress-intel-total-conversion/dist'; - L.Icon.Default.imagePath = base + '/images'; + var base = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/'; + L.Icon.Default.imagePath = base + 'images'; - window.iconEnl = L.Icon.extend({options: { iconUrl: 'marker-green.png' } }); - window.iconRes = L.Icon.extend({options: { iconUrl: 'marker-blue.png' } }); + window.iconEnl = L.Icon.extend({options: { iconUrl: base + 'marker-green.png' } }); + window.iconRes = L.Icon.extend({options: { iconUrl: base + 'marker-blue.png' } }); window.setupStyles(); window.setupMap(); diff --git a/dist/images/marker-blue.png b/dist/images/marker-blue.png new file mode 100644 index 00000000..e2e9f757 Binary files /dev/null and b/dist/images/marker-blue.png differ diff --git a/dist/images/marker-blue@2x.png b/dist/images/marker-blue@2x.png new file mode 100644 index 00000000..0015b649 Binary files /dev/null and b/dist/images/marker-blue@2x.png differ diff --git a/dist/images/marker-green.png b/dist/images/marker-green.png new file mode 100644 index 00000000..0a91944b Binary files /dev/null and b/dist/images/marker-green.png differ diff --git a/dist/images/marker-green@2x.png b/dist/images/marker-green@2x.png new file mode 100644 index 00000000..64ab693c Binary files /dev/null and b/dist/images/marker-green@2x.png differ