Constructor
new MeasureGroundDistance()
Extends
Members
objId
- Overrides:
Properties:
Name | Type | Description |
---|---|---|
objId |
String | 唯一标识id |
promptStyle
- Overrides:
Properties:
Name | Type | Description |
---|---|---|
promptStyle |
Object | 鼠标弹窗样式 |
state
- Overrides:
Properties:
Name | Type | Description |
---|---|---|
state |
String | 标识当前状态 no startCreate creating endCreate startEdit endEdit editing |
unit
- Overrides:
Properties:
Name | Type | Description |
---|---|---|
unit |
String | 单位 |
Methods
destroy()
- Description:
- 销毁
- Overrides:
done()
- Description:
- 结束当前操作 包括编辑和绘制
- Overrides:
endEdit()
- Description:
- 结束编辑
- Overrides:
setUnit(unit)
- Description:
- 设置单位
- Overrides:
Parameters:
Name | Type | Description |
---|---|---|
unit |
String |
start(callback)
- Description:
- 开始绘制
- Overrides:
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | 绘制成功后回调函数 |
startEdit(callback)
- Description:
- 开始编辑
- Overrides:
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | 编辑成功后回调函数 |