this.draw.finishDrawing()
Stop drawing and add the sketch feature to the target layer. The module:ol/interaction/Draw~DrawEventType.DRAWEND event is dispatched before inserting the feature.
使用方法:
可以通過鍵盤快捷鍵操作,結束draw繪製,將當前繪製的圖形添加到目標圖層中。
this.draw.finishDrawing()
Stop drawing and add the sketch feature to the target layer. The module:ol/interaction/Draw~DrawEventType.DRAWEND event is dispatched before inserting the feature.
使用方法:
可以通過鍵盤快捷鍵操作,結束draw繪製,將當前繪製的圖形添加到目標圖層中。