fix path and provide icons in dist
This commit is contained in:
parent
9728840715
commit
4db13fef11
@ -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();
|
||||
|
BIN
dist/images/marker-blue.png
vendored
Normal file
BIN
dist/images/marker-blue.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
dist/images/marker-blue@2x.png
vendored
Normal file
BIN
dist/images/marker-blue@2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
dist/images/marker-green.png
vendored
Normal file
BIN
dist/images/marker-green.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
dist/images/marker-green@2x.png
vendored
Normal file
BIN
dist/images/marker-green@2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
Loading…
x
Reference in New Issue
Block a user