diff --git a/code/boot.js b/code/boot.js index 4985fa5d..af1cc054 100644 --- a/code/boot.js +++ b/code/boot.js @@ -249,6 +249,14 @@ function boot() { console.log('loading done, booting'); 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'; + + window.iconEnl = L.Icon.extend({options: { iconUrl: 'marker-green.png' } }); + window.iconRes = L.Icon.extend({options: { iconUrl: 'marker-blue.png' } }); + window.setupStyles(); window.setupMap(); window.setupGeosearch(); diff --git a/images/marker-blue.png b/images/marker-blue.png new file mode 100644 index 00000000..e2e9f757 Binary files /dev/null and b/images/marker-blue.png differ diff --git a/images/marker-blue@2x.png b/images/marker-blue@2x.png new file mode 100644 index 00000000..0015b649 Binary files /dev/null and b/images/marker-blue@2x.png differ diff --git a/images/marker-green.png b/images/marker-green.png new file mode 100644 index 00000000..0a91944b Binary files /dev/null and b/images/marker-green.png differ diff --git a/images/marker-green@2x.png b/images/marker-green@2x.png new file mode 100644 index 00000000..64ab693c Binary files /dev/null and b/images/marker-green@2x.png differ