Abort drawing to clear the sketch feature

This commit is contained in:
Thomas Chandelle
2017-02-14 09:26:35 +01:00
parent 4575c4ab6f
commit 73ef345a2d

View File

@@ -376,6 +376,7 @@ ol.interaction.Draw.handleUpEvent_ = function(event) {
pass = false;
} else if (circleMode && this.freehand_) {
this.finishCoordinate_ = null;
this.abortDrawing_();
}
return pass;
};