diff --git a/src/ol/interaction/draw.js b/src/ol/interaction/draw.js index 6368e3135f..9f0345659a 100644 --- a/src/ol/interaction/draw.js +++ b/src/ol/interaction/draw.js @@ -346,7 +346,7 @@ ol.interaction.Draw.handleEvent = function(mapBrowserEvent) { } var pass = !this.freehand_; if (this.freehand_ && - mapBrowserEvent.type === ol.MapBrowserEvent.EventType.POINTERDRAG) { + mapBrowserEvent.type === ol.MapBrowserEvent.EventType.POINTERDRAG && this.sketchFeature_ !== null) { this.addToDrawing_(mapBrowserEvent); pass = false; } else if (mapBrowserEvent.type ===