Interface: measureConfig
测量参数
Details
主要是否开启特征点、测量精度、单位、测量线样式、测量面样式、显示距离、字体样式、背景框样式。
Properties
snapPoints
• snapPoints: null
| boolean
Details
是否开启特征点(选填)
Accuracy
• Accuracy: null
| number
Details
测量精度(选填)
取值范围[0,4]
unit
• unit: null
| unitConfig
Details
单位对象(选填)
style
• style: Object
Details
测量样式(必填)
Type declaration
Name | Type | Description |
---|---|---|
lineColor | null | Color | Details 测量线颜色(选填) |
lineSize? | null | number | Details 测量线大小(三维线半径大小) |
polygonColor | null | Color | Details 测量面颜色(选填) |
measureLableStyle | { backgroundColor : null | Color ; frameColor : null | Color ; frontStyle : null | fontStyle ; ShowByDistance : null | [0 , number ] } | Details 标签样式 |
measureLableStyle.backgroundColor | null | Color | Details 标签背景颜色(选填) |
measureLableStyle.frameColor | null | Color | Details 标签背景边框颜色(选填) |
measureLableStyle.frontStyle | null | fontStyle | Details 字体样式(选填) |
measureLableStyle.ShowByDistance | null | [0 , number ] | Details 可视距离(选填) |