Stop other interactions when dragging
This commit is contained in:
1 parent
38893eaf8c
commit
23e54e4543
1 file changed
+1
@@ -128,6 +128,7 @@ ol.interaction.Drag.prototype.handleMapBrowserEvent =
|
||||
if (handled) {
|
||||
this.dragging_ = true;
|
||||
mapBrowserEvent.preventDefault();
|
||||
mapBrowserEvent.stopOtherInteractions();
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user