Making the draw interaction work with pointer events
This is not yet optimized for mobile, and tests need to be updated.
This commit is contained in:
@@ -478,8 +478,8 @@ ol.interaction.Modify.prototype.handleMapBrowserEvent =
|
||||
mapBrowserEvent.type == ol.MapBrowserEvent.EventType.POINTERMOVE) {
|
||||
this.handlePointerMove_(mapBrowserEvent);
|
||||
}
|
||||
goog.base(this, 'handleMapBrowserEvent', mapBrowserEvent);
|
||||
return !this.modifiable_;
|
||||
return (goog.base(this, 'handleMapBrowserEvent', mapBrowserEvent) &&
|
||||
!this.modifiable_);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user