Use ol.MapBrowserEvent.EventType.POINTERDOWN
Instaed of a hardcoded string
This commit is contained in:
@@ -265,7 +265,7 @@ ol.Map = function(options) {
|
|||||||
goog.events.EventType.MOUSEDOWN,
|
goog.events.EventType.MOUSEDOWN,
|
||||||
goog.events.EventType.TOUCHSTART,
|
goog.events.EventType.TOUCHSTART,
|
||||||
goog.events.EventType.MSPOINTERDOWN,
|
goog.events.EventType.MSPOINTERDOWN,
|
||||||
'pointerdown'
|
ol.MapBrowserEvent.EventType.POINTERDOWN
|
||||||
], goog.events.Event.stopPropagation);
|
], goog.events.Event.stopPropagation);
|
||||||
goog.dom.appendChild(this.viewport_, this.overlayContainerStopEvent_);
|
goog.dom.appendChild(this.viewport_, this.overlayContainerStopEvent_);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user