Methods
(static) add(geometry, tag) → {Promise.<void>}
向当前跟踪图层中添加一个几何对象,并给出该几何对象的标签信息。
Parameters:
| Name | Type | Description |
|---|---|---|
geometry |
object | 矢量对象 |
tag |
string | 矢量对象的标签名称 |
- Source:
Returns:
- Type
- Promise.<void>
(static) clear() → {Promise.<void>}
清空此跟踪图层中的所有几何对象。
- Source:
Returns:
- Type
- Promise.<void>