mars3d 3.8.2 → 3.8.3
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 +97 -35
- package/dist/mars3d.js +3 -3
- package/package.json +2 -2
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.8.
|
|
6
|
-
* 编译日期:2024-09-
|
|
5
|
+
* 版本信息:v3.8.3
|
|
6
|
+
* 编译日期:2024-09-25 19:53:35
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2024-08-01
|
|
9
9
|
*/
|
|
@@ -2331,7 +2331,10 @@ declare class FullscreenButton extends BaseCzmControl {
|
|
|
2331
2331
|
/**
|
|
2332
2332
|
* 地名查找按钮 控件 (Cesium原生)
|
|
2333
2333
|
* @param [options] - 参数对象,包括以下:
|
|
2334
|
-
* @param [service = "gaode"] - 服务处理类, string时内置支持: "gaode"高德POI服务,"ion"原生Cesium服务
|
|
2334
|
+
* @param [options.service = "gaode"] - 服务处理类, string时内置支持: "gaode"高德POI服务,"ion"原生Cesium服务
|
|
2335
|
+
* @param [options.key = mars3d.Token.gaodeArr] - "gaode"高德POI服务时,高德KEY,在实际项目中请使用自己申请的高德KEY,因为我们的key不保证长期有效。
|
|
2336
|
+
* @param [options.parameters] - 其他查询参数
|
|
2337
|
+
* @param [options.parameters.types = '110000|120000|130000|140000|180000|190000'] - 检索分类偏好,与text组合进行检索,多个分类以","分隔(POI分类),如果需要严格按分类检索,请通过text参数设置
|
|
2335
2338
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2336
2339
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2337
2340
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
|
|
@@ -2340,12 +2343,17 @@ declare class FullscreenButton extends BaseCzmControl {
|
|
|
2340
2343
|
*/
|
|
2341
2344
|
declare class Geocoder extends BaseCzmControl {
|
|
2342
2345
|
constructor(options?: {
|
|
2346
|
+
service?: string | Cesium.GeocoderService[] | undefined;
|
|
2347
|
+
key?: string | string[];
|
|
2348
|
+
parameters?: {
|
|
2349
|
+
types?: string;
|
|
2350
|
+
};
|
|
2343
2351
|
id?: string | number;
|
|
2344
2352
|
enabled?: boolean;
|
|
2345
2353
|
parentContainer?: HTMLElement;
|
|
2346
2354
|
insertIndex?: number;
|
|
2347
2355
|
insertBefore?: HTMLElement | string;
|
|
2348
|
-
}
|
|
2356
|
+
});
|
|
2349
2357
|
/**
|
|
2350
2358
|
* 父容器DOM对象
|
|
2351
2359
|
*/
|
|
@@ -6304,6 +6312,9 @@ declare namespace ConeVisibility {
|
|
|
6304
6312
|
* @property [roll = 0] - 翻滚角(度数值,0-360度)
|
|
6305
6313
|
* @property [addHeight] - 在坐标点增加的高度值,规避遮挡,效果更友好
|
|
6306
6314
|
* @property [showFrustum = false] - 是否显示视椎体框线
|
|
6315
|
+
* @property [visibleAreaColor = new Cesium.Color(0, 1, 0)] - 可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6316
|
+
* @property [hiddenAreaColor = new Cesium.Color(1, 0, 0)] - 不可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6317
|
+
* @property [opacity = 0.6] - 透明度 0.0 - 1.0,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6307
6318
|
*/
|
|
6308
6319
|
type StyleOptions = any | {
|
|
6309
6320
|
radius?: number;
|
|
@@ -6314,6 +6325,9 @@ declare namespace ConeVisibility {
|
|
|
6314
6325
|
roll?: number;
|
|
6315
6326
|
addHeight?: number;
|
|
6316
6327
|
showFrustum?: boolean;
|
|
6328
|
+
visibleAreaColor?: Cesium.Color | string;
|
|
6329
|
+
hiddenAreaColor?: Cesium.Color | string;
|
|
6330
|
+
opacity?: number;
|
|
6317
6331
|
};
|
|
6318
6332
|
}
|
|
6319
6333
|
|
|
@@ -6786,11 +6800,17 @@ declare namespace PointVisibility {
|
|
|
6786
6800
|
* @property [radius = 1] - 区域半径,单位米
|
|
6787
6801
|
* @property [addHeight] - 在坐标点增加的高度值,规避遮挡,效果更友好
|
|
6788
6802
|
* @property [showFrustum = false] - 是否显示视椎体框线
|
|
6803
|
+
* @property [visibleAreaColor = new Cesium.Color(0, 1, 0)] - 可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6804
|
+
* @property [hiddenAreaColor = new Cesium.Color(1, 0, 0)] - 不可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6805
|
+
* @property [opacity = 0.6] - 透明度 0.0 - 1.0,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6789
6806
|
*/
|
|
6790
6807
|
type StyleOptions = any | {
|
|
6791
6808
|
radius?: number;
|
|
6792
6809
|
addHeight?: number;
|
|
6793
6810
|
showFrustum?: boolean;
|
|
6811
|
+
visibleAreaColor?: Cesium.Color | string;
|
|
6812
|
+
hiddenAreaColor?: Cesium.Color | string;
|
|
6813
|
+
opacity?: number;
|
|
6794
6814
|
};
|
|
6795
6815
|
}
|
|
6796
6816
|
|
|
@@ -6820,9 +6840,17 @@ declare class PointVisibility extends BasePointPrimitive {
|
|
|
6820
6840
|
eventParent?: BaseClass | boolean;
|
|
6821
6841
|
});
|
|
6822
6842
|
/**
|
|
6823
|
-
* 混合系数0-1
|
|
6843
|
+
* 混合系数0-1,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6824
6844
|
*/
|
|
6825
6845
|
opacity: number;
|
|
6846
|
+
/**
|
|
6847
|
+
* 可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6848
|
+
*/
|
|
6849
|
+
visibleAreaColor: Cesium.Color;
|
|
6850
|
+
/**
|
|
6851
|
+
* 不可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
|
|
6852
|
+
*/
|
|
6853
|
+
hiddenAreaColor: Cesium.Color;
|
|
6826
6854
|
/**
|
|
6827
6855
|
* 场景的ShadowMap阴影图
|
|
6828
6856
|
*/
|
|
@@ -9915,7 +9943,7 @@ declare namespace CircleEntity {
|
|
|
9915
9943
|
* @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
|
|
9916
9944
|
* @property [distanceDisplayCondition_far = number.MAX_VALUE] - 最大距离
|
|
9917
9945
|
* @property [distanceDisplayCondition_near = 0] - 最小距离
|
|
9918
|
-
* @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] -
|
|
9946
|
+
* @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离,可以控制圆的平滑度(值越小越平滑)。
|
|
9919
9947
|
* @property [numberOfVerticalLines = 16] - 指定沿轮廓的周长绘制的垂直线的数量。
|
|
9920
9948
|
* @property [hasShadows = false] - 是否投射阴影
|
|
9921
9949
|
* @property [shadows = Cesium.ShadowMode.DISABLED] - 指定椭圆是投射还是接收来自光源的阴影。
|
|
@@ -10987,7 +11015,7 @@ declare namespace EllipseEntity {
|
|
|
10987
11015
|
* @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
|
|
10988
11016
|
* @property [distanceDisplayCondition_far = number.MAX_VALUE] - 最大距离
|
|
10989
11017
|
* @property [distanceDisplayCondition_near = 0] - 最小距离
|
|
10990
|
-
* @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] -
|
|
11018
|
+
* @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离,可以控制圆的平滑度(值越小越平滑)。
|
|
10991
11019
|
* @property [numberOfVerticalLines = 16] - 指定沿轮廓的周长绘制的垂直线的数量。
|
|
10992
11020
|
* @property [hasShadows = false] - 是否投射阴影
|
|
10993
11021
|
* @property [shadows = Cesium.ShadowMode.DISABLED] - 指定椭圆是投射还是接收来自光源的阴影。
|
|
@@ -11191,22 +11219,19 @@ declare namespace EllipsoidEntity {
|
|
|
11191
11219
|
label?: LabelEntity.StyleOptions | any;
|
|
11192
11220
|
};
|
|
11193
11221
|
/**
|
|
11194
|
-
*
|
|
11195
|
-
* @property
|
|
11196
|
-
* @property [
|
|
11197
|
-
* @property [
|
|
11198
|
-
* @property [
|
|
11199
|
-
* @property [
|
|
11200
|
-
* @property [planeOptions.style] - 样式信息
|
|
11222
|
+
* 扫描面构造参数
|
|
11223
|
+
* @property [type = 'heading'] - 扫描旋转的方向,可选值:'heading','pitch','roll'
|
|
11224
|
+
* @property [step = 0.5] - 旋转的步长(角度),控制速度
|
|
11225
|
+
* @property [min] - 旋转的最小值(角度)
|
|
11226
|
+
* @property [max] - 旋转的最大值(角度)
|
|
11227
|
+
* @property [style] - 样式信息
|
|
11201
11228
|
*/
|
|
11202
11229
|
type ScanPlaneOptions = {
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11207
|
-
|
|
11208
|
-
style?: EllipsoidEntity.StyleOptions | any;
|
|
11209
|
-
};
|
|
11230
|
+
type?: string;
|
|
11231
|
+
step?: number;
|
|
11232
|
+
min?: number;
|
|
11233
|
+
max?: number;
|
|
11234
|
+
style?: EllipsoidEntity.StyleOptions | any;
|
|
11210
11235
|
};
|
|
11211
11236
|
}
|
|
11212
11237
|
|
|
@@ -13129,6 +13154,7 @@ declare namespace RectangleEntity {
|
|
|
13129
13154
|
* @param options - 参数对象,包括以下:
|
|
13130
13155
|
* @param [options.positions] - 坐标位置
|
|
13131
13156
|
* @param [options.rectangle] - 矩形范围,与positions二选一。
|
|
13157
|
+
* @param [options.coordinates] - rectangle的别名
|
|
13132
13158
|
* @param options.style - 样式信息
|
|
13133
13159
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
13134
13160
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -13162,6 +13188,7 @@ declare class RectangleEntity extends BasePolyEntity {
|
|
|
13162
13188
|
constructor(options: {
|
|
13163
13189
|
positions?: LngLatPoint[] | Cesium.Cartesian3[] | any[] | Cesium.PositionProperty | Cesium.CallbackProperty;
|
|
13164
13190
|
rectangle?: Cesium.Rectangle | Cesium.PositionProperty | Cesium.CallbackProperty;
|
|
13191
|
+
coordinates?: Cesium.Rectangle | Cesium.PositionProperty | Cesium.CallbackProperty;
|
|
13165
13192
|
style: RectangleEntity.StyleOptions | any;
|
|
13166
13193
|
attr?: any | BaseGraphic.AjaxAttr;
|
|
13167
13194
|
availability?: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any;
|
|
@@ -14972,6 +14999,9 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
|
|
|
14972
14999
|
* @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
|
|
14973
15000
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
14974
15001
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
15002
|
+
* @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatDistance}可选值:auto、m、km、wm、mile、zhang 等。auto时根据距离值自动选用k或km
|
|
15003
|
+
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
15004
|
+
* @param [options.showAddText = true] - 是否显示每一段的增加部分距离,如(+10.1km)
|
|
14975
15005
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
14976
15006
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
14977
15007
|
* @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
|
|
@@ -15006,6 +15036,9 @@ declare class DistanceMeasure extends PolylineEntity {
|
|
|
15006
15036
|
viewFrom?: Cesium.Property;
|
|
15007
15037
|
parent?: Cesium.Entity;
|
|
15008
15038
|
onBeforeCreate?: (...params: any[]) => any;
|
|
15039
|
+
unit?: string;
|
|
15040
|
+
addHeight?: number;
|
|
15041
|
+
showAddText?: boolean;
|
|
15009
15042
|
minPointNum?: number;
|
|
15010
15043
|
maxPointNum?: number;
|
|
15011
15044
|
updateDrawPosition?: (...params: any[]) => any;
|
|
@@ -16559,7 +16592,7 @@ declare namespace CirclePrimitive {
|
|
|
16559
16592
|
* @property [extrudedHeight] - 指定圆的挤压面相对于椭球面的高度。
|
|
16560
16593
|
* @property [stRotation = 0] - 椭圆纹理的角度(弧度值),正北为0,逆时针旋转
|
|
16561
16594
|
* @property [stRotationDegree = 0] - 椭圆纹理的角度(度数值,0-360度),与stRotation二选一
|
|
16562
|
-
* @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] -
|
|
16595
|
+
* @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离,可以控制圆的平滑度(值越小越平滑)。
|
|
16563
16596
|
* @property [fill = true] - 是否填充
|
|
16564
16597
|
* @property [materialType = "Color"] - 填充材质类型 ,可选项:{@link MaterialType}
|
|
16565
16598
|
* @property [materialOptions] - materialType对应的{@link MaterialType}中材质参数
|
|
@@ -27362,9 +27395,11 @@ declare class WmsLayer extends BaseTileLayer {
|
|
|
27362
27395
|
* @param [options.subdomains] - URL模板中用于 {s} 占位符的子域。 如果此参数是单个字符串,则字符串中的每个字符都是一个子域。如果是 一个数组,数组中的每个元素都是一个子域。
|
|
27363
27396
|
* @param [options.format = 'image/jpeg'] - 要从服务器检索的瓦片图像的MIME类型。
|
|
27364
27397
|
* @param options.layer - WMTS请求的层名。
|
|
27365
|
-
* @param options.style - WMTS请求的样式名称。
|
|
27366
|
-
* @param options.
|
|
27398
|
+
* @param [options.style] - WMTS请求的样式名称。
|
|
27399
|
+
* @param [options.tileMatrixSet] - 用于WMTS请求的TileMatrixSet的标识符。
|
|
27400
|
+
* @param [options.tileMatrixSetID] - 同tileMatrixSet,Cesium原生参数
|
|
27367
27401
|
* @param [options.tileMatrixLabels] - 瓦片矩阵中用于WMTS请求的标识符列表,每个瓦片矩阵级别一个。
|
|
27402
|
+
* @param [options.tileMatrixBefore] - 用于WMTS请求的tilematrix,当tileMatrixLabels是有规律的前缀+层级时,可以用tilematrixBefore配置前缀字符串即可。
|
|
27368
27403
|
* @param [options.clock] - 一个时钟实例,用于确定时间维度的值。指定' times '时需要。
|
|
27369
27404
|
* @param [options.times] - TimeIntervalCollection 的数据属性是一个包含时间动态维度及其值的对象。
|
|
27370
27405
|
* @param [options.getCapabilities = true] - 是否通过服务本身的GetCapabilities来读取一些参数,减少options配置项
|
|
@@ -27435,9 +27470,11 @@ declare class WmtsLayer extends BaseTileLayer {
|
|
|
27435
27470
|
subdomains?: string | string[];
|
|
27436
27471
|
format?: string;
|
|
27437
27472
|
layer: string;
|
|
27438
|
-
style
|
|
27439
|
-
|
|
27473
|
+
style?: string;
|
|
27474
|
+
tileMatrixSet?: string;
|
|
27475
|
+
tileMatrixSetID?: string;
|
|
27440
27476
|
tileMatrixLabels?: string[];
|
|
27477
|
+
tileMatrixBefore?: string;
|
|
27441
27478
|
clock?: Cesium.Clock;
|
|
27442
27479
|
times?: Cesium.TimeIntervalCollection;
|
|
27443
27480
|
getCapabilities?: boolean;
|
|
@@ -29055,7 +29092,8 @@ declare namespace Map {
|
|
|
29055
29092
|
* @property [terrainShadows = Cesium.ShadowMode.RECEIVE_ONLY] - 确定地形是否投射或接收来自光源的阴影。
|
|
29056
29093
|
* @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}.
|
|
29057
29094
|
* @property [maximumRenderTimeChange = 0.0] - 如果requestRenderMode为true,这个值定义了在请求渲染之前允许的模拟时间的最大变化。参见 {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
|
|
29058
|
-
* @property [
|
|
29095
|
+
* @property [blurActiveElementOnCanvasFocus = true] - 控制当用户点击或悬停在Viewer的画布上时,是否将焦点从当前DOM元素中移出。如果设置为true,则会自动将焦点从当前的DOM元素中移开,以便Viewer可以接收键盘事件和鼠标事件。这个属性对于在Web应用程序中使用Viewer时很有用,因为用户可能需要与其他DOM元素进行交互,例如输入文本或单击按钮。如果不把焦点从当前元素移开,用户将不能使用键盘或鼠标来与Viewer进行交互。需要注意的是,默认情况下,此属性被设置为true,因此当用户点击或悬停在Viewer的画布上时,焦点将会自动从当前的DOM元素中移开。如果您想要保留焦点,请将该属性设置为false。
|
|
29096
|
+
* @property [depthPlaneEllipsoidOffset = 0.0] - 可以指定深度测试平面相对于椭球体表面的偏移量。这个属性通常用于解决多个三维模型重叠时出现的Z-fighting问题,即两个或多个物体处于同一深度位置,导致图像闪烁或不清晰。
|
|
29059
29097
|
* @property [msaaSamples = 4] - 如果提供,该值控制多样本抗混叠的速率。典型的多采样率是每像素2、4,有时是8个采样。更高的MSAA采样率可能会影响性能,以换取更好的视觉质量。这个值只适用于支持多样本渲染目标的WebGL2上下文。
|
|
29060
29098
|
*
|
|
29061
29099
|
* 以下是Cesium.Globe对象相关参数
|
|
@@ -29159,6 +29197,7 @@ declare namespace Map {
|
|
|
29159
29197
|
terrainShadows?: Cesium.ShadowMode;
|
|
29160
29198
|
requestRenderMode?: boolean;
|
|
29161
29199
|
maximumRenderTimeChange?: number;
|
|
29200
|
+
blurActiveElementOnCanvasFocus?: boolean;
|
|
29162
29201
|
depthPlaneEllipsoidOffset?: number;
|
|
29163
29202
|
msaaSamples?: number;
|
|
29164
29203
|
globe?: {
|
|
@@ -32277,10 +32316,18 @@ declare class ConicSensor extends BasePointPrimitive {
|
|
|
32277
32316
|
* 俯仰角,上下摇摆的角度,0-360度角度值
|
|
32278
32317
|
*/
|
|
32279
32318
|
pitch: number;
|
|
32319
|
+
/**
|
|
32320
|
+
* 俯仰角,弧度值
|
|
32321
|
+
*/
|
|
32322
|
+
readonly pitchRadians: number;
|
|
32280
32323
|
/**
|
|
32281
32324
|
* 滚转角,左右摆动的角度,0-360度角度值
|
|
32282
32325
|
*/
|
|
32283
32326
|
roll: number;
|
|
32327
|
+
/**
|
|
32328
|
+
* 滚转角,弧度值
|
|
32329
|
+
*/
|
|
32330
|
+
readonly rollRadians: number;
|
|
32284
32331
|
/**
|
|
32285
32332
|
* 是否显示地面投影
|
|
32286
32333
|
*/
|
|
@@ -32654,10 +32701,18 @@ declare class RectSensor extends BasePointPrimitive {
|
|
|
32654
32701
|
* 俯仰角,上下摇摆的角度,0-360度角度值
|
|
32655
32702
|
*/
|
|
32656
32703
|
pitch: number;
|
|
32704
|
+
/**
|
|
32705
|
+
* 俯仰角,弧度值
|
|
32706
|
+
*/
|
|
32707
|
+
readonly pitchRadians: number;
|
|
32657
32708
|
/**
|
|
32658
32709
|
* 滚转角,左右摆动的角度,0-360度角度值
|
|
32659
32710
|
*/
|
|
32660
32711
|
roll: number;
|
|
32712
|
+
/**
|
|
32713
|
+
* 滚转角,弧度值
|
|
32714
|
+
*/
|
|
32715
|
+
readonly rollRadians: number;
|
|
32661
32716
|
/**
|
|
32662
32717
|
* 获取当前转换计算模型矩阵。如果方向或位置未定义,则返回undefined。
|
|
32663
32718
|
*/
|
|
@@ -32917,7 +32972,7 @@ declare namespace SatelliteSensor {
|
|
|
32917
32972
|
*/
|
|
32918
32973
|
declare class SatelliteSensor extends BasePointPrimitive {
|
|
32919
32974
|
constructor(options?: {
|
|
32920
|
-
position?: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
32975
|
+
position?: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[];
|
|
32921
32976
|
orientation?: Cesium.Property | any;
|
|
32922
32977
|
style: SatelliteSensor.StyleOptions | any;
|
|
32923
32978
|
attr?: any;
|
|
@@ -33395,7 +33450,7 @@ declare class WindLayer extends BaseLayer {
|
|
|
33395
33450
|
*/
|
|
33396
33451
|
declare class BaiduPOI {
|
|
33397
33452
|
constructor(options?: {
|
|
33398
|
-
key?: string[];
|
|
33453
|
+
key?: string | string[];
|
|
33399
33454
|
city?: string;
|
|
33400
33455
|
headers?: any;
|
|
33401
33456
|
proxy?: Cesium.DefaultProxy;
|
|
@@ -33571,7 +33626,7 @@ declare class BaiduPOI {
|
|
|
33571
33626
|
*/
|
|
33572
33627
|
declare class GaodePOI {
|
|
33573
33628
|
constructor(options?: {
|
|
33574
|
-
key?: string[];
|
|
33629
|
+
key?: string | string[];
|
|
33575
33630
|
chinaCRS?: ChinaCRS | string;
|
|
33576
33631
|
headers?: any;
|
|
33577
33632
|
proxy?: Cesium.DefaultProxy;
|
|
@@ -33736,7 +33791,7 @@ declare class GaodePOI {
|
|
|
33736
33791
|
*/
|
|
33737
33792
|
declare class GaodeRoute {
|
|
33738
33793
|
constructor(options?: {
|
|
33739
|
-
key?: string[];
|
|
33794
|
+
key?: string | string[];
|
|
33740
33795
|
chinaCRS?: ChinaCRS | string;
|
|
33741
33796
|
headers?: any;
|
|
33742
33797
|
proxy?: Cesium.DefaultProxy;
|
|
@@ -34079,7 +34134,7 @@ declare class QueryGeoServer extends BaseClass {
|
|
|
34079
34134
|
*/
|
|
34080
34135
|
declare class TdtPOI {
|
|
34081
34136
|
constructor(options?: {
|
|
34082
|
-
key?: string[];
|
|
34137
|
+
key?: string | string[];
|
|
34083
34138
|
headers?: any;
|
|
34084
34139
|
proxy?: Cesium.DefaultProxy;
|
|
34085
34140
|
});
|
|
@@ -36148,7 +36203,8 @@ declare class TilesetBoxClip extends BaseThing {
|
|
|
36148
36203
|
* @param options.layer - 需要裁剪的对象(3dtiles图层)
|
|
36149
36204
|
* @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
|
|
36150
36205
|
* @param [options.clipOutSide = false] - 是否外裁剪
|
|
36151
|
-
* @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false:
|
|
36206
|
+
* @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重(模型面积越大越严重)
|
|
36207
|
+
* @param [options.maxCanvasSize = 4096] - 掩膜模式下最大分辨率半径(单位:像素),值过大时会WebGL报错: INVALID_VALUE: texImage2D: no canvas
|
|
36152
36208
|
* @param [options.czm = true] - true:使用cesium原生clippingPolygons接口来操作,false:使用mars3d自定义方式操作
|
|
36153
36209
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
36154
36210
|
* @param [options.enabled = true] - 对象的启用状态
|
|
@@ -36160,6 +36216,7 @@ declare class TilesetClip extends TilesetEditBase {
|
|
|
36160
36216
|
area?: any;
|
|
36161
36217
|
clipOutSide?: boolean;
|
|
36162
36218
|
precise?: boolean;
|
|
36219
|
+
maxCanvasSize?: number;
|
|
36163
36220
|
czm?: boolean;
|
|
36164
36221
|
id?: string | number;
|
|
36165
36222
|
enabled?: boolean;
|
|
@@ -36324,7 +36381,8 @@ declare class TilesetEditBase extends BaseThing {
|
|
|
36324
36381
|
* @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
|
|
36325
36382
|
* @param [options.editHeight] - 模型基准高度(单位:米),基于压平/淹没区域最低点高度的纠偏,也支持定义在模型图层中
|
|
36326
36383
|
* @param [options.raise = true] - 是否开启区域抬高
|
|
36327
|
-
* @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false:
|
|
36384
|
+
* @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重(模型面积越大越严重)
|
|
36385
|
+
* @param [options.maxCanvasSize = 4096] - 掩膜模式下最大分辨率半径(单位:像素)
|
|
36328
36386
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
36329
36387
|
* @param [options.enabled = true] - 对象的启用状态
|
|
36330
36388
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
@@ -36336,6 +36394,7 @@ declare class TilesetFlat extends TilesetEditBase {
|
|
|
36336
36394
|
editHeight?: number;
|
|
36337
36395
|
raise?: boolean;
|
|
36338
36396
|
precise?: boolean;
|
|
36397
|
+
maxCanvasSize?: number;
|
|
36339
36398
|
id?: string | number;
|
|
36340
36399
|
enabled?: boolean;
|
|
36341
36400
|
eventParent?: BaseClass | boolean;
|
|
@@ -36399,7 +36458,8 @@ declare namespace TilesetFlood {
|
|
|
36399
36458
|
* @param [options.color = new Cesium.Color(0.15, 0.7, 0.95, 0.5)] - 淹没颜色
|
|
36400
36459
|
* @param [options.floodAll] - 是否对整个模型进行分析
|
|
36401
36460
|
* @param [options.limitMin = false] - 显示效果中是否不显示最低高度以下的部分颜色
|
|
36402
|
-
* @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false:
|
|
36461
|
+
* @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重(模型面积越大越严重)
|
|
36462
|
+
* @param [options.maxCanvasSize = 4096] - 掩膜模式下最大分辨率半径(单位:像素)
|
|
36403
36463
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
36404
36464
|
* @param [options.enabled = true] - 对象的启用状态
|
|
36405
36465
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
@@ -36415,6 +36475,7 @@ declare class TilesetFlood extends TilesetEditBase {
|
|
|
36415
36475
|
floodAll?: boolean;
|
|
36416
36476
|
limitMin?: boolean;
|
|
36417
36477
|
precise?: boolean;
|
|
36478
|
+
maxCanvasSize?: number;
|
|
36418
36479
|
id?: string | number;
|
|
36419
36480
|
enabled?: boolean;
|
|
36420
36481
|
eventParent?: BaseClass | boolean;
|
|
@@ -39431,6 +39492,7 @@ declare namespace material {
|
|
|
39431
39492
|
export { LineFlowColorMaterialProperty }
|
|
39432
39493
|
export { LineFlowMaterialProperty }
|
|
39433
39494
|
export { LineTrailMaterialProperty }
|
|
39495
|
+
export { LineDashArrowMaterialProperty }
|
|
39434
39496
|
export { NeonLightMaterialProperty }
|
|
39435
39497
|
export { ODLineMaterialProperty }
|
|
39436
39498
|
export { PolyAsphaltMaterialProperty }
|