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