Merge pull request #1121 from danzel/master

mousemove events need to propagate through path layers
This commit is contained in:
Vladimir Agafonkin 2012-11-05 13:30:21 -08:00
commit 3ae809e7c9

View File

@ -134,8 +134,10 @@ L.Path = L.Path.extend({
if (e.type === 'contextmenu') {
L.DomEvent.preventDefault(e);
}
if (e.type !== 'mousemove') {
L.DomEvent.stopPropagation(e);
}
}
});
L.Map.include({