mars3d 3.4.16 → 3.4.18
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 +84 -17
- 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.4.
|
|
6
|
-
* 编译日期:2022-12-
|
|
5
|
+
* 版本信息:v3.4.18
|
|
6
|
+
* 编译日期:2022-12-19 13:25:56
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2022-06-01
|
|
9
9
|
*/
|
|
@@ -183,6 +183,10 @@ declare enum EventType {
|
|
|
183
183
|
* 从地图上移除控件
|
|
184
184
|
*/
|
|
185
185
|
removeControl = "removeControl",
|
|
186
|
+
/**
|
|
187
|
+
* 更新了控件(比如show变化)
|
|
188
|
+
*/
|
|
189
|
+
updateControl = "updateControl",
|
|
186
190
|
/**
|
|
187
191
|
* 地图上添加Effect特效
|
|
188
192
|
*/
|
|
@@ -909,7 +913,7 @@ declare enum Lang {
|
|
|
909
913
|
"_纬度" = "[\"\u7EAC\u5EA6\",\"\u7DEF\u5EA6\",\"Lat\"]",
|
|
910
914
|
"_海拔" = "[\"\u9AD8\u7A0B\",\"\u9AD8\u7A0B\",\"Alt\"]",
|
|
911
915
|
"_横坐标" = "[\"\u6A2A\u5750\u6807\",\"\u6A6B\u5750\u6A19\",\"X\"]",
|
|
912
|
-
"_纵坐标" = "[\"\u7EB5\u5750\u6807\
|
|
916
|
+
"_纵坐标" = "[\"\u7EB5\u5750\u6807\",\"\u7E31\u5750\u6A19\",\"Y\"]",
|
|
913
917
|
"_查看当前视角" = "[\"\u67E5\u770B\u5F53\u524D\u89C6\u89D2\",\"\u67E5\u770B\u7576\u524D\u8996\u89D2\",\"Camera info\"]",
|
|
914
918
|
"_当前视角信息" = "[\"\u5F53\u524D\u89C6\u89D2\u4FE1\u606F\",\"\u7576\u524D\u8996\u89D2\u4FE1\u606F\",\"Current Camera Information\"]",
|
|
915
919
|
"_视角切换" = "[\"\u89C6\u89D2\u5207\u6362\",\"\u8996\u89D2\u5207\u63DB\",\"Camera\"]",
|
|
@@ -1003,6 +1007,14 @@ declare enum Lang {
|
|
|
1003
1007
|
"_单击后激活编辑" = "[\"\u5355\u51FB\u540E\u6FC0\u6D3B\u7F16\u8F91\",\"\u55AE\u64CA\u5F8C \u6FC0\u6D3B\u7DE8\u8F2F\",\"Click to activate editing\"]",
|
|
1004
1008
|
"_右击菜单删除" = "[\"\u53F3\u51FB\u83DC\u5355\u5220\u9664\",\"\u53F3\u64CA\u83DC\u55AE\u522A\u9664\",\"Right click menu to delete\"]",
|
|
1005
1009
|
"_更多功能请右击" = "[\"\u66F4\u591A\u529F\u80FD\u8BF7\u53F3\u51FB\",\"\u66F4\u591A\u529F\u80FD\u8ACB\u53F3\u64CA\",\"For more functions, right click\"]",
|
|
1010
|
+
"_停止编辑" = "[\"\u505C\u6B62\u7F16\u8F91\",\"\u505C\u6B62\u7DE8\u8F2F\",\"Stop editing\"]",
|
|
1011
|
+
"_删除该点" = "[\"\u5220\u9664\u8BE5\u70B9\",\"\u522A\u9664\u8A72\u9EDE\",\"Delete that point\"]",
|
|
1012
|
+
"_按轴平移" = "[\"\u6309\u8F74\u5E73\u79FB\",\"\u6309\u8EF8\u5E73\u79FB\",\"Translation by axis\"]",
|
|
1013
|
+
"_停止按轴平移" = "[\"\u505C\u6B62\u6309\u8F74\u5E73\u79FB\",\"\u505C\u6B62\u6309\u8EF8\u5E73\u79FB\",\"Stop translation along axis\"]",
|
|
1014
|
+
"_按轴旋转" = "[\"\u6309\u8F74\u65CB\u8F6C\",\"\u6309\u8EF8\u65CB\u8F49\",\"Rotation on axis\"]",
|
|
1015
|
+
"_停止按轴旋转" = "[\"\u505C\u6B62\u6309\u8F74\u65CB\u8F6C\",\"\u505C\u6B62\u6309\u8EF8\u65CB\u8F49\",\"Stop rotation on axis\"]",
|
|
1016
|
+
"_调整比例" = "[\"\u8C03\u6574\u6BD4\u4F8B\",\"\u8ABF\u6574\u6BD4\u4F8B\",\"Edit Scale\"]",
|
|
1017
|
+
"_停止调整比例" = "[\"\u505C\u6B62\u8C03\u6574\u6BD4\u4F8B\",\"\u505C\u6B62\u8ABF\u6574\u6BD4\u4F8B\",\"Stop edit scale\"]",
|
|
1006
1018
|
"_释放后完成修改" = "[\"\u91CA\u653E\u540E\u5B8C\u6210\u4FEE\u6539\",\"\u91CB\u653E\u5F8C\u5B8C\u6210\u4FEE\u6539\",\"Complete the modification after release\"]",
|
|
1007
1019
|
"_该对象不允许编辑" = "[\"\u8BE5\u5BF9\u8C61\u4E0D\u5141\u8BB8\u7F16\u8F91\",\"\u8A72\u5C0D\u8C61\u4E0D\u5141\u8A31\u7DE8\u8F2F\",\"This object does not allow editing\"]",
|
|
1008
1020
|
"_拖动该点后" = "[\"\u62D6\u52A8\u8BE5\u70B9\u540E\",\"\u62D6\u52D5\u8A72\u9EDE\u5F8C\",\"Drag that point\"]",
|
|
@@ -3752,6 +3764,11 @@ declare class BaseGraphic extends BaseClass {
|
|
|
3752
3764
|
* @returns 当前对象本身,可以链式调用
|
|
3753
3765
|
*/
|
|
3754
3766
|
closePopup(): BaseGraphic | any;
|
|
3767
|
+
/**
|
|
3768
|
+
* 获取当前对象打开的Popup对象
|
|
3769
|
+
* @returns 当前对象打开的Popup对象
|
|
3770
|
+
*/
|
|
3771
|
+
getPopup(): Popup;
|
|
3755
3772
|
/**
|
|
3756
3773
|
* 是否绑定了tooltip
|
|
3757
3774
|
* @param [hasLayer = true] - 是否判断图层上的tooltip
|
|
@@ -3783,6 +3800,11 @@ declare class BaseGraphic extends BaseClass {
|
|
|
3783
3800
|
* @returns 当前对象本身,可以链式调用
|
|
3784
3801
|
*/
|
|
3785
3802
|
closeTooltip(): BaseGraphic | any;
|
|
3803
|
+
/**
|
|
3804
|
+
* 获取当前对象打开的Tooltip对象
|
|
3805
|
+
* @returns 当前对象打开的Tooltip对象
|
|
3806
|
+
*/
|
|
3807
|
+
getTooltip(): Tooltip;
|
|
3786
3808
|
/**
|
|
3787
3809
|
* 是否有绑定的右键菜单
|
|
3788
3810
|
* @param [hasLayer = true] - 是否判断图层上的右键菜单
|
|
@@ -5228,6 +5250,9 @@ declare class ArcFrustum extends BasePointPrimitive {
|
|
|
5228
5250
|
* @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
|
|
5229
5251
|
* @param [options.fixedFrameTransform = Cesium.Transforms.eastNorthUpToFixedFrame] - 参考系
|
|
5230
5252
|
* @param [options.orientation] - 自定义实体方向, 默认内部根据轨迹自动的
|
|
5253
|
+
* @param [options.clampToTileset] - 是否进行贴模型。
|
|
5254
|
+
* @param [options.frameRateHeight = 30] - clampToTileset:true时,多少帧计算一次贴模型高度
|
|
5255
|
+
* @param [options.objectsToExclude] - clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
5231
5256
|
* @param [options.camera] - 视角模式设置,包括:
|
|
5232
5257
|
* @param [options.camera.type] - 视角模式类型,包括:'':无、'gs':跟随视角、'dy':第一视角、'sd':上帝视角
|
|
5233
5258
|
* @param [options.camera.radius] - 'gs'跟随视角时的 初始俯仰距离值(单位:米)
|
|
@@ -5279,6 +5304,9 @@ declare class FixedRoute extends Route {
|
|
|
5279
5304
|
backwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
5280
5305
|
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
5281
5306
|
orientation?: Cesium.Property | any;
|
|
5307
|
+
clampToTileset?: boolean;
|
|
5308
|
+
frameRateHeight?: number;
|
|
5309
|
+
objectsToExclude?: any;
|
|
5282
5310
|
camera?: {
|
|
5283
5311
|
type?: string;
|
|
5284
5312
|
radius?: number;
|
|
@@ -5566,6 +5594,7 @@ declare namespace Route {
|
|
|
5566
5594
|
* 使用 {@link Route#addDynamicPosition} 方法来添加动画轨迹点位置。
|
|
5567
5595
|
* 如果只是显示单个模型等对象,建议直接使用对应的矢量对象,效率更高。
|
|
5568
5596
|
* @param options - 参数对象,包括以下:
|
|
5597
|
+
* @param [options.position] - 自定义外部构造好的传入动态坐标位置(含时序的点集合)
|
|
5569
5598
|
* @param [options.attr] - 矢量数据的 属性信息,可以任意附加属性。
|
|
5570
5599
|
* @param [options.label] - 使用 文本 对象,及其对应的样式
|
|
5571
5600
|
* @param [options.billboard] - 使用 图标 对象,及其对应的样式
|
|
@@ -5585,6 +5614,9 @@ declare namespace Route {
|
|
|
5585
5614
|
* @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
|
|
5586
5615
|
* @param [options.fixedFrameTransform = Cesium.Transforms.eastNorthUpToFixedFrame] - 参考系
|
|
5587
5616
|
* @param [options.orientation] - 自定义实体方向, 默认内部根据轨迹自动的
|
|
5617
|
+
* @param [options.clampToTileset] - 是否进行贴模型。
|
|
5618
|
+
* @param [options.frameRateHeight = 30] - clampToTileset:true时,多少帧计算一次贴模型高度
|
|
5619
|
+
* @param [options.objectsToExclude] - clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
5588
5620
|
* @param [options.camera] - 视角模式设置,包括:
|
|
5589
5621
|
* @param [options.camera.type] - 视角模式类型,包括:'':无、'gs':跟随视角、'dy':第一视角、'sd':上帝视角
|
|
5590
5622
|
* @param [options.camera.radius] - 'gs'跟随视角时的 初始俯仰距离值(单位:米)
|
|
@@ -5608,6 +5640,7 @@ declare namespace Route {
|
|
|
5608
5640
|
*/
|
|
5609
5641
|
declare class Route extends BasePointPrimitive {
|
|
5610
5642
|
constructor(options: {
|
|
5643
|
+
position?: Cesium.SampledPositionProperty;
|
|
5611
5644
|
attr?: any;
|
|
5612
5645
|
label?: LabelPrimitive.StyleOptions | any;
|
|
5613
5646
|
billboard?: BillboardEntity.StyleOptions | any;
|
|
@@ -5624,6 +5657,9 @@ declare class Route extends BasePointPrimitive {
|
|
|
5624
5657
|
backwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
5625
5658
|
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
5626
5659
|
orientation?: Cesium.Property | any;
|
|
5660
|
+
clampToTileset?: boolean;
|
|
5661
|
+
frameRateHeight?: number;
|
|
5662
|
+
objectsToExclude?: any;
|
|
5627
5663
|
camera?: {
|
|
5628
5664
|
type?: string;
|
|
5629
5665
|
radius?: number;
|
|
@@ -5704,9 +5740,13 @@ declare class Route extends BasePointPrimitive {
|
|
|
5704
5740
|
*/
|
|
5705
5741
|
multiplier: number;
|
|
5706
5742
|
/**
|
|
5707
|
-
* 是否暂停状态
|
|
5743
|
+
* 是否暂停状态 【针对全局时钟的,即 map.clock.shouldAnimate】
|
|
5708
5744
|
*/
|
|
5709
5745
|
isPause: boolean;
|
|
5746
|
+
/**
|
|
5747
|
+
* 贴模型分析时,排除的不进行贴模型计算的模型对象,默认是当前本身,可以是: primitives, entities 等
|
|
5748
|
+
*/
|
|
5749
|
+
objectsToExclude: any | undefined;
|
|
5710
5750
|
/**
|
|
5711
5751
|
* 遍历所有矢量数据并将其作为参数传递给回调函数
|
|
5712
5752
|
* @param method - 回调方法
|
|
@@ -5796,12 +5836,12 @@ declare class Route extends BasePointPrimitive {
|
|
|
5796
5836
|
followedZ?: number;
|
|
5797
5837
|
}): void;
|
|
5798
5838
|
/**
|
|
5799
|
-
* 暂停
|
|
5839
|
+
* 暂停 【针对全局时钟的,即 map.clock.shouldAnimate】
|
|
5800
5840
|
* @returns 无
|
|
5801
5841
|
*/
|
|
5802
5842
|
pause(): void;
|
|
5803
5843
|
/**
|
|
5804
|
-
* 继续
|
|
5844
|
+
* 继续 【针对全局时钟的,即 map.clock.shouldAnimate】
|
|
5805
5845
|
* @returns 无
|
|
5806
5846
|
*/
|
|
5807
5847
|
proceed(): void;
|
|
@@ -5809,6 +5849,17 @@ declare class Route extends BasePointPrimitive {
|
|
|
5809
5849
|
* 动态位置坐标
|
|
5810
5850
|
*/
|
|
5811
5851
|
property: Cesium.SampledPositionProperty | Cesium.CallbackProperty;
|
|
5852
|
+
/**
|
|
5853
|
+
* 异步计算更新坐标高度进行贴地(或贴模型),内部自动调用{@link PointUtil#getSurfaceHeight}方法处理。
|
|
5854
|
+
* @param [options = {}] - 参数对象:
|
|
5855
|
+
* @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
|
|
5856
|
+
* @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
5857
|
+
* @returns 异步计算完成的Promise
|
|
5858
|
+
*/
|
|
5859
|
+
autoSurfaceHeight(options?: {
|
|
5860
|
+
has3dtiles?: boolean;
|
|
5861
|
+
objectsToExclude?: any;
|
|
5862
|
+
}): Promise<any>;
|
|
5812
5863
|
}
|
|
5813
5864
|
|
|
5814
5865
|
declare namespace Tetrahedron {
|
|
@@ -6096,6 +6147,7 @@ declare namespace DivBoderLabel {
|
|
|
6096
6147
|
* @property [timeRender] - 是否实时刷新全部HTML,此时需要绑定html需传入回调方法。
|
|
6097
6148
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
6098
6149
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
6150
|
+
* @property [templateEmptyStr = ""] - 当text存在模版字符串配置时,空值时显示的内容
|
|
6099
6151
|
*/
|
|
6100
6152
|
type StyleOptions = any | {
|
|
6101
6153
|
text: string;
|
|
@@ -6123,6 +6175,7 @@ declare namespace DivBoderLabel {
|
|
|
6123
6175
|
timeRender?: boolean;
|
|
6124
6176
|
setHeight?: number | string;
|
|
6125
6177
|
addHeight?: number | string;
|
|
6178
|
+
templateEmptyStr?: string;
|
|
6126
6179
|
};
|
|
6127
6180
|
}
|
|
6128
6181
|
|
|
@@ -6447,6 +6500,7 @@ declare namespace DivLightPoint {
|
|
|
6447
6500
|
* @property [label] - 文本
|
|
6448
6501
|
* @property [label.text] - 文本内容
|
|
6449
6502
|
* @property [label.color] - 文本颜色
|
|
6503
|
+
* @property [label.templateEmptyStr = ""] - 当text存在模版字符串配置时,空值时显示的内容
|
|
6450
6504
|
* @property [offsetX] - 用于非规则div时,横向偏移的px像素值
|
|
6451
6505
|
* @property [offsetY] - 用于非规则div时,垂直方向偏移的px像素值
|
|
6452
6506
|
* @property [scaleByDistance = false] - 是否按视距缩放
|
|
@@ -6470,6 +6524,7 @@ declare namespace DivLightPoint {
|
|
|
6470
6524
|
label?: {
|
|
6471
6525
|
text?: string;
|
|
6472
6526
|
color?: string;
|
|
6527
|
+
templateEmptyStr?: string;
|
|
6473
6528
|
};
|
|
6474
6529
|
offsetX?: number;
|
|
6475
6530
|
offsetY?: number;
|
|
@@ -9274,6 +9329,7 @@ declare namespace LabelEntity {
|
|
|
9274
9329
|
* @property [translucencyByDistance] - 用于基于与相机的距离设置半透明度。
|
|
9275
9330
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
9276
9331
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
9332
|
+
* @property [templateEmptyStr = ""] - 当text存在模版字符串配置时,空值时显示的内容
|
|
9277
9333
|
*/
|
|
9278
9334
|
type StyleOptions = any | {
|
|
9279
9335
|
text?: string;
|
|
@@ -9317,6 +9373,7 @@ declare namespace LabelEntity {
|
|
|
9317
9373
|
translucencyByDistance?: Cesium.NearFarScalar;
|
|
9318
9374
|
setHeight?: number | string;
|
|
9319
9375
|
addHeight?: number | string;
|
|
9376
|
+
templateEmptyStr?: string;
|
|
9320
9377
|
};
|
|
9321
9378
|
}
|
|
9322
9379
|
|
|
@@ -12763,6 +12820,10 @@ declare class BasePointPrimitive extends BasePrimitive {
|
|
|
12763
12820
|
* 坐标对应的高度值(单位:米)
|
|
12764
12821
|
*/
|
|
12765
12822
|
height: number;
|
|
12823
|
+
/**
|
|
12824
|
+
* 三维空间中的旋转 【仅部分对象支持】
|
|
12825
|
+
*/
|
|
12826
|
+
readonly orientation: Cesium.Quaternion;
|
|
12766
12827
|
/**
|
|
12767
12828
|
* 将图元(所有几何实例)从模型转换为世界坐标的4x4变换矩阵。
|
|
12768
12829
|
* <br/>提示:父类属性,非所有子类都具备
|
|
@@ -23460,7 +23521,7 @@ declare namespace Map {
|
|
|
23460
23521
|
* @property [fullscreenButton = false] - 全屏按钮,是否显示
|
|
23461
23522
|
* @property [fullscreenElement = document.body] - 当按下全屏按钮时,要置于全屏模式的元素或id
|
|
23462
23523
|
* @property [vrButton = false] - VR效果按钮,是否显示
|
|
23463
|
-
* @property [geocoder = false] - 是否显示
|
|
23524
|
+
* @property [geocoder = false] - 是否显示 地名查找按钮 控件,是Cesium原生控件
|
|
23464
23525
|
* @property [navigationHelpButton = false] - 帮助按钮,是否显示
|
|
23465
23526
|
* @property [navigationInstructionsInitiallyVisible = true] - 帮助按钮 在用户明确单击按钮之前是否自动显示
|
|
23466
23527
|
* @property [baseLayerPicker = false] - 是否显示 底图切换 按钮,是Cesium原生控件, 如果true底图是Cesium机制控制,Map内的basemaps相关获取和控制将会无效。
|
|
@@ -23659,6 +23720,7 @@ declare namespace Map {
|
|
|
23659
23720
|
* map.on(mars3d.EventType.click, function (event) {
|
|
23660
23721
|
* console.log('单击了地图对象', event)
|
|
23661
23722
|
* })
|
|
23723
|
+
* @property load - 地图初始化完成事件(地形、所有图层完成初始化)
|
|
23662
23724
|
* @property addLayer - 添加图层
|
|
23663
23725
|
* @property removeLayer - 移除图层
|
|
23664
23726
|
* @property terrainChange - 地形变化
|
|
@@ -23708,6 +23770,7 @@ declare namespace Map {
|
|
|
23708
23770
|
* @property contextMenuClick - 右键菜单 单击某一项后
|
|
23709
23771
|
*/
|
|
23710
23772
|
type EventType = {
|
|
23773
|
+
load: string;
|
|
23711
23774
|
addLayer: string;
|
|
23712
23775
|
removeLayer: string;
|
|
23713
23776
|
terrainChange: string;
|
|
@@ -24127,7 +24190,7 @@ declare class Map extends BaseClass {
|
|
|
24127
24190
|
/**
|
|
24128
24191
|
* 根据指定属性获取控件
|
|
24129
24192
|
* @param attrValue - 属性值
|
|
24130
|
-
* @param [attrName = '
|
|
24193
|
+
* @param [attrName = 'type'] - 属性键
|
|
24131
24194
|
* @returns 控件对象
|
|
24132
24195
|
*/
|
|
24133
24196
|
getControl(attrValue: string | number | boolean, attrName?: string): BaseControl;
|
|
@@ -24147,7 +24210,7 @@ declare class Map extends BaseClass {
|
|
|
24147
24210
|
/**
|
|
24148
24211
|
* 根据指定属性获取Thing对象
|
|
24149
24212
|
* @param key - 属性值(如id、name值)
|
|
24150
|
-
* @param [attrName = '
|
|
24213
|
+
* @param [attrName = 'type'] - 属性名称
|
|
24151
24214
|
* @returns Thing对象
|
|
24152
24215
|
*/
|
|
24153
24216
|
getEffect(key: string | any, attrName?: string): BaseEffect;
|
|
@@ -26391,13 +26454,14 @@ declare class EchartsLayer extends BaseLayer {
|
|
|
26391
26454
|
* @param [options.heatStyle.radius = 25] - 每个数据点将具有的半径(如果未在数据点本身上指定)
|
|
26392
26455
|
* @param [options.heatStyle.gradient] - 色带,表示渐变的对象,示例:{ 0.4: 'blue', 0.6: 'green',0.8: 'yellow',0.9: 'red' }
|
|
26393
26456
|
* @param [options.style] - 矢量对象样式参数,还包括:
|
|
26457
|
+
* @param [options.style.type] - 渲染类型,支持:"image":ImageLayer图片展示, "graphic":普通RectanglePrimitive矢量矩形展示, "arc":曲面RectanglePrimitive矢量矩形展示
|
|
26394
26458
|
* @param [options.style.opacity = 1] - 透明度
|
|
26395
|
-
* @param [options.style.
|
|
26459
|
+
* @param [options.style.height = 0] - 高度,相对于椭球面的高度。
|
|
26460
|
+
* @param [options.style.arc = false] - 是否显示曲面热力图,同 type:"arc"
|
|
26396
26461
|
* @param [options.style.arcRadiusScale = 1.5] - 曲面热力图时,radius扩大比例
|
|
26397
26462
|
* @param [options.style.arcBlurScale = 1.5] - 曲面热力图时,blur扩大比例
|
|
26398
26463
|
* @param [options.style.arcDirection = 1] - 曲面热力图时,凹陷的方向,1向上,-1向下,0双面
|
|
26399
|
-
* @param [options.style.
|
|
26400
|
-
* @param [options.style.diffHeight] - 曲面的起伏差值高,默认根据数据范围的比例自动计算。
|
|
26464
|
+
* @param [options.style.diffHeight] - 曲面热力图时,曲面的起伏差值高,默认根据数据范围的比例自动计算。
|
|
26401
26465
|
* @param [options.style.多个参数] - rectangle矩形支持的样式
|
|
26402
26466
|
* @param [options.maxCanvasSize = 5000] - Canvas最大尺寸(单位:像素),调大精度更高,但过大容易内存溢出
|
|
26403
26467
|
* @param [options.minCanvasSize = 700] - Canvas最小尺寸(单位:像素)
|
|
@@ -26435,12 +26499,13 @@ declare class HeatLayer extends BaseLayer {
|
|
|
26435
26499
|
gradient?: any;
|
|
26436
26500
|
};
|
|
26437
26501
|
style?: {
|
|
26502
|
+
type?: string;
|
|
26438
26503
|
opacity?: number;
|
|
26504
|
+
height?: number;
|
|
26439
26505
|
arc?: boolean;
|
|
26440
26506
|
arcRadiusScale?: number;
|
|
26441
26507
|
arcBlurScale?: number;
|
|
26442
26508
|
arcDirection?: number;
|
|
26443
|
-
height?: number;
|
|
26444
26509
|
diffHeight?: number;
|
|
26445
26510
|
多个参数?: RectanglePrimitive.StyleOptions | any;
|
|
26446
26511
|
};
|
|
@@ -29983,6 +30048,7 @@ declare class Measure extends BaseThing {
|
|
|
29983
30048
|
* @param [options.splitNum = 10] - 插值数,将面分割的网格数
|
|
29984
30049
|
* @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
|
|
29985
30050
|
* @param [options.decimal = 2] - 显示的文本中保留的小数位
|
|
30051
|
+
* @param [options.exact = true] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
|
|
29986
30052
|
* @returns 绘制创建完成的Promise,返回 面积测量控制类 对象
|
|
29987
30053
|
*/
|
|
29988
30054
|
areaSurface(options?: {
|
|
@@ -29991,6 +30057,7 @@ declare class Measure extends BaseThing {
|
|
|
29991
30057
|
splitNum?: number;
|
|
29992
30058
|
has3dtiles?: boolean;
|
|
29993
30059
|
decimal?: number;
|
|
30060
|
+
exact?: boolean;
|
|
29994
30061
|
}): Promise<AreaSurfaceMeasure | any>;
|
|
29995
30062
|
/**
|
|
29996
30063
|
* 体积测量(方量分析)
|
|
@@ -30156,7 +30223,7 @@ declare class Shadows extends BaseThing {
|
|
|
30156
30223
|
*/
|
|
30157
30224
|
time: Date;
|
|
30158
30225
|
/**
|
|
30159
|
-
* 是否在播放
|
|
30226
|
+
* 是否在播放 【针对全局时钟的,即 map.clock.shouldAnimate】
|
|
30160
30227
|
*/
|
|
30161
30228
|
readonly isStart: boolean;
|
|
30162
30229
|
/**
|
|
@@ -30172,17 +30239,17 @@ declare class Shadows extends BaseThing {
|
|
|
30172
30239
|
*/
|
|
30173
30240
|
start(startDate: Date, endDate: Date, currentTime?: Date): void;
|
|
30174
30241
|
/**
|
|
30175
|
-
* 暂停
|
|
30242
|
+
* 暂停 【针对全局时钟的,即 map.clock.shouldAnimate】
|
|
30176
30243
|
* @returns 无
|
|
30177
30244
|
*/
|
|
30178
30245
|
pause(): void;
|
|
30179
30246
|
/**
|
|
30180
|
-
* 继续
|
|
30247
|
+
* 继续 【针对全局时钟的,即 map.clock.shouldAnimate】
|
|
30181
30248
|
* @returns 无
|
|
30182
30249
|
*/
|
|
30183
30250
|
proceed(): void;
|
|
30184
30251
|
/**
|
|
30185
|
-
* 停止
|
|
30252
|
+
* 停止 【针对全局时钟的,即 map.clock.shouldAnimate】
|
|
30186
30253
|
* @returns 无
|
|
30187
30254
|
*/
|
|
30188
30255
|
stop(): void;
|