Appearance
surveyLengthTool ?
SurveyLengthTool ?
Kind: global class
new SurveyLengthTool(viewer) ?
多點(diǎn)距離測(cè)量
| Param | Type | Description |
|---|---|---|
| viewer | Viewer | 場(chǎng)景類 |
SurveyLengthTool.enabled(Boolean) ?
測(cè)量開(kāi)關(guān)
Kind: static method of SurveyLengthTool
| Param | Type | Description |
|---|---|---|
| Boolean | string | 布爾值 |
SurveyLengthTool.addPoint(point) ?
添加標(biāo)識(shí)點(diǎn)
Kind: static method of SurveyLengthTool
| Param | Type | Description |
|---|---|---|
| point | Array | 數(shù)組,標(biāo)識(shí)點(diǎn)的坐標(biāo)。 |
SurveyLengthTool.result() ? ?
返回長(zhǎng)度和對(duì)應(yīng)線段的中心點(diǎn)坐標(biāo)
Kind: static method of SurveyLengthTool
Returns: distance - 數(shù)字,距離長(zhǎng)度。數(shù)組,線段的中心點(diǎn)坐標(biāo)