Abort drawing to clear the sketch feature
This commit is contained in:
1 parent
4575c4ab6f
commit
73ef345a2d
1 file changed
+1
@@ -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