color Leaflet marker icon accordingly
This commit is contained in:
parent
250cd99167
commit
e76c17f2c7
BIN
dist/images/marker-icon.png
vendored
Normal file
BIN
dist/images/marker-icon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
dist/images/marker-icon@2x.png
vendored
Normal file
BIN
dist/images/marker-icon@2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
BIN
dist/images/marker-shadow.png
vendored
Normal file
BIN
dist/images/marker-shadow.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 797 B |
BIN
images/marker-icon.png
Normal file
BIN
images/marker-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
images/marker-icon@2x.png
Normal file
BIN
images/marker-icon@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
BIN
images/marker-shadow.png
Normal file
BIN
images/marker-shadow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 797 B |
@ -30,8 +30,11 @@ window.plugin.drawTools = function() {};
|
|||||||
|
|
||||||
window.plugin.drawTools.loadExternals = function() {
|
window.plugin.drawTools.loadExternals = function() {
|
||||||
var base = 'http://breunigs.github.com/ingress-intel-total-conversion/dist';
|
var base = 'http://breunigs.github.com/ingress-intel-total-conversion/dist';
|
||||||
|
//~ var base = 'http://0.0.0.0:8000/dist';
|
||||||
$('head').append('<link rel="stylesheet" href="'+base+'/leaflet.draw.0.1.6.css" />');
|
$('head').append('<link rel="stylesheet" href="'+base+'/leaflet.draw.0.1.6.css" />');
|
||||||
load(base+'/leaflet.draw.0.1.6.js').thenRun(window.plugin.drawTools.boot);
|
load(base+'/leaflet.draw.0.1.6.js').thenRun(window.plugin.drawTools.boot);
|
||||||
|
// overwrite default Leaflet Marker icon.
|
||||||
|
L.Icon.Default.imagePath = base + '/images';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user