Stop other interactions when dragging
This commit is contained in:
@@ -128,6 +128,7 @@ ol.interaction.Drag.prototype.handleMapBrowserEvent =
|
|||||||
if (handled) {
|
if (handled) {
|
||||||
this.dragging_ = true;
|
this.dragging_ = true;
|
||||||
mapBrowserEvent.preventDefault();
|
mapBrowserEvent.preventDefault();
|
||||||
|
mapBrowserEvent.stopOtherInteractions();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user