remove marker icon shadow

it's pretty subtle, and was preventing clicks through it. also, some icons (e.g. the dynamic svg DivIcon from draw-tools) didn't use one, so it seems odd to have a mixture of some with, some without shadows
This commit is contained in:
Jon Atkins 2014-03-21 20:17:27 +00:00
parent c6e557a557
commit eeed5e01cd

View File

@ -549,17 +549,13 @@ function boot() {
var iconDefImage = '@@INCLUDEIMAGE:images/marker-icon.png@@';
var iconDefRetImage = '@@INCLUDEIMAGE:images/marker-icon-2x.png@@';
var iconShadowImage = '@@INCLUDEIMAGE:images/marker-shadow.png@@';
L.Icon.Default = L.Icon.extend({options: {
iconUrl: iconDefImage,
iconRetinaUrl: iconDefRetImage,
shadowUrl: iconShadowImage,
shadowRetinaUrl: iconShadowImage,
iconSize: new L.Point(25, 41),
iconAnchor: new L.Point(12, 41),
popupAnchor: new L.Point(1, -34),
shadowSize: new L.Point(41, 41)
}});
window.setupIdle();