new Measure(map)
创建一个测量实例
Parameters:
Name | Type | Description |
---|---|---|
map |
ht.cesium.Map |
Members
-
map :ht.cesium.Map
-
获取地图实例对象
Methods
-
addAreaMeasure(options) → {void}
-
Parameters:
Name Type Attributes Description options
any <optional>
Returns:
void -
addDistanceMeasure(options) → {void}
-
Parameters:
Name Type Attributes Description options
any <optional>
Returns:
void -
clear() → {void}
-
清除所有的测量结果
Returns:
void -
clearAreaMeasure() → {void}
-
清除面积测量结果
Returns:
void -
clearDistanceMeasure() → {void}
-
清除距离测量结果
Returns:
void -
clearTrianglesMeasure() → {void}
-
清除三角测量结果
Returns:
void -
drawAreaMeasureGraphics(options) → {void}
-
绘制面积测量
Parameters:
Name Type Attributes Description options
any <optional>
Returns:
void -
drawLineMeasureGraphics(options) → {void}
-
绘制距离测量线
Parameters:
Name Type Attributes Description options
any <optional>
Returns:
void -
drawTrianglesMeasureGraphics(options) → {void}
-
三角测量
Parameters:
Name Type Attributes Description options
any <optional>
Returns:
void -
removeAreaMeasure(options) → {void}
-
Parameters:
Name Type Attributes Description options
any <optional>
Returns:
void -
removeDistanceMeasure(id) → {void}
-
Parameters:
Name Type Description id
any Returns:
void