provide faction colored icons for leaflet markers
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user