mars3d 3.6.6 → 3.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mars3d.css +2 -2
- package/dist/mars3d.d.ts +74 -15
- package/dist/mars3d.js +3 -3
- package/package.json +1 -1
package/dist/mars3d.css
CHANGED
package/dist/mars3d.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Mars3D三维可视化平台 mars3d
|
|
4
4
|
*
|
|
5
|
-
* 版本信息:v3.6.
|
|
6
|
-
* 编译日期:2023-09-
|
|
5
|
+
* 版本信息:v3.6.7
|
|
6
|
+
* 编译日期:2023-09-26 10:49:46
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2023-03-17
|
|
9
9
|
*/
|
|
@@ -8552,6 +8552,10 @@ declare namespace BillboardEntity {
|
|
|
8552
8552
|
* @property [sizeInMeters] - 指定该广告牌的大小是否应该以米来度量。
|
|
8553
8553
|
* @property [translucencyByDistance] - 用于基于与相机的距离设置半透明度。
|
|
8554
8554
|
* @property [pixelOffsetScaleByDistance] - 用于基于与相机的距离设置pixelOffset。
|
|
8555
|
+
* @property [pixelOffsetScaleByDistance_far = 1000000] - 上限
|
|
8556
|
+
* @property [pixelOffsetScaleByDistance_farValue = 0.1] - 比例值
|
|
8557
|
+
* @property [pixelOffsetScaleByDistance_near = 1000] - 下限
|
|
8558
|
+
* @property [pixelOffsetScaleByDistance_nearValue = 1] - 比例值
|
|
8555
8559
|
* @property [imageSubRegion] - 定义用于广告牌的图像的子区域,而不是从左下角开始以像素为单位的整个图像。
|
|
8556
8560
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
8557
8561
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
@@ -8590,7 +8594,11 @@ declare namespace BillboardEntity {
|
|
|
8590
8594
|
alignedAxis?: Cesium.Cartesian3;
|
|
8591
8595
|
sizeInMeters?: boolean;
|
|
8592
8596
|
translucencyByDistance?: Cesium.NearFarScalar;
|
|
8593
|
-
pixelOffsetScaleByDistance?: Cesium.NearFarScalar;
|
|
8597
|
+
pixelOffsetScaleByDistance?: boolean | Cesium.NearFarScalar;
|
|
8598
|
+
pixelOffsetScaleByDistance_far?: number;
|
|
8599
|
+
pixelOffsetScaleByDistance_farValue?: number;
|
|
8600
|
+
pixelOffsetScaleByDistance_near?: number;
|
|
8601
|
+
pixelOffsetScaleByDistance_nearValue?: number;
|
|
8594
8602
|
imageSubRegion?: Cesium.BoundingRectangle;
|
|
8595
8603
|
setHeight?: number | string;
|
|
8596
8604
|
addHeight?: number | string;
|
|
@@ -9860,6 +9868,10 @@ declare namespace DivBillboardEntity {
|
|
|
9860
9868
|
* @property [sizeInMeters] - 指定该广告牌的大小是否应该以米来度量。
|
|
9861
9869
|
* @property [translucencyByDistance] - 用于基于与相机的距离设置半透明度。
|
|
9862
9870
|
* @property [pixelOffsetScaleByDistance] - 用于基于与相机的距离设置pixelOffset。
|
|
9871
|
+
* @property [pixelOffsetScaleByDistance_far = 1000000] - 上限
|
|
9872
|
+
* @property [pixelOffsetScaleByDistance_farValue = 0.1] - 比例值
|
|
9873
|
+
* @property [pixelOffsetScaleByDistance_near = 1000] - 下限
|
|
9874
|
+
* @property [pixelOffsetScaleByDistance_nearValue = 1] - 比例值
|
|
9863
9875
|
* @property [imageSubRegion] - 定义用于广告牌的图像的子区域,而不是从左下角开始以像素为单位的整个图像。
|
|
9864
9876
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9865
9877
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
@@ -9897,7 +9909,11 @@ declare namespace DivBillboardEntity {
|
|
|
9897
9909
|
alignedAxis?: Cesium.Cartesian3;
|
|
9898
9910
|
sizeInMeters?: boolean;
|
|
9899
9911
|
translucencyByDistance?: Cesium.NearFarScalar;
|
|
9900
|
-
pixelOffsetScaleByDistance?: Cesium.NearFarScalar;
|
|
9912
|
+
pixelOffsetScaleByDistance?: boolean | Cesium.NearFarScalar;
|
|
9913
|
+
pixelOffsetScaleByDistance_far?: number;
|
|
9914
|
+
pixelOffsetScaleByDistance_farValue?: number;
|
|
9915
|
+
pixelOffsetScaleByDistance_near?: number;
|
|
9916
|
+
pixelOffsetScaleByDistance_nearValue?: number;
|
|
9901
9917
|
imageSubRegion?: Cesium.BoundingRectangle;
|
|
9902
9918
|
setHeight?: number | string;
|
|
9903
9919
|
addHeight?: number | string;
|
|
@@ -10485,6 +10501,10 @@ declare namespace FontBillboardEntity {
|
|
|
10485
10501
|
* @property [sizeInMeters] - 指定该广告牌的大小是否应该以米来度量。
|
|
10486
10502
|
* @property [translucencyByDistance] - 用于基于与相机的距离设置半透明度。
|
|
10487
10503
|
* @property [pixelOffsetScaleByDistance] - 用于基于与相机的距离设置pixelOffset。
|
|
10504
|
+
* @property [pixelOffsetScaleByDistance_far = 1000000] - 上限
|
|
10505
|
+
* @property [pixelOffsetScaleByDistance_farValue = 0.1] - 比例值
|
|
10506
|
+
* @property [pixelOffsetScaleByDistance_near = 1000] - 下限
|
|
10507
|
+
* @property [pixelOffsetScaleByDistance_nearValue = 1] - 比例值
|
|
10488
10508
|
* @property [imageSubRegion] - 定义用于广告牌的图像的子区域,而不是从左下角开始以像素为单位的整个图像。
|
|
10489
10509
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10490
10510
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
@@ -10524,7 +10544,11 @@ declare namespace FontBillboardEntity {
|
|
|
10524
10544
|
alignedAxis?: Cesium.Cartesian3;
|
|
10525
10545
|
sizeInMeters?: boolean;
|
|
10526
10546
|
translucencyByDistance?: Cesium.NearFarScalar;
|
|
10527
|
-
pixelOffsetScaleByDistance?: Cesium.NearFarScalar;
|
|
10547
|
+
pixelOffsetScaleByDistance?: boolean | Cesium.NearFarScalar;
|
|
10548
|
+
pixelOffsetScaleByDistance_far?: number;
|
|
10549
|
+
pixelOffsetScaleByDistance_farValue?: number;
|
|
10550
|
+
pixelOffsetScaleByDistance_near?: number;
|
|
10551
|
+
pixelOffsetScaleByDistance_nearValue?: number;
|
|
10528
10552
|
imageSubRegion?: Cesium.BoundingRectangle;
|
|
10529
10553
|
setHeight?: number | string;
|
|
10530
10554
|
addHeight?: number | string;
|
|
@@ -10616,7 +10640,11 @@ declare namespace LabelEntity {
|
|
|
10616
10640
|
* @property [pixelOffsetX = 0] - 横向偏移像素
|
|
10617
10641
|
* @property [pixelOffsetY = 0] - 纵向偏移像素
|
|
10618
10642
|
* @property [pixelOffset = Cartesian2.ZERO] - A {@link Cartesian2} Property specifying the pixel offset.
|
|
10619
|
-
* @property [pixelOffsetScaleByDistance] -
|
|
10643
|
+
* @property [pixelOffsetScaleByDistance] - 用于基于与相机的距离设置pixelOffset。
|
|
10644
|
+
* @property [pixelOffsetScaleByDistance_far = 1000000] - 上限
|
|
10645
|
+
* @property [pixelOffsetScaleByDistance_farValue = 0.1] - 比例值
|
|
10646
|
+
* @property [pixelOffsetScaleByDistance_near = 1000] - 下限
|
|
10647
|
+
* @property [pixelOffsetScaleByDistance_nearValue = 1] - 比例值
|
|
10620
10648
|
* @property [eyeOffset = Cartesian3.ZERO] - A {@link Cartesian3} Property specifying the eye offset.
|
|
10621
10649
|
* @property [scaleByDistance = false] - 是否按视距缩放 或 设定基于与相机的距离设置比例。
|
|
10622
10650
|
* @property [scaleByDistance_far = 1000000] - 上限
|
|
@@ -10660,7 +10688,11 @@ declare namespace LabelEntity {
|
|
|
10660
10688
|
pixelOffsetX?: number;
|
|
10661
10689
|
pixelOffsetY?: number;
|
|
10662
10690
|
pixelOffset?: Cesium.Cartesian2 | number[];
|
|
10663
|
-
pixelOffsetScaleByDistance?: Cesium.NearFarScalar;
|
|
10691
|
+
pixelOffsetScaleByDistance?: boolean | Cesium.NearFarScalar;
|
|
10692
|
+
pixelOffsetScaleByDistance_far?: number;
|
|
10693
|
+
pixelOffsetScaleByDistance_farValue?: number;
|
|
10694
|
+
pixelOffsetScaleByDistance_near?: number;
|
|
10695
|
+
pixelOffsetScaleByDistance_nearValue?: number;
|
|
10664
10696
|
eyeOffset?: Cesium.Cartesian3;
|
|
10665
10697
|
scaleByDistance?: boolean | Cesium.NearFarScalar;
|
|
10666
10698
|
scaleByDistance_far?: number;
|
|
@@ -14489,6 +14521,7 @@ declare class VolumeDepthMeasure extends AreaMeasure {
|
|
|
14489
14521
|
* 1. 挖方量: 计算“基准面”到地表之间的凸出部分进行挖掉的体积。<br />
|
|
14490
14522
|
* 2. 填方量:计算“基准面”与“墙底部”之间的缺少部分进行填平的体积。
|
|
14491
14523
|
* @param options - 参数对象,包括以下:
|
|
14524
|
+
* @param options.positions - 坐标位置
|
|
14492
14525
|
* @param options.style - 基准面样式信息
|
|
14493
14526
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
14494
14527
|
* @param [options.polygonWallStyle] - 围墙面的样式
|
|
@@ -14515,6 +14548,7 @@ declare class VolumeDepthMeasure extends AreaMeasure {
|
|
|
14515
14548
|
*/
|
|
14516
14549
|
declare class VolumeMeasure extends AreaMeasure {
|
|
14517
14550
|
constructor(options: {
|
|
14551
|
+
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
14518
14552
|
style: PolygonEntity.StyleOptions | any;
|
|
14519
14553
|
attr?: any;
|
|
14520
14554
|
polygonWallStyle?: PolygonEntity.StyleOptions | any;
|
|
@@ -23609,6 +23643,10 @@ declare class BaseTileLayer extends BaseLayer {
|
|
|
23609
23643
|
* 图层顺序,数字大的在上面。(当hasZIndex为true时)
|
|
23610
23644
|
*/
|
|
23611
23645
|
zIndex: number;
|
|
23646
|
+
/**
|
|
23647
|
+
* 取当前subdomains配置的随机1个值,用于URL模板中用于 {s} 占位符的子域
|
|
23648
|
+
*/
|
|
23649
|
+
readonly subdomainItem: string;
|
|
23612
23650
|
/**
|
|
23613
23651
|
* 瓦片数据范围
|
|
23614
23652
|
*/
|
|
@@ -26297,13 +26335,14 @@ declare namespace Map {
|
|
|
26297
26335
|
* @property [contextOptions = {}] - WebGL创建属性 传递给 Cesium.Scene 的 options 。{@link Cesium.Scene}
|
|
26298
26336
|
* @property [contextOptions.allowTextureFilterAnisotropic = true] - 允许纹理过滤各向异性
|
|
26299
26337
|
* @property [contextOptions.requestWebgl1 = false] - 是否启用webgl1,cesium v1.102起默认用webgl2渲染
|
|
26300
|
-
* @property [contextOptions.webgl] - WebGL画布,用于 canvas.getContext("webgl", webglOptions)
|
|
26338
|
+
* @property [contextOptions.webgl] - WebGL画布,用于 canvas.getContext("webgl", webglOptions) See {@link https://registry.khronos.org/webgl/specs/latest/1.0/#5.2|WebGLContextAttributes}
|
|
26301
26339
|
* @property [contextOptions.webgl.alpha = false] - 是否包含alpha缓冲区,如果需要DIV透明时,需要改为true
|
|
26302
|
-
* @property [contextOptions.webgl.antialias] - 是否执行抗锯齿
|
|
26303
|
-
* @property [contextOptions.webgl.failIfMajorPerformanceCaveat] - 如果系统性能较低,是否创建上下文
|
|
26304
26340
|
* @property [contextOptions.webgl.depth] - 绘图缓冲区的深度缓冲区至少为16位
|
|
26305
26341
|
* @property [contextOptions.webgl.stencil = true] - 绘图缓冲区具有至少8位的模板缓冲区
|
|
26306
|
-
* @property [contextOptions.webgl.
|
|
26342
|
+
* @property [contextOptions.webgl.antialias] - 是否执行抗锯齿
|
|
26343
|
+
* @property [contextOptions.webgl.failIfMajorPerformanceCaveat] - 如果系统性能较低,是否创建上下文
|
|
26344
|
+
* @property [contextOptions.webgl.preserveDrawingBuffer] - 是否将把绘图缓存保留下来,截图需要将该项设置为true
|
|
26345
|
+
* @property [contextOptions.webgl.powerPreference = "high-performance"] - 对用户代理的提示,指示GPU的哪种配置适合WebGL上下文,可选值:"default"、"low-power"、"high-performance"
|
|
26307
26346
|
* @property [orderIndependentTranslucency = true] - 如果为true,并且配置支持它,则使用顺序无关的半透明性。
|
|
26308
26347
|
* @property [terrainShadows = Cesium.ShadowMode.RECEIVE_ONLY] - 确定地形是否投射或接收来自光源的阴影。
|
|
26309
26348
|
* @property [requestRenderMode = false] - 是否显式渲染,如果为真,渲染帧只会在需要时发生,这是由场景中的变化决定的。启用可以减少你的应用程序的CPU/GPU使用量,并且在移动设备上使用更少的电池,但是需要使用 {@link Scene#requestRender} 在这种模式下显式地渲染一个新帧。在许多情况下,在API的其他部分更改场景后,这是必要的。参见 {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
|
|
@@ -26382,10 +26421,12 @@ declare namespace Map {
|
|
|
26382
26421
|
requestWebgl1?: boolean;
|
|
26383
26422
|
webgl?: {
|
|
26384
26423
|
alpha?: boolean;
|
|
26385
|
-
antialias?: boolean;
|
|
26386
|
-
failIfMajorPerformanceCaveat?: boolean;
|
|
26387
26424
|
depth?: boolean;
|
|
26388
26425
|
stencil?: boolean;
|
|
26426
|
+
antialias?: boolean;
|
|
26427
|
+
premultipliedAlpha?: boolean;
|
|
26428
|
+
failIfMajorPerformanceCaveat?: boolean;
|
|
26429
|
+
preserveDrawingBuffer?: boolean;
|
|
26389
26430
|
powerPreference?: string;
|
|
26390
26431
|
};
|
|
26391
26432
|
};
|
|
@@ -32085,6 +32126,7 @@ declare class Measure extends BaseThing {
|
|
|
32085
32126
|
* 测量 空间长度
|
|
32086
32127
|
* @param [options] - 控制参数
|
|
32087
32128
|
* @param [options.style] - 路线的样式
|
|
32129
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32088
32130
|
* @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatDistance}可选值:auto、m、km、wm、mile、zhang 等。auto时根据距离值自动选用k或km
|
|
32089
32131
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
32090
32132
|
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
@@ -32094,6 +32136,7 @@ declare class Measure extends BaseThing {
|
|
|
32094
32136
|
*/
|
|
32095
32137
|
distance(options?: {
|
|
32096
32138
|
style?: PolylineEntity.StyleOptions | any;
|
|
32139
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32097
32140
|
unit?: string;
|
|
32098
32141
|
maxPointNum?: number;
|
|
32099
32142
|
addHeight?: number;
|
|
@@ -32104,6 +32147,7 @@ declare class Measure extends BaseThing {
|
|
|
32104
32147
|
* 测量 贴地长度
|
|
32105
32148
|
* @param [options] - 控制参数
|
|
32106
32149
|
* @param [options.style] - 路线的样式
|
|
32150
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32107
32151
|
* @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatDistance}可选值:auto、m、km、wm、mile、zhang 等。auto时根据距离值自动选用k或km
|
|
32108
32152
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
32109
32153
|
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
@@ -32116,6 +32160,7 @@ declare class Measure extends BaseThing {
|
|
|
32116
32160
|
*/
|
|
32117
32161
|
distanceSurface(options?: {
|
|
32118
32162
|
style?: PolylineEntity.StyleOptions | any;
|
|
32163
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32119
32164
|
unit?: string;
|
|
32120
32165
|
maxPointNum?: number;
|
|
32121
32166
|
addHeight?: number;
|
|
@@ -32129,6 +32174,7 @@ declare class Measure extends BaseThing {
|
|
|
32129
32174
|
* 剖面分析,测量线插值点的高程数据
|
|
32130
32175
|
* @param [options] - 控制参数
|
|
32131
32176
|
* @param [options.style] - 路线的样式
|
|
32177
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32132
32178
|
* @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatDistance}可选值:auto、m、km、wm、mile、zhang 等。auto时根据距离值自动选用k或km
|
|
32133
32179
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
32134
32180
|
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
@@ -32140,6 +32186,7 @@ declare class Measure extends BaseThing {
|
|
|
32140
32186
|
*/
|
|
32141
32187
|
section(options?: {
|
|
32142
32188
|
style?: PolylineEntity.StyleOptions | any;
|
|
32189
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32143
32190
|
unit?: string;
|
|
32144
32191
|
maxPointNum?: number;
|
|
32145
32192
|
addHeight?: number;
|
|
@@ -32152,12 +32199,14 @@ declare class Measure extends BaseThing {
|
|
|
32152
32199
|
* 面积测量(水平面)
|
|
32153
32200
|
* @param [options] - 控制参数
|
|
32154
32201
|
* @param [options.style] - 面的样式
|
|
32202
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32155
32203
|
* @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatArea}可选值:auto、m、km、mu、ha 。auto时根据面积值自动选用k或km
|
|
32156
32204
|
* @param [options.decimal = 2] - 显示的文本中保留的小数位
|
|
32157
32205
|
* @returns 绘制创建完成的Promise,返回 面积测量控制类 对象
|
|
32158
32206
|
*/
|
|
32159
32207
|
area(options?: {
|
|
32160
32208
|
style?: PolygonEntity.StyleOptions | any;
|
|
32209
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32161
32210
|
unit?: string;
|
|
32162
32211
|
decimal?: number;
|
|
32163
32212
|
}): Promise<AreaMeasure | any>;
|
|
@@ -32165,6 +32214,7 @@ declare class Measure extends BaseThing {
|
|
|
32165
32214
|
* 贴地面积测量
|
|
32166
32215
|
* @param [options] - 控制参数
|
|
32167
32216
|
* @param [options.style] - 面的样式
|
|
32217
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32168
32218
|
* @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatArea}可选值:auto、m、km、mu、ha 。auto时根据面积值自动选用k或km
|
|
32169
32219
|
* @param [options.splitNum = 10] - 插值数,将面分割的网格数(概略值,有经纬网网格来插值)
|
|
32170
32220
|
* @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
|
|
@@ -32174,6 +32224,7 @@ declare class Measure extends BaseThing {
|
|
|
32174
32224
|
*/
|
|
32175
32225
|
areaSurface(options?: {
|
|
32176
32226
|
style?: PolygonEntity.StyleOptions | any;
|
|
32227
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32177
32228
|
unit?: string;
|
|
32178
32229
|
splitNum?: number;
|
|
32179
32230
|
has3dtiles?: boolean;
|
|
@@ -32194,8 +32245,9 @@ declare class Measure extends BaseThing {
|
|
|
32194
32245
|
* @param [options.heightLabel = true] - 是否显示各边界点高度值文本
|
|
32195
32246
|
* @param [options.offsetLabel = false] - 是否显示各边界点高度差文本
|
|
32196
32247
|
* @param [options.showArea = true] - 是否显示横切面积
|
|
32197
|
-
* @param [options.
|
|
32248
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32198
32249
|
* @param [options.labelHeight] - 各边界点高度结果文本的样式
|
|
32250
|
+
* @param [options.polygonWall] - 围合的墙样式
|
|
32199
32251
|
* @param [options.decimal = 2] - 显示的文本中保留的小数位
|
|
32200
32252
|
* @param [options.depth = false] - 是否采用 {@link VolumeDepthMeasure}进行分析
|
|
32201
32253
|
* @returns 绘制创建完成的Promise,返回 体积测量控制类 对象
|
|
@@ -32212,8 +32264,9 @@ declare class Measure extends BaseThing {
|
|
|
32212
32264
|
heightLabel?: boolean;
|
|
32213
32265
|
offsetLabel?: boolean;
|
|
32214
32266
|
showArea?: boolean;
|
|
32215
|
-
|
|
32267
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32216
32268
|
labelHeight?: LabelEntity.StyleOptions | any;
|
|
32269
|
+
polygonWall?: PolygonEntity.StyleOptions | any;
|
|
32217
32270
|
decimal?: number;
|
|
32218
32271
|
depth?: boolean;
|
|
32219
32272
|
}): Promise<VolumeMeasure | any>;
|
|
@@ -32221,12 +32274,14 @@ declare class Measure extends BaseThing {
|
|
|
32221
32274
|
* 高度测量
|
|
32222
32275
|
* @param [options] - 控制参数
|
|
32223
32276
|
* @param [options.style] - 路线的样式
|
|
32277
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32224
32278
|
* @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatDistance}可选值:auto、m、km、wm、mile、zhang 等。auto时根据距离值自动选用k或km
|
|
32225
32279
|
* @param [options.decimal = 2] - 显示的文本中保留的小数位
|
|
32226
32280
|
* @returns 绘制创建完成的Promise,返回 高度测量 对象
|
|
32227
32281
|
*/
|
|
32228
32282
|
height(options?: {
|
|
32229
32283
|
style?: PolylineEntity.StyleOptions | any;
|
|
32284
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32230
32285
|
unit?: string;
|
|
32231
32286
|
decimal?: number;
|
|
32232
32287
|
}): Promise<HeightMeasure | any>;
|
|
@@ -32235,12 +32290,14 @@ declare class Measure extends BaseThing {
|
|
|
32235
32290
|
* 包括水平距离、空间距离、高度差。
|
|
32236
32291
|
* @param [options] - 控制参数
|
|
32237
32292
|
* @param [options.style] - 路线的样式
|
|
32293
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32238
32294
|
* @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatDistance}可选值:auto、m、km、wm、mile、zhang 等。auto时根据距离值自动选用k或km
|
|
32239
32295
|
* @param [options.decimal = 2] - 显示的文本中保留的小数位
|
|
32240
32296
|
* @returns 绘制创建完成的Promise,返回 三角高度测量控制类 对象
|
|
32241
32297
|
*/
|
|
32242
32298
|
heightTriangle(options?: {
|
|
32243
32299
|
style?: PolylineEntity.StyleOptions | any;
|
|
32300
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32244
32301
|
unit?: string;
|
|
32245
32302
|
decimal?: number;
|
|
32246
32303
|
}): Promise<HeightTriangleMeasure | any>;
|
|
@@ -32248,12 +32305,14 @@ declare class Measure extends BaseThing {
|
|
|
32248
32305
|
* 角度测量
|
|
32249
32306
|
* @param [options] - 控制参数
|
|
32250
32307
|
* @param [options.style] - 路线的样式,默认为箭头线
|
|
32308
|
+
* @param [options.label] - 测量结果文本的样式
|
|
32251
32309
|
* @param [options.angleDecimal = 1] - 显示的 角度值 文本中保留的小数位
|
|
32252
32310
|
* @param [options.decimal = 2] - 显示的 距离值 文本中保留的小数位
|
|
32253
32311
|
* @returns 绘制创建完成的Promise,返回 角度测量控制类 对象
|
|
32254
32312
|
*/
|
|
32255
32313
|
angle(options?: {
|
|
32256
32314
|
style?: PolylineEntity.StyleOptions | any;
|
|
32315
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
32257
32316
|
angleDecimal?: number;
|
|
32258
32317
|
decimal?: number;
|
|
32259
32318
|
}): Promise<AngleMeasure | any>;
|