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