Merge branch 'master' of github.com:Leaflet/Leaflet

This commit is contained in:
Yohan Boniface 2016-04-02 19:36:53 +02:00
commit 711dcf3ea4
2 changed files with 14 additions and 2 deletions

14
dist/leaflet.css vendored
View File

@ -203,6 +203,20 @@
cursor: -moz-grabbing;
}
/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
pointer-events: none;
}
.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive {
pointer-events: auto;
}
/* visual tweaks */

View File

@ -149,8 +149,6 @@ L.SVG = L.Renderer.extend({
} else {
path.setAttribute('fill', 'none');
}
path.setAttribute('pointer-events', options.pointerEvents || (options.interactive ? 'visiblePainted' : 'none'));
},
_updatePoly: function (layer, closed) {