Make ol.interaction.Pointer call handleMoveEvent

This commit is contained in:
Éric Lemoine
2014-12-15 17:27:31 +01:00
parent 711ec705b7
commit 1907de667a

View File

@@ -198,6 +198,8 @@ ol.interaction.Pointer.handleEvent = function(mapBrowserEvent) {
var handled = this.handleDownEvent_(mapBrowserEvent);
this.handlingDownUpSequence = handled;
stopEvent = this.shouldStopEvent(handled);
} else if (mapBrowserEvent.type == ol.MapBrowserEvent.EventType.POINTERMOVE) {
this.handleMoveEvent_(mapBrowserEvent);
}
return !stopEvent;
};