Stop other interactions when dragging

This commit is contained in:
Tom Payne
2013-06-25 15:46:00 +02:00
parent 38893eaf8c
commit 23e54e4543

View File

@@ -128,6 +128,7 @@ ol.interaction.Drag.prototype.handleMapBrowserEvent =
if (handled) {
this.dragging_ = true;
mapBrowserEvent.preventDefault();
mapBrowserEvent.stopOtherInteractions();
}
}
};