mousemove events need to propagate through path layers otherwise you cannot drag the map through them. Refs #1046
This commit is contained in:
parent
333f74eb07
commit
1a2764ae0a
@ -134,7 +134,9 @@ L.Path = L.Path.extend({
|
||||
if (e.type === 'contextmenu') {
|
||||
L.DomEvent.preventDefault(e);
|
||||
}
|
||||
L.DomEvent.stopPropagation(e);
|
||||
if (e.type !== 'mousemove') {
|
||||
L.DomEvent.stopPropagation(e);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user