Abort drawing to clear the sketch feature
This commit is contained in:
@@ -376,6 +376,7 @@ ol.interaction.Draw.handleUpEvent_ = function(event) {
|
||||
pass = false;
|
||||
} else if (circleMode && this.freehand_) {
|
||||
this.finishCoordinate_ = null;
|
||||
this.abortDrawing_();
|
||||
}
|
||||
return pass;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user