Browse Source

improve the editTool

tags/3.0.0
Caven Chen 2 years ago
parent
commit
e09dfaf9c4
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      modules/tools/EditTool.js

+ 2
- 0
modules/tools/EditTool.js View File

@@ -240,6 +240,8 @@ class EditTool {
* @returns {EditTool}
*/
activate(options = {}) {
this._anchorLayer.entities.removeAll()
this._anchors = []
this._viewer.tooltip.enable = true
this._options = { ...DEF_OPTS, ...options }
this._unbindEvent()

Loading…
Cancel
Save