From 1907de667a67de894d09d136863e144c1e460dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 15 Dec 2014 17:27:31 +0100 Subject: [PATCH] Make ol.interaction.Pointer call handleMoveEvent --- src/ol/interaction/pointerinteraction.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ol/interaction/pointerinteraction.js b/src/ol/interaction/pointerinteraction.js index 2f0acaf39b..5e47a81e13 100644 --- a/src/ol/interaction/pointerinteraction.js +++ b/src/ol/interaction/pointerinteraction.js @@ -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; };