mars3d 3.7.4 → 3.7.5
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 +56 -2
- package/dist/mars3d.d.ts +257 -29
- package/dist/mars3d.js +3 -3
- package/package.json +1 -1
package/dist/mars3d.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Mars3D三维可视化平台 mars3d
|
|
4
4
|
*
|
|
5
|
-
* 版本信息:v3.7.
|
|
6
|
-
* 编译日期:2024-
|
|
5
|
+
* 版本信息:v3.7.5
|
|
6
|
+
* 编译日期:2024-03-05 18:11:05
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2024-01-15
|
|
9
9
|
*/
|
|
@@ -1889,6 +1889,7 @@ declare class BaseControl extends BaseThing {
|
|
|
1889
1889
|
* 时钟及其动画的管理控制
|
|
1890
1890
|
* @param [options] - 参数对象,包括以下:
|
|
1891
1891
|
* @param [options.format = "yyyy-MM-dd HH:mm:ss"] - 当前时间格式化字符串
|
|
1892
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
1892
1893
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
1893
1894
|
* @param [options.enabled = true] - 对象的启用状态
|
|
1894
1895
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
@@ -1898,6 +1899,7 @@ declare class BaseControl extends BaseThing {
|
|
|
1898
1899
|
declare class ClockAnimate extends BaseControl {
|
|
1899
1900
|
constructor(options?: {
|
|
1900
1901
|
format?: string;
|
|
1902
|
+
className?: string;
|
|
1901
1903
|
id?: string | number;
|
|
1902
1904
|
enabled?: boolean;
|
|
1903
1905
|
parentContainer?: HTMLElement;
|
|
@@ -1910,11 +1912,11 @@ declare class ClockAnimate extends BaseControl {
|
|
|
1910
1912
|
* 导航球控件
|
|
1911
1913
|
* @param [options] - 参数对象,包括以下:
|
|
1912
1914
|
* @param [options.rotation = true] - 是否启用调整俯仰角(按中间区域往四周拖拽)
|
|
1913
|
-
* @param [options.className = 'mars3d-compass'] - 样式名称,可以外部自定义样式。
|
|
1914
1915
|
* @param [options.top] - css定位top位置, 如 top: '10px'
|
|
1915
1916
|
* @param [options.bottom] - css定位bottom位置,支持配置'toolbar'自动跟随cesium-viewer-toolbar
|
|
1916
1917
|
* @param [options.left] - css定位left位置
|
|
1917
1918
|
* @param [options.right] - css定位right位置
|
|
1919
|
+
* @param [options.className = "mars3d-compass"] - 样式名称,可以外部自定义样式。
|
|
1918
1920
|
* @param [options.maxPitch = 0] - 最大俯仰角,度数
|
|
1919
1921
|
* @param [options.minPitch = -90] - 最小俯仰角,度数
|
|
1920
1922
|
* @param [options.outerSvg] - 外部圆环区域的SVG图片
|
|
@@ -1929,11 +1931,11 @@ declare class ClockAnimate extends BaseControl {
|
|
|
1929
1931
|
declare class Compass extends BaseControl {
|
|
1930
1932
|
constructor(options?: {
|
|
1931
1933
|
rotation?: boolean;
|
|
1932
|
-
className?: string;
|
|
1933
1934
|
top?: string;
|
|
1934
1935
|
bottom?: string;
|
|
1935
1936
|
left?: string;
|
|
1936
1937
|
right?: string;
|
|
1938
|
+
className?: string;
|
|
1937
1939
|
maxPitch?: string;
|
|
1938
1940
|
minPitch?: string;
|
|
1939
1941
|
outerSvg?: string;
|
|
@@ -1983,6 +1985,55 @@ declare class Compass extends BaseControl {
|
|
|
1983
1985
|
_removedHook(): void;
|
|
1984
1986
|
}
|
|
1985
1987
|
|
|
1988
|
+
/**
|
|
1989
|
+
* 立方体视图控件
|
|
1990
|
+
* @param [options] - 参数对象,包括以下:
|
|
1991
|
+
* @param [options.rotation = true] - 是否启用调整俯仰角(按中间区域往四周拖拽)
|
|
1992
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
1993
|
+
* @param [options.top] - css定位top位置, 如 top: '10px'
|
|
1994
|
+
* @param [options.bottom] - css定位bottom位置,支持配置'toolbar'自动跟随cesium-viewer-toolbar
|
|
1995
|
+
* @param [options.left] - css定位left位置
|
|
1996
|
+
* @param [options.right] - css定位right位置
|
|
1997
|
+
* @param [options.id = createGuid()] - 对象的id标识
|
|
1998
|
+
* @param [options.enabled = true] - 对象的启用状态
|
|
1999
|
+
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
2000
|
+
* @param [options.insertIndex] - 可以自定义插入到父容器中的index顺序,默认是插入到最后面。
|
|
2001
|
+
* @param [options.insertBefore] - 可以自定义插入到指定兄弟容器的前面,与insertIndex二选一。
|
|
2002
|
+
*/
|
|
2003
|
+
declare class CubeView extends BaseControl {
|
|
2004
|
+
constructor(options?: {
|
|
2005
|
+
rotation?: boolean;
|
|
2006
|
+
className?: string;
|
|
2007
|
+
top?: string;
|
|
2008
|
+
bottom?: string;
|
|
2009
|
+
left?: string;
|
|
2010
|
+
right?: string;
|
|
2011
|
+
id?: string | number;
|
|
2012
|
+
enabled?: boolean;
|
|
2013
|
+
parentContainer?: HTMLElement;
|
|
2014
|
+
insertIndex?: number;
|
|
2015
|
+
insertBefore?: HTMLElement | string;
|
|
2016
|
+
});
|
|
2017
|
+
/**
|
|
2018
|
+
* 对象添加到地图前创建一些对象的钩子方法,
|
|
2019
|
+
* 只会调用一次
|
|
2020
|
+
* @returns 无
|
|
2021
|
+
*/
|
|
2022
|
+
_mountedHook(): void;
|
|
2023
|
+
/**
|
|
2024
|
+
* 对象添加到地图上的创建钩子方法,
|
|
2025
|
+
* 每次add时都会调用
|
|
2026
|
+
* @returns 无
|
|
2027
|
+
*/
|
|
2028
|
+
_addedHook(): void;
|
|
2029
|
+
/**
|
|
2030
|
+
* 对象从地图上移除的创建钩子方法,
|
|
2031
|
+
* 每次remove时都会调用
|
|
2032
|
+
* @returns 无
|
|
2033
|
+
*/
|
|
2034
|
+
_removedHook(): void;
|
|
2035
|
+
}
|
|
2036
|
+
|
|
1986
2037
|
/**
|
|
1987
2038
|
* 时钟仪表控制 控件 (Cesium原生)
|
|
1988
2039
|
* @param [options] - 参数对象,包括以下:
|
|
@@ -2051,6 +2102,7 @@ declare class BaseLayerPicker extends BaseCzmControl {
|
|
|
2051
2102
|
* 全屏按钮 控件 (Cesium原生)
|
|
2052
2103
|
* @param [options] - 参数对象,包括以下:
|
|
2053
2104
|
* @param [options.fullscreenElement = document.body] - 当按下全屏按钮时,要置于全屏模式的元素或id
|
|
2105
|
+
* @param [options.icon] - 按钮图标,可以是:图片url路径、base64字符串、svg字符串、字体图标class名
|
|
2054
2106
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2055
2107
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2056
2108
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
|
|
@@ -2060,6 +2112,7 @@ declare class BaseLayerPicker extends BaseCzmControl {
|
|
|
2060
2112
|
declare class FullscreenButton extends BaseCzmControl {
|
|
2061
2113
|
constructor(options?: {
|
|
2062
2114
|
fullscreenElement?: Element | string;
|
|
2115
|
+
icon?: string;
|
|
2063
2116
|
id?: string | number;
|
|
2064
2117
|
enabled?: boolean;
|
|
2065
2118
|
parentContainer?: HTMLElement;
|
|
@@ -2099,6 +2152,7 @@ declare class Geocoder extends BaseCzmControl {
|
|
|
2099
2152
|
* 全屏按钮 控件 (Cesium原生)
|
|
2100
2153
|
* @param [options] - 参数对象,包括以下:
|
|
2101
2154
|
* @param [options.title = "初始视图"] - 提示信息
|
|
2155
|
+
* @param [options.icon] - 按钮图标,可以是:图片url路径、base64字符串、svg字符串、字体图标class名
|
|
2102
2156
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2103
2157
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2104
2158
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
|
|
@@ -2108,6 +2162,7 @@ declare class Geocoder extends BaseCzmControl {
|
|
|
2108
2162
|
declare class HomeButton extends BaseCzmControl {
|
|
2109
2163
|
constructor(options?: {
|
|
2110
2164
|
title?: string;
|
|
2165
|
+
icon?: string;
|
|
2111
2166
|
id?: string | number;
|
|
2112
2167
|
enabled?: boolean;
|
|
2113
2168
|
parentContainer?: HTMLElement;
|
|
@@ -2123,6 +2178,7 @@ declare class HomeButton extends BaseCzmControl {
|
|
|
2123
2178
|
/**
|
|
2124
2179
|
* 帮助按钮 控件 (Cesium原生)
|
|
2125
2180
|
* @param [options] - 参数对象,包括以下:
|
|
2181
|
+
* @param [options.icon] - 按钮图标,可以是:图片url路径、base64字符串、svg字符串、字体图标class名
|
|
2126
2182
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2127
2183
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2128
2184
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
|
|
@@ -2131,6 +2187,7 @@ declare class HomeButton extends BaseCzmControl {
|
|
|
2131
2187
|
*/
|
|
2132
2188
|
declare class NavigationHelpButton extends BaseCzmControl {
|
|
2133
2189
|
constructor(options?: {
|
|
2190
|
+
icon?: string;
|
|
2134
2191
|
id?: string | number;
|
|
2135
2192
|
enabled?: boolean;
|
|
2136
2193
|
parentContainer?: HTMLElement;
|
|
@@ -2279,6 +2336,7 @@ declare namespace DistanceLegend {
|
|
|
2279
2336
|
* @param [options.bottom] - css定位bottom位置
|
|
2280
2337
|
* @param [options.left] - css定位left位置
|
|
2281
2338
|
* @param [options.right] - css定位right位置
|
|
2339
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2282
2340
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2283
2341
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2284
2342
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
@@ -2291,6 +2349,7 @@ declare class DistanceLegend extends BaseControl {
|
|
|
2291
2349
|
bottom?: string;
|
|
2292
2350
|
left?: string;
|
|
2293
2351
|
right?: string;
|
|
2352
|
+
className?: string;
|
|
2294
2353
|
id?: string | number;
|
|
2295
2354
|
enabled?: boolean;
|
|
2296
2355
|
parentContainer?: HTMLElement;
|
|
@@ -2353,6 +2412,7 @@ declare namespace LocationBar {
|
|
|
2353
2412
|
* @param [options.style.bottom] - css定位bottom位置
|
|
2354
2413
|
* @param [options.style.left] - css定位left位置
|
|
2355
2414
|
* @param [options.style.right] - css定位right位置
|
|
2415
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2356
2416
|
* @param [options.cacheTime = 50] - 鼠标移动的缓存时间
|
|
2357
2417
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2358
2418
|
* @param [options.enabled = true] - 对象的启用状态
|
|
@@ -2372,6 +2432,7 @@ declare class LocationBar extends BaseControl {
|
|
|
2372
2432
|
left?: string;
|
|
2373
2433
|
right?: string;
|
|
2374
2434
|
};
|
|
2435
|
+
className?: string;
|
|
2375
2436
|
cacheTime?: number;
|
|
2376
2437
|
id?: string | number;
|
|
2377
2438
|
enabled?: boolean;
|
|
@@ -2396,7 +2457,7 @@ declare class LocationBar extends BaseControl {
|
|
|
2396
2457
|
* @param [options.effect] - 添加的特效
|
|
2397
2458
|
* @param [options.mouse] - 鼠标操作相关配置参数
|
|
2398
2459
|
* @param [options.terrain] - 地形服务配置
|
|
2399
|
-
* @param [options.className
|
|
2460
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2400
2461
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2401
2462
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2402
2463
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
@@ -2442,6 +2503,7 @@ declare class MapCompare extends BaseControl {
|
|
|
2442
2503
|
* @param [options] - 参数对象,包括以下:
|
|
2443
2504
|
* @param [options.leftLayer] - 左侧区域瓦片图层
|
|
2444
2505
|
* @param [options.rightLayer] - 右侧区域瓦片图层
|
|
2506
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2445
2507
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2446
2508
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2447
2509
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
@@ -2452,6 +2514,7 @@ declare class MapSplit extends BaseControl {
|
|
|
2452
2514
|
constructor(options?: {
|
|
2453
2515
|
leftLayer?: BaseTileLayer | BaseTileLayer[] | any;
|
|
2454
2516
|
rightLayer?: BaseTileLayer | BaseTileLayer[] | any;
|
|
2517
|
+
className?: string;
|
|
2455
2518
|
id?: string | number;
|
|
2456
2519
|
enabled?: boolean;
|
|
2457
2520
|
parentContainer?: HTMLElement;
|
|
@@ -2500,6 +2563,7 @@ declare class MapSplit extends BaseControl {
|
|
|
2500
2563
|
/**
|
|
2501
2564
|
* 鼠标滚轮缩放美化样式(指示图标)控件
|
|
2502
2565
|
* @param [options] - 参数对象,包括以下:
|
|
2566
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2503
2567
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2504
2568
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2505
2569
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
@@ -2508,6 +2572,7 @@ declare class MapSplit extends BaseControl {
|
|
|
2508
2572
|
*/
|
|
2509
2573
|
declare class MouseDownView extends BaseControl {
|
|
2510
2574
|
constructor(options?: {
|
|
2575
|
+
className?: string;
|
|
2511
2576
|
id?: string | number;
|
|
2512
2577
|
enabled?: boolean;
|
|
2513
2578
|
parentContainer?: HTMLElement;
|
|
@@ -2529,6 +2594,7 @@ declare class MouseDownView extends BaseControl {
|
|
|
2529
2594
|
* @param [options.style.bottom] - css定位bottom位置
|
|
2530
2595
|
* @param [options.style.left] - css定位left位置
|
|
2531
2596
|
* @param [options.style.right] - css定位right位置
|
|
2597
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2532
2598
|
* @param [options.flyToOptions] - 小地图的定位参数
|
|
2533
2599
|
* @param [options.flyToOptions.scale = 2] - 缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
2534
2600
|
* @param [options.flyToOptions.duration = 0] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
@@ -2553,6 +2619,7 @@ declare class OverviewMap extends BaseControl {
|
|
|
2553
2619
|
left?: string;
|
|
2554
2620
|
right?: string;
|
|
2555
2621
|
};
|
|
2622
|
+
className?: string;
|
|
2556
2623
|
flyToOptions?: {
|
|
2557
2624
|
scale?: number;
|
|
2558
2625
|
duration?: number;
|
|
@@ -2614,6 +2681,7 @@ declare namespace ToolButton {
|
|
|
2614
2681
|
* @param [options.title = ''] - 按钮标题
|
|
2615
2682
|
* @param [options.icon] - 按钮图标,可以是:图片url路径、base64字符串、svg字符串、字体图标class名
|
|
2616
2683
|
* @param [options.click] - 按钮单击后的回调方法
|
|
2684
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2617
2685
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2618
2686
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2619
2687
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
@@ -2625,6 +2693,7 @@ declare class ToolButton extends BaseControl {
|
|
|
2625
2693
|
title?: string | ((...params: any[]) => any);
|
|
2626
2694
|
icon?: string;
|
|
2627
2695
|
click?: (...params: any[]) => any;
|
|
2696
|
+
className?: string;
|
|
2628
2697
|
id?: string | number;
|
|
2629
2698
|
enabled?: boolean;
|
|
2630
2699
|
parentContainer?: HTMLElement;
|
|
@@ -2643,6 +2712,7 @@ declare class ToolButton extends BaseControl {
|
|
|
2643
2712
|
* @param [options.relativeAmount = 2] - 放大缩小的相对量(调整步长)
|
|
2644
2713
|
* @param [options.zoomOutIcon] - 缩小按钮 图片url路径 或 字体图标class名
|
|
2645
2714
|
* @param [options.zoomInIcon] - 放大按钮 图片url路径 或 字体图标class名
|
|
2715
|
+
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2646
2716
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
2647
2717
|
* @param [options.enabled = true] - 对象的启用状态
|
|
2648
2718
|
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
@@ -2654,6 +2724,7 @@ declare class Zoom extends BaseControl {
|
|
|
2654
2724
|
relativeAmount?: string;
|
|
2655
2725
|
zoomOutIcon?: string;
|
|
2656
2726
|
zoomInIcon?: string;
|
|
2727
|
+
className?: string;
|
|
2657
2728
|
id?: string | number;
|
|
2658
2729
|
enabled?: boolean;
|
|
2659
2730
|
parentContainer?: HTMLElement;
|
|
@@ -2944,6 +3015,7 @@ declare class ColorRamp {
|
|
|
2944
3015
|
* @param [options.sources.positiveZ] - 映射面的图片url
|
|
2945
3016
|
* @param [options.sources.negativeZ] - 映射面的图片url
|
|
2946
3017
|
* @param [options.show = true] - 是否显示
|
|
3018
|
+
* @param [options.maxHeight = 230000] - 最大高度,限定超出该高度不显示近地天空盒
|
|
2947
3019
|
*/
|
|
2948
3020
|
declare class GroundSkyBox extends Cesium.SkyBox {
|
|
2949
3021
|
constructor(options: {
|
|
@@ -2956,6 +3028,7 @@ declare class GroundSkyBox extends Cesium.SkyBox {
|
|
|
2956
3028
|
negativeZ?: string;
|
|
2957
3029
|
};
|
|
2958
3030
|
show?: boolean;
|
|
3031
|
+
maxHeight?: number;
|
|
2959
3032
|
});
|
|
2960
3033
|
}
|
|
2961
3034
|
|
|
@@ -3118,6 +3191,11 @@ declare class LngLatPoint {
|
|
|
3118
3191
|
* @returns 符串,示例 "113.123456,31.123456,30.1"
|
|
3119
3192
|
*/
|
|
3120
3193
|
toString(): string;
|
|
3194
|
+
/**
|
|
3195
|
+
* 转换为普通object对象,便于保存json
|
|
3196
|
+
* @returns 普通object对象
|
|
3197
|
+
*/
|
|
3198
|
+
toObject(): any;
|
|
3121
3199
|
/**
|
|
3122
3200
|
* 转换为笛卡尔坐标
|
|
3123
3201
|
* @param clone - 是否复制
|
|
@@ -3883,6 +3961,7 @@ declare class OutlineEffect extends BaseEffect {
|
|
|
3883
3961
|
* @param [options.size = 20] - 粒子大小
|
|
3884
3962
|
* @param [options.speed = 10] - 速度
|
|
3885
3963
|
* @param [options.direction = -30] - 方向(度),0度垂直向下
|
|
3964
|
+
* @param [options.maxHeight = 9000] - 最大高度,限定超出该高度不显示积雪效果, 传入-1时不限制
|
|
3886
3965
|
*/
|
|
3887
3966
|
declare class RainEffect extends BaseEffect {
|
|
3888
3967
|
constructor(options?: {
|
|
@@ -3890,7 +3969,12 @@ declare class RainEffect extends BaseEffect {
|
|
|
3890
3969
|
size?: number;
|
|
3891
3970
|
speed?: number;
|
|
3892
3971
|
direction?: number;
|
|
3972
|
+
maxHeight?: number;
|
|
3893
3973
|
});
|
|
3974
|
+
/**
|
|
3975
|
+
* 最高限定高度,超出该高度不显示积雪效果
|
|
3976
|
+
*/
|
|
3977
|
+
maxHeight: number;
|
|
3894
3978
|
/**
|
|
3895
3979
|
* 速度
|
|
3896
3980
|
*/
|
|
@@ -3911,7 +3995,7 @@ declare class RainEffect extends BaseEffect {
|
|
|
3911
3995
|
* @param [options.enabled = true] - 对象的启用状态
|
|
3912
3996
|
* @param [options.alpha = 1.0] - 覆盖强度 0-1
|
|
3913
3997
|
* @param [options.layer] - 如果传值3dtiles图层,只对该模型生效
|
|
3914
|
-
* @param [options.maxHeight = 9000] -
|
|
3998
|
+
* @param [options.maxHeight = 9000] - 最大高度,限定超出该高度不显示积雪效果, 传入-1时不限制
|
|
3915
3999
|
*/
|
|
3916
4000
|
declare class SnowCoverEffect extends BaseEffect {
|
|
3917
4001
|
constructor(options?: {
|
|
@@ -3936,7 +4020,7 @@ declare class SnowCoverEffect extends BaseEffect {
|
|
|
3936
4020
|
* @param [options.enabled = true] - 对象的启用状态
|
|
3937
4021
|
* @param [options.speed = 10] - 速度
|
|
3938
4022
|
* @param [options.scale = 10.0] - 粒子大小
|
|
3939
|
-
* @param [options.maxHeight = 9000] -
|
|
4023
|
+
* @param [options.maxHeight = 9000] - 最大高度,限定超出该高度不显示积雪效果, 传入-1时不限制
|
|
3940
4024
|
*/
|
|
3941
4025
|
declare class SnowEffect extends BaseEffect {
|
|
3942
4026
|
constructor(options?: {
|
|
@@ -4604,6 +4688,7 @@ declare class BaseCombine extends BasePrimitive {
|
|
|
4604
4688
|
* @param [options.style] - 所有面的公共样式信息
|
|
4605
4689
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
4606
4690
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
4691
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
4607
4692
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
4608
4693
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
4609
4694
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -4640,6 +4725,7 @@ declare class BasePointCombine extends BasePolyCombine {
|
|
|
4640
4725
|
style?: any;
|
|
4641
4726
|
highlight?: {
|
|
4642
4727
|
type?: string;
|
|
4728
|
+
enabled?: boolean;
|
|
4643
4729
|
};
|
|
4644
4730
|
appearance?: Cesium.Appearance;
|
|
4645
4731
|
attributes?: Cesium.Appearance;
|
|
@@ -4686,6 +4772,7 @@ declare class BasePointCombine extends BasePolyCombine {
|
|
|
4686
4772
|
* @param [options.style] - 所有面的公共样式信息
|
|
4687
4773
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
4688
4774
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
4775
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
4689
4776
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
4690
4777
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
4691
4778
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -4722,6 +4809,7 @@ declare class BasePolyCombine extends BaseCombine {
|
|
|
4722
4809
|
style?: any;
|
|
4723
4810
|
highlight?: {
|
|
4724
4811
|
type?: string;
|
|
4812
|
+
enabled?: boolean;
|
|
4725
4813
|
};
|
|
4726
4814
|
appearance?: Cesium.Appearance;
|
|
4727
4815
|
attributes?: Cesium.Appearance;
|
|
@@ -4796,6 +4884,7 @@ declare class BasePolyCombine extends BaseCombine {
|
|
|
4796
4884
|
* @param [options.style] - 所有面的公共样式信息
|
|
4797
4885
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
4798
4886
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
4887
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
4799
4888
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
4800
4889
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
4801
4890
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -4832,6 +4921,7 @@ declare class BoxCombine extends BasePointCombine {
|
|
|
4832
4921
|
style?: BoxPrimitive.StyleOptions | any;
|
|
4833
4922
|
highlight?: {
|
|
4834
4923
|
type?: string;
|
|
4924
|
+
enabled?: boolean;
|
|
4835
4925
|
};
|
|
4836
4926
|
appearance?: Cesium.Appearance;
|
|
4837
4927
|
attributes?: Cesium.Appearance;
|
|
@@ -4871,6 +4961,7 @@ declare class BoxCombine extends BasePointCombine {
|
|
|
4871
4961
|
* @param [options.style] - 所有面的公共样式信息
|
|
4872
4962
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
4873
4963
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
4964
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
4874
4965
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
4875
4966
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
4876
4967
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -4907,6 +4998,7 @@ declare class CircleCombine extends BasePointCombine {
|
|
|
4907
4998
|
style?: CirclePrimitive.StyleOptions | any;
|
|
4908
4999
|
highlight?: {
|
|
4909
5000
|
type?: string;
|
|
5001
|
+
enabled?: boolean;
|
|
4910
5002
|
};
|
|
4911
5003
|
appearance?: Cesium.Appearance;
|
|
4912
5004
|
attributes?: Cesium.Appearance;
|
|
@@ -4946,6 +5038,7 @@ declare class CircleCombine extends BasePointCombine {
|
|
|
4946
5038
|
* @param [options.style] - 所有线的公共样式信息
|
|
4947
5039
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
4948
5040
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5041
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
4949
5042
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
4950
5043
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
4951
5044
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -4982,6 +5075,7 @@ declare class CorridorCombine extends BasePolyCombine {
|
|
|
4982
5075
|
style?: CorridorPrimitive.StyleOptions | any;
|
|
4983
5076
|
highlight?: {
|
|
4984
5077
|
type?: string;
|
|
5078
|
+
enabled?: boolean;
|
|
4985
5079
|
};
|
|
4986
5080
|
appearance?: Cesium.Appearance;
|
|
4987
5081
|
attributes?: Cesium.Appearance;
|
|
@@ -5021,6 +5115,7 @@ declare class CorridorCombine extends BasePolyCombine {
|
|
|
5021
5115
|
* @param [options.style] - 所有面的公共样式信息
|
|
5022
5116
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5023
5117
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5118
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5024
5119
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5025
5120
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
5026
5121
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -5057,6 +5152,7 @@ declare class CylinderCombine extends BasePointCombine {
|
|
|
5057
5152
|
style?: CylinderPrimitive.StyleOptions | any;
|
|
5058
5153
|
highlight?: {
|
|
5059
5154
|
type?: string;
|
|
5155
|
+
enabled?: boolean;
|
|
5060
5156
|
};
|
|
5061
5157
|
appearance?: Cesium.Appearance;
|
|
5062
5158
|
attributes?: Cesium.Appearance;
|
|
@@ -5096,6 +5192,7 @@ declare class CylinderCombine extends BasePointCombine {
|
|
|
5096
5192
|
* @param [options.style] - 所有面的公共样式信息
|
|
5097
5193
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5098
5194
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5195
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5099
5196
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5100
5197
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
5101
5198
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -5132,6 +5229,7 @@ declare class EllipsoidCombine extends BasePointCombine {
|
|
|
5132
5229
|
style?: EllipsoidPrimitive.StyleOptions | any;
|
|
5133
5230
|
highlight?: {
|
|
5134
5231
|
type?: string;
|
|
5232
|
+
enabled?: boolean;
|
|
5135
5233
|
};
|
|
5136
5234
|
appearance?: Cesium.Appearance;
|
|
5137
5235
|
attributes?: Cesium.Appearance;
|
|
@@ -5250,6 +5348,7 @@ declare class FlatBillboard extends BaseCombine {
|
|
|
5250
5348
|
* @param [options.style] - 所有面的公共样式信息
|
|
5251
5349
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5252
5350
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5351
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5253
5352
|
* @param [options.fixedFrameTransform = Cesium.Transforms.northEastDownToFixedFrame] - 参考系
|
|
5254
5353
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5255
5354
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
@@ -5287,6 +5386,7 @@ declare class FrustumCombine extends BasePointCombine {
|
|
|
5287
5386
|
style?: FrustumPrimitive.StyleOptions | any;
|
|
5288
5387
|
highlight?: {
|
|
5289
5388
|
type?: string;
|
|
5389
|
+
enabled?: boolean;
|
|
5290
5390
|
};
|
|
5291
5391
|
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
5292
5392
|
appearance?: Cesium.Appearance;
|
|
@@ -5327,6 +5427,7 @@ declare class FrustumCombine extends BasePointCombine {
|
|
|
5327
5427
|
* @param [options.style] - 所有面的公共样式信息
|
|
5328
5428
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5329
5429
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5430
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5330
5431
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5331
5432
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
5332
5433
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -5363,6 +5464,7 @@ declare class PlaneCombine extends BasePointCombine {
|
|
|
5363
5464
|
style?: PlanePrimitive.StyleOptions | any;
|
|
5364
5465
|
highlight?: {
|
|
5365
5466
|
type?: string;
|
|
5467
|
+
enabled?: boolean;
|
|
5366
5468
|
};
|
|
5367
5469
|
appearance?: Cesium.Appearance;
|
|
5368
5470
|
attributes?: Cesium.Appearance;
|
|
@@ -5402,6 +5504,7 @@ declare class PlaneCombine extends BasePointCombine {
|
|
|
5402
5504
|
* @param [options.style] - 所有面的公共样式信息, 【仅支持同属性同材质,纯色支持多颜色】
|
|
5403
5505
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5404
5506
|
* // * @param {string} [options.highlight.type] 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5507
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5405
5508
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5406
5509
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
5407
5510
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -5436,7 +5539,9 @@ declare class PolygonCombine extends BasePolyCombine {
|
|
|
5436
5539
|
attr?: any;
|
|
5437
5540
|
}[];
|
|
5438
5541
|
style?: PolygonPrimitive.StyleOptions | any;
|
|
5439
|
-
highlight?:
|
|
5542
|
+
highlight?: {
|
|
5543
|
+
enabled?: boolean;
|
|
5544
|
+
};
|
|
5440
5545
|
appearance?: Cesium.Appearance;
|
|
5441
5546
|
attributes?: Cesium.Appearance;
|
|
5442
5547
|
depthFailAppearance?: Cesium.Appearance;
|
|
@@ -5475,6 +5580,7 @@ declare class PolygonCombine extends BasePolyCombine {
|
|
|
5475
5580
|
* @param [options.style] - 所有线的公共样式信息
|
|
5476
5581
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5477
5582
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5583
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5478
5584
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5479
5585
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
5480
5586
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -5511,6 +5617,7 @@ declare class PolylineCombine extends BasePolyCombine {
|
|
|
5511
5617
|
style?: PolylinePrimitive.StyleOptions | any;
|
|
5512
5618
|
highlight?: {
|
|
5513
5619
|
type?: string;
|
|
5620
|
+
enabled?: boolean;
|
|
5514
5621
|
};
|
|
5515
5622
|
appearance?: Cesium.Appearance;
|
|
5516
5623
|
attributes?: Cesium.Appearance;
|
|
@@ -5550,6 +5657,7 @@ declare class PolylineCombine extends BasePolyCombine {
|
|
|
5550
5657
|
* @param [options.style] - 所有线的公共样式信息
|
|
5551
5658
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5552
5659
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5660
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5553
5661
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5554
5662
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
5555
5663
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -5586,6 +5694,7 @@ declare class PolylineVolumeCombine extends BasePolyCombine {
|
|
|
5586
5694
|
style?: PolylineVolumePrimitive.StyleOptions | any;
|
|
5587
5695
|
highlight?: {
|
|
5588
5696
|
type?: string;
|
|
5697
|
+
enabled?: boolean;
|
|
5589
5698
|
};
|
|
5590
5699
|
appearance?: Cesium.Appearance;
|
|
5591
5700
|
attributes?: Cesium.Appearance;
|
|
@@ -5625,6 +5734,7 @@ declare class PolylineVolumeCombine extends BasePolyCombine {
|
|
|
5625
5734
|
* @param [options.style] - 所有面的公共样式信息
|
|
5626
5735
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5627
5736
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5737
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5628
5738
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5629
5739
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
5630
5740
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -5661,6 +5771,7 @@ declare class RectangleCombine extends BasePolyCombine {
|
|
|
5661
5771
|
style?: RectanglePrimitive.StyleOptions | any;
|
|
5662
5772
|
highlight?: {
|
|
5663
5773
|
type?: string;
|
|
5774
|
+
enabled?: boolean;
|
|
5664
5775
|
};
|
|
5665
5776
|
appearance?: Cesium.Appearance;
|
|
5666
5777
|
attributes?: Cesium.Appearance;
|
|
@@ -5700,6 +5811,7 @@ declare class RectangleCombine extends BasePolyCombine {
|
|
|
5700
5811
|
* @param [options.style] - 所有线的公共样式信息
|
|
5701
5812
|
* @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
|
|
5702
5813
|
* @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
|
|
5814
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
5703
5815
|
* @param [options.appearance] - [cesium原生]用于渲染图元的外观。
|
|
5704
5816
|
* @param [options.attributes] - [cesium原生]每个实例的属性。
|
|
5705
5817
|
* @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
|
|
@@ -5736,6 +5848,7 @@ declare class WallCombine extends BasePolyCombine {
|
|
|
5736
5848
|
style?: WallPrimitive.StyleOptions | any;
|
|
5737
5849
|
highlight?: {
|
|
5738
5850
|
type?: string;
|
|
5851
|
+
enabled?: boolean;
|
|
5739
5852
|
};
|
|
5740
5853
|
appearance?: Cesium.Appearance;
|
|
5741
5854
|
attributes?: Cesium.Appearance;
|
|
@@ -8519,6 +8632,7 @@ declare class BaseEntity extends BaseGraphic {
|
|
|
8519
8632
|
/**
|
|
8520
8633
|
* 单个坐标的点状Entity矢量数据 基类
|
|
8521
8634
|
* @param options - 参数对象,包括以下:
|
|
8635
|
+
* @param [options.position] - 坐标位置
|
|
8522
8636
|
* @param [options.orientation] - 指定实体方向的属性。
|
|
8523
8637
|
* @param options.style - 矢量数据的 样式信息,具体见各类数据的说明
|
|
8524
8638
|
* @param [options.attr] - 矢量数据的 属性信息,可以任意附加属性。
|
|
@@ -8930,6 +9044,8 @@ declare namespace BillboardEntity {
|
|
|
8930
9044
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
8931
9045
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
8932
9046
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
9047
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
9048
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
8933
9049
|
* @property [label] - 支持附带文字的显示
|
|
8934
9050
|
*/
|
|
8935
9051
|
type StyleOptions = any | {
|
|
@@ -8980,6 +9096,7 @@ declare namespace BillboardEntity {
|
|
|
8980
9096
|
/**
|
|
8981
9097
|
* 图标点 Entity对象
|
|
8982
9098
|
* @param options - 参数对象,包括以下:
|
|
9099
|
+
* @param [options.position] - 坐标位置
|
|
8983
9100
|
* @param options.style - 样式信息
|
|
8984
9101
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
8985
9102
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -9112,6 +9229,8 @@ declare namespace BoxEntity {
|
|
|
9112
9229
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9113
9230
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9114
9231
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
9232
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
9233
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
9115
9234
|
* @property [label] - 支持附带文字的显示
|
|
9116
9235
|
*/
|
|
9117
9236
|
type StyleOptions = any | {
|
|
@@ -9150,6 +9269,7 @@ declare namespace BoxEntity {
|
|
|
9150
9269
|
/**
|
|
9151
9270
|
* 盒子 Entity对象
|
|
9152
9271
|
* @param options - 参数对象,包括以下:
|
|
9272
|
+
* @param [options.position] - 坐标位置
|
|
9153
9273
|
* @param options.style - 样式信息
|
|
9154
9274
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
9155
9275
|
* @param [options.orientation] - 实体方向
|
|
@@ -9323,6 +9443,8 @@ declare namespace CanvasLabelEntity {
|
|
|
9323
9443
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9324
9444
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9325
9445
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
9446
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
9447
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
9326
9448
|
*/
|
|
9327
9449
|
type StyleOptions = any | {
|
|
9328
9450
|
text?: string;
|
|
@@ -9373,6 +9495,7 @@ declare namespace CanvasLabelEntity {
|
|
|
9373
9495
|
/**
|
|
9374
9496
|
* Canvas 文本点(label转图片)
|
|
9375
9497
|
* @param options - 参数对象,包括以下:
|
|
9498
|
+
* @param [options.position] - 坐标位置
|
|
9376
9499
|
* @param options.style - 样式信息
|
|
9377
9500
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
9378
9501
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -9461,6 +9584,8 @@ declare namespace CircleEntity {
|
|
|
9461
9584
|
* @property [zIndex] - 图层顺序,数字大的在上面。只对同类型贴地(clampToGround: true) 的部分线面矢量对象间有效 *
|
|
9462
9585
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9463
9586
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
9587
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
9588
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
9464
9589
|
* @property [label] - 支持附带文字的显示
|
|
9465
9590
|
*/
|
|
9466
9591
|
type StyleOptions = any | {
|
|
@@ -9505,6 +9630,7 @@ declare namespace CircleEntity {
|
|
|
9505
9630
|
/**
|
|
9506
9631
|
* 圆、圆柱 Entity对象
|
|
9507
9632
|
* @param options - 参数对象,包括以下:
|
|
9633
|
+
* @param [options.position] - 坐标位置
|
|
9508
9634
|
* @param options.style - 样式信息
|
|
9509
9635
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
9510
9636
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -9710,6 +9836,8 @@ declare namespace ConeTrack {
|
|
|
9710
9836
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9711
9837
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9712
9838
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
9839
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
9840
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
9713
9841
|
* @property [label] - 支持附带文字的显示
|
|
9714
9842
|
*/
|
|
9715
9843
|
type StyleOptions = any | {
|
|
@@ -9747,6 +9875,7 @@ declare namespace ConeTrack {
|
|
|
9747
9875
|
/**
|
|
9748
9876
|
* 圆锥追踪体
|
|
9749
9877
|
* @param options - 参数对象,包括以下:
|
|
9878
|
+
* @param [options.position] - 坐标位置
|
|
9750
9879
|
* @param [options.targetPosition] - 追踪的目标位置
|
|
9751
9880
|
* @param options.style - 样式信息
|
|
9752
9881
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
@@ -9871,6 +10000,8 @@ declare namespace CorridorEntity {
|
|
|
9871
10000
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9872
10001
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
9873
10002
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
10003
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
10004
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
9874
10005
|
* @property [label] - 支持附带文字的显示
|
|
9875
10006
|
*/
|
|
9876
10007
|
type StyleOptions = any | {
|
|
@@ -10083,6 +10214,8 @@ declare namespace CylinderEntity {
|
|
|
10083
10214
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10084
10215
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10085
10216
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
10217
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
10218
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
10086
10219
|
* @property [label] - 支持附带文字的显示
|
|
10087
10220
|
*/
|
|
10088
10221
|
type StyleOptions = any | {
|
|
@@ -10120,6 +10253,7 @@ declare namespace CylinderEntity {
|
|
|
10120
10253
|
/**
|
|
10121
10254
|
* 圆锥 Entity对象
|
|
10122
10255
|
* @param options - 参数对象,包括以下:
|
|
10256
|
+
* @param [options.position] - 坐标位置
|
|
10123
10257
|
* @param options.style - 样式信息
|
|
10124
10258
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
10125
10259
|
* @param [options.orientation] - 实体方向
|
|
@@ -10225,6 +10359,8 @@ declare namespace DivBillboardEntity {
|
|
|
10225
10359
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10226
10360
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10227
10361
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
10362
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
10363
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
10228
10364
|
* @property [label] - 支持附带文字的显示
|
|
10229
10365
|
*/
|
|
10230
10366
|
type StyleOptions = any | {
|
|
@@ -10275,6 +10411,7 @@ declare namespace DivBillboardEntity {
|
|
|
10275
10411
|
* HTML转图片后的 图标点Entity,
|
|
10276
10412
|
* 需要引入html2canvas或domtoimage插件进行DOM转图片
|
|
10277
10413
|
* @param options - 参数对象,包括以下:
|
|
10414
|
+
* @param [options.position] - 坐标位置
|
|
10278
10415
|
* @param options.style - 样式信息
|
|
10279
10416
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
10280
10417
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -10515,6 +10652,8 @@ declare namespace EllipseEntity {
|
|
|
10515
10652
|
* @property [zIndex] - 图层顺序,数字大的在上面。只对同类型贴地(clampToGround: true) 的部分线面矢量对象间有效 *
|
|
10516
10653
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10517
10654
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
10655
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
10656
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
10518
10657
|
* @property [label] - 支持附带文字的显示
|
|
10519
10658
|
*/
|
|
10520
10659
|
type StyleOptions = any | {
|
|
@@ -10559,6 +10698,7 @@ declare namespace EllipseEntity {
|
|
|
10559
10698
|
/**
|
|
10560
10699
|
* 椭圆、椭圆柱 Entity对象
|
|
10561
10700
|
* @param options - 参数对象,包括以下:
|
|
10701
|
+
* @param [options.position] - 坐标位置
|
|
10562
10702
|
* @param options.style - 样式信息
|
|
10563
10703
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
10564
10704
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -10654,6 +10794,8 @@ declare namespace EllipsoidEntity {
|
|
|
10654
10794
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10655
10795
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10656
10796
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
10797
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
10798
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
10657
10799
|
* @property [label] - 支持附带文字的显示
|
|
10658
10800
|
*/
|
|
10659
10801
|
type StyleOptions = any | {
|
|
@@ -10723,6 +10865,7 @@ declare namespace EllipsoidEntity {
|
|
|
10723
10865
|
/**
|
|
10724
10866
|
* 球、半球、椭球 Entity对象
|
|
10725
10867
|
* @param options - 参数对象,包括以下:
|
|
10868
|
+
* @param [options.position] - 坐标位置
|
|
10726
10869
|
* @param options.style - 样式信息
|
|
10727
10870
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
10728
10871
|
* @param [options.orientation] - 实体方向
|
|
@@ -10855,6 +10998,8 @@ declare namespace FontBillboardEntity {
|
|
|
10855
10998
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10856
10999
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
10857
11000
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
11001
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
11002
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
10858
11003
|
* @property [label] - 支持附带文字的显示
|
|
10859
11004
|
*/
|
|
10860
11005
|
type StyleOptions = any | {
|
|
@@ -10907,6 +11052,7 @@ declare namespace FontBillboardEntity {
|
|
|
10907
11052
|
* Font CSS字体点转图片后的图标点 Entity,
|
|
10908
11053
|
* 需要引入html2canvas或domtoimage插件进行DOM转图片
|
|
10909
11054
|
* @param options - 参数对象,包括以下:
|
|
11055
|
+
* @param [options.position] - 坐标位置
|
|
10910
11056
|
* @param options.style - 样式信息
|
|
10911
11057
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
10912
11058
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -11008,6 +11154,8 @@ declare namespace LabelEntity {
|
|
|
11008
11154
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
11009
11155
|
* @property [templateEmptyStr = ""] - 当text存在模版字符串配置时,空值时显示的内容
|
|
11010
11156
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
11157
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
11158
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
11011
11159
|
*/
|
|
11012
11160
|
type StyleOptions = any | {
|
|
11013
11161
|
text?: string;
|
|
@@ -11063,6 +11211,7 @@ declare namespace LabelEntity {
|
|
|
11063
11211
|
/**
|
|
11064
11212
|
* 文字 Entity对象
|
|
11065
11213
|
* @param options - 参数对象,包括以下:
|
|
11214
|
+
* @param [options.position] - 坐标位置
|
|
11066
11215
|
* @param options.style - 样式信息
|
|
11067
11216
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
11068
11217
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -11187,6 +11336,8 @@ declare namespace ModelEntity {
|
|
|
11187
11336
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
11188
11337
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
11189
11338
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
11339
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
11340
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
11190
11341
|
* @property [label] - 支持附带文字的显示
|
|
11191
11342
|
*/
|
|
11192
11343
|
type StyleOptions = any | {
|
|
@@ -11239,6 +11390,7 @@ declare namespace ModelEntity {
|
|
|
11239
11390
|
/**
|
|
11240
11391
|
* gltf小模型 Entity对象
|
|
11241
11392
|
* @param options - 参数对象,包括以下:
|
|
11393
|
+
* @param [options.position] - 坐标位置
|
|
11242
11394
|
* @param options.style - 样式信息
|
|
11243
11395
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
11244
11396
|
* @param [options.orientation] - 实体方向
|
|
@@ -11485,6 +11637,8 @@ declare namespace PathEntity {
|
|
|
11485
11637
|
* @property [distanceDisplayCondition_far = number.MAX_VALUE] - 最大距离
|
|
11486
11638
|
* @property [distanceDisplayCondition_near = 0] - 最小距离
|
|
11487
11639
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
11640
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
11641
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
11488
11642
|
*/
|
|
11489
11643
|
type StyleOptions = any | {
|
|
11490
11644
|
width?: number;
|
|
@@ -11787,6 +11941,8 @@ declare namespace PlaneEntity {
|
|
|
11787
11941
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
11788
11942
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
11789
11943
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
11944
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
11945
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
11790
11946
|
* @property [label] - 支持附带文字的显示
|
|
11791
11947
|
*/
|
|
11792
11948
|
type StyleOptions = any | {
|
|
@@ -11826,6 +11982,7 @@ declare namespace PlaneEntity {
|
|
|
11826
11982
|
/**
|
|
11827
11983
|
* 平面 Entity对象
|
|
11828
11984
|
* @param options - 参数对象,包括以下:
|
|
11985
|
+
* @param [options.position] - 坐标位置
|
|
11829
11986
|
* @param options.style - 样式信息
|
|
11830
11987
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
11831
11988
|
* @param [options.orientation] - 实体方向
|
|
@@ -11913,6 +12070,8 @@ declare namespace PointEntity {
|
|
|
11913
12070
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
11914
12071
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
11915
12072
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
12073
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
12074
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
11916
12075
|
* @property [label] - 支持附带文字的显示
|
|
11917
12076
|
*/
|
|
11918
12077
|
type StyleOptions = any | {
|
|
@@ -11946,6 +12105,7 @@ declare namespace PointEntity {
|
|
|
11946
12105
|
/**
|
|
11947
12106
|
* 像素点 Entity对象
|
|
11948
12107
|
* @param options - 参数对象,包括以下:
|
|
12108
|
+
* @param [options.position] - 坐标位置
|
|
11949
12109
|
* @param options.style - 样式信息
|
|
11950
12110
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
11951
12111
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -12061,6 +12221,8 @@ declare namespace PolygonEntity {
|
|
|
12061
12221
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
12062
12222
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
12063
12223
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
12224
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
12225
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
12064
12226
|
* @property [label] - 支持附带文字的显示,额外支持:<br />
|
|
12065
12227
|
* // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
12066
12228
|
* // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
@@ -12273,6 +12435,8 @@ declare namespace PolylineEntity {
|
|
|
12273
12435
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
12274
12436
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
12275
12437
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
12438
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
12439
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
12276
12440
|
* @property [label] - 支持附带文字的显示,额外支持:<br />
|
|
12277
12441
|
* // * @property {string} [label.text = "文字"] 文本内容,换行可以用换行符'\n'。
|
|
12278
12442
|
* // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
@@ -12419,6 +12583,8 @@ declare namespace PolylineVolumeEntity {
|
|
|
12419
12583
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
12420
12584
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
12421
12585
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
12586
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
12587
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
12422
12588
|
* @property [label] - 支持附带文字的显示
|
|
12423
12589
|
*/
|
|
12424
12590
|
type StyleOptions = any | {
|
|
@@ -12563,6 +12729,8 @@ declare namespace RectangleEntity {
|
|
|
12563
12729
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
12564
12730
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
12565
12731
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
12732
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
12733
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
12566
12734
|
* @property [label] - 支持附带文字的显示
|
|
12567
12735
|
*/
|
|
12568
12736
|
type StyleOptions = any | {
|
|
@@ -12859,6 +13027,7 @@ declare namespace RectangularSensor {
|
|
|
12859
13027
|
/**
|
|
12860
13028
|
* 相控阵雷达 Entity对象,该对象暂不支持鼠标交互和拾取
|
|
12861
13029
|
* @param options - 参数对象,包括以下:
|
|
13030
|
+
* @param [options.position] - 坐标位置
|
|
12862
13031
|
* @param options.style - 样式信息
|
|
12863
13032
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
12864
13033
|
* @param [options.orientation] - 实体方向
|
|
@@ -13136,6 +13305,8 @@ declare namespace WallEntity {
|
|
|
13136
13305
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
13137
13306
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
13138
13307
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
13308
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
13309
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
13139
13310
|
* @property [label] - 支持附带文字的显示,额外支持:<br />
|
|
13140
13311
|
* // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
13141
13312
|
* // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
@@ -14731,6 +14902,7 @@ declare class HeightTriangleMeasure extends HeightMeasure {
|
|
|
14731
14902
|
* 非直接调用,由 Measure 类统一创建及管理
|
|
14732
14903
|
* @param options - 参数对象,包括以下:
|
|
14733
14904
|
* @param [options.crs = CRS.CGCS2000_GK_Zone_3] - 按指定坐标系显示坐标值,false不显示
|
|
14905
|
+
* @param [options.position] - 坐标位置
|
|
14734
14906
|
* @param options.style - 样式信息
|
|
14735
14907
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
14736
14908
|
* @param [options.availability] - 指定时间范围内显示该对象
|
|
@@ -15690,6 +15862,8 @@ declare namespace BoxPrimitive {
|
|
|
15690
15862
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
15691
15863
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
15692
15864
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
15865
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
15866
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
15693
15867
|
* @property [label] - 支持附带文字的显示
|
|
15694
15868
|
*/
|
|
15695
15869
|
type StyleOptions = any | {
|
|
@@ -15831,6 +16005,8 @@ declare namespace CirclePrimitive {
|
|
|
15831
16005
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
15832
16006
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
15833
16007
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
16008
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
16009
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
15834
16010
|
* @property [label] - 支持附带文字的显示
|
|
15835
16011
|
*/
|
|
15836
16012
|
type StyleOptions = any | {
|
|
@@ -16210,6 +16386,8 @@ declare namespace ConeTrackPrimitive {
|
|
|
16210
16386
|
* @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
|
|
16211
16387
|
* @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
|
|
16212
16388
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
16389
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
16390
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
16213
16391
|
* @property [label] - 支持附带文字的显示
|
|
16214
16392
|
*/
|
|
16215
16393
|
type StyleOptions = any | {
|
|
@@ -16362,6 +16540,8 @@ declare namespace CorridorPrimitive {
|
|
|
16362
16540
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
16363
16541
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
16364
16542
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
16543
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
16544
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
16365
16545
|
* @property [label] - 支持附带文字的显示
|
|
16366
16546
|
*/
|
|
16367
16547
|
type StyleOptions = any | {
|
|
@@ -16496,6 +16676,8 @@ declare namespace CylinderPrimitive {
|
|
|
16496
16676
|
* @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
|
|
16497
16677
|
* @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
|
|
16498
16678
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
16679
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
16680
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
16499
16681
|
* @property [label] - 支持附带文字的显示
|
|
16500
16682
|
*/
|
|
16501
16683
|
type StyleOptions = any | {
|
|
@@ -16942,6 +17124,8 @@ declare namespace EllipsoidPrimitive {
|
|
|
16942
17124
|
* @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
|
|
16943
17125
|
* @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
|
|
16944
17126
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
17127
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
17128
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
16945
17129
|
* @property [label] - 支持附带文字的显示
|
|
16946
17130
|
*/
|
|
16947
17131
|
type StyleOptions = any | {
|
|
@@ -17079,6 +17263,8 @@ declare namespace FrustumPrimitive {
|
|
|
17079
17263
|
* @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
|
|
17080
17264
|
* @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
|
|
17081
17265
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
17266
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
17267
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
17082
17268
|
* @property [label] - 支持附带文字的显示
|
|
17083
17269
|
*/
|
|
17084
17270
|
type StyleOptions = any | {
|
|
@@ -17290,6 +17476,8 @@ declare namespace LightCone {
|
|
|
17290
17476
|
* @property [height = 1000] - 锥体高度,相对于椭球面的高度。(单位:米)
|
|
17291
17477
|
* @property [distanceDisplayCondition] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
|
|
17292
17478
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
17479
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
17480
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
17293
17481
|
*/
|
|
17294
17482
|
type StyleOptions = any | {
|
|
17295
17483
|
color?: string | Cesium.Color;
|
|
@@ -17497,6 +17685,8 @@ declare namespace ModelPrimitive {
|
|
|
17497
17685
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
17498
17686
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
17499
17687
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
17688
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
17689
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
17500
17690
|
* @property [label] - 支持附带文字的显示
|
|
17501
17691
|
*/
|
|
17502
17692
|
type StyleOptions = any | {
|
|
@@ -17819,6 +18009,8 @@ declare namespace PlanePrimitive {
|
|
|
17819
18009
|
* @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
|
|
17820
18010
|
* @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
|
|
17821
18011
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
18012
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
18013
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
17822
18014
|
* @property [label] - 支持附带文字的显示
|
|
17823
18015
|
*/
|
|
17824
18016
|
type StyleOptions = any | {
|
|
@@ -18082,6 +18274,8 @@ declare namespace PolygonPrimitive {
|
|
|
18082
18274
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
18083
18275
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
18084
18276
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
18277
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
18278
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
18085
18279
|
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
18086
18280
|
* // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
18087
18281
|
* // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
@@ -18239,6 +18433,8 @@ declare namespace PolylinePrimitive {
|
|
|
18239
18433
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
18240
18434
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
18241
18435
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
18436
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
18437
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
18242
18438
|
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
18243
18439
|
* // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
18244
18440
|
* // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
@@ -18814,6 +19010,8 @@ declare namespace ScrollWall {
|
|
|
18814
19010
|
* @property [style = 1] - 样式,可选值:1、2
|
|
18815
19011
|
* @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
|
|
18816
19012
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
19013
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
19014
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
18817
19015
|
* @property [label] - 支持附带文字的显示
|
|
18818
19016
|
*/
|
|
18819
19017
|
type StyleOptions = any | {
|
|
@@ -18901,6 +19099,8 @@ declare namespace ThickWall {
|
|
|
18901
19099
|
* @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
|
|
18902
19100
|
* @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
|
|
18903
19101
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
19102
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
19103
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
18904
19104
|
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
18905
19105
|
* // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
18906
19106
|
*/
|
|
@@ -19125,6 +19325,8 @@ declare namespace WallPrimitive {
|
|
|
19125
19325
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
19126
19326
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
19127
19327
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
19328
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
19329
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
19128
19330
|
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
19129
19331
|
* // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
19130
19332
|
* // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
@@ -19267,6 +19469,8 @@ declare namespace Water {
|
|
|
19267
19469
|
* @property [setHeight] - 指定坐标高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
19268
19470
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(对编辑时无效,仅初始化传入有效,常用于图层中配置),也支持字符串模版配置
|
|
19269
19471
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
19472
|
+
* // * @param {string} [highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
19473
|
+
* // * @param {boolean} [highlight.enabled=true] 是否启用
|
|
19270
19474
|
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
19271
19475
|
* // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
19272
19476
|
* // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
@@ -22480,6 +22684,7 @@ declare class LodGraphicLayer extends GraphicLayer {
|
|
|
22480
22684
|
* @param [options.customShader] - 自定义shader效果
|
|
22481
22685
|
* @param [options.highlight] - 高亮及其样式配置
|
|
22482
22686
|
* @param [options.highlight.type] - 鼠标移入高亮 或 单击高亮(type:'click')
|
|
22687
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
22483
22688
|
* @param [options.highlight.all] - 是否整体高亮, true:模型整体全部高亮,false:单个构件高亮
|
|
22484
22689
|
* @param [options.highlight.color = '#FFFF00'] - 颜色,支持rgba字符串
|
|
22485
22690
|
* @param [options.highlight.outlineEffect = false] - 默认为修改矢量对象本身的style高亮,true时采用{@link OutlineEffect}方式高亮。
|
|
@@ -22528,6 +22733,7 @@ declare class OsmBuildingsLayer extends TilesetLayer {
|
|
|
22528
22733
|
customShader?: Cesium.CustomShader;
|
|
22529
22734
|
highlight?: {
|
|
22530
22735
|
type?: string;
|
|
22736
|
+
enabled?: boolean;
|
|
22531
22737
|
all?: boolean;
|
|
22532
22738
|
color?: string | ((...params: any[]) => any);
|
|
22533
22739
|
outlineEffect?: boolean;
|
|
@@ -22652,6 +22858,7 @@ declare namespace TilesetLayer {
|
|
|
22652
22858
|
* @param [options.editUpAxis = Cesium.Axis.Z] - 标识模型的轴方向(建筑物特效、模型压平等功能中使用)
|
|
22653
22859
|
* @param [options.highlight] - 高亮及其样式配置
|
|
22654
22860
|
* @param [options.highlight.type] - 鼠标移入高亮 或 单击高亮(type:'click')
|
|
22861
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
22655
22862
|
* @param [options.highlight.color = '#FFFF00'] - 颜色,支持rgba字符串
|
|
22656
22863
|
* @param [options.highlight.outlineEffect = false] - 默认为修改矢量对象本身的style高亮,true时采用{@link OutlineEffect}方式高亮。
|
|
22657
22864
|
* @param [options.highlight.filter] - 可以设置筛选排除一些构件, 排除的构件在filter方法内返回false
|
|
@@ -22697,7 +22904,7 @@ declare namespace TilesetLayer {
|
|
|
22697
22904
|
* @param [options.imageBasedLighting] - 用于管理基于图像的光源的属性。
|
|
22698
22905
|
* @param [options.luminanceAtZenith = 0.2] - 模型材质亮度,The sun's luminance at the zenith in kilo candela per meter squared to use for this model's procedural environment map.
|
|
22699
22906
|
* @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
|
|
22700
|
-
* @param [options.
|
|
22907
|
+
* @param [options.enableCollision = false] - 是否启用picking碰撞拾取。如果<code> map.scene.screenSpaceCameraController.enableCollisionDetection</code>为true,则相机将被阻止低于模型表面。
|
|
22701
22908
|
* @param [options.enableShowOutline = true] - 是否启用模型的轮廓 {@link https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/CESIUM_primitive_outline|CESIUM_primitive_outline} 扩展. 可以将其设置为false,以避免在加载时对几何图形进行额外处理。如果为false,则会忽略showOutlines和outlineColor选项。
|
|
22702
22909
|
* @param [options.showOutline = true] - 是否显示模型的轮廓 {@link https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/CESIUM_primitive_outline|CESIUM_primitive_outline} 扩展. 当为true时,将显示轮廓。当为false时,不显示轮廓。
|
|
22703
22910
|
* @param [options.outlineColor = Color.BLACK] - 渲染outline轮廓时要使用的颜色。
|
|
@@ -22784,6 +22991,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
22784
22991
|
editUpAxis?: Cesium.Axis;
|
|
22785
22992
|
highlight?: {
|
|
22786
22993
|
type?: string;
|
|
22994
|
+
enabled?: boolean;
|
|
22787
22995
|
color?: string | ((...params: any[]) => any);
|
|
22788
22996
|
outlineEffect?: boolean;
|
|
22789
22997
|
filter?: (...params: any[]) => any;
|
|
@@ -22830,7 +23038,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
22830
23038
|
imageBasedLighting?: Cesium.ImageBasedLighting;
|
|
22831
23039
|
luminanceAtZenith?: number;
|
|
22832
23040
|
backFaceCulling?: boolean;
|
|
22833
|
-
|
|
23041
|
+
enableCollision?: boolean;
|
|
22834
23042
|
enableShowOutline?: boolean;
|
|
22835
23043
|
showOutline?: boolean;
|
|
22836
23044
|
outlineColor?: Cesium.Color;
|
|
@@ -23737,6 +23945,7 @@ declare namespace ArcGisLayer {
|
|
|
23737
23945
|
* @param [options.hasToGraphic] - 筛选或判断是否解析,单击获取到的数据进行按需筛选解析,大数据解析很卡,可以设定阀值屏蔽大数据,避免卡顿,number类型时代表字符串长度值。
|
|
23738
23946
|
* @param [options.highlight] - 鼠标单击高亮显示对应的矢量数据 及其样式,具体见各{@link GraphicType}矢量数据的style参数。
|
|
23739
23947
|
* @param [options.highlight.type] - 构造成的矢量数据类型。
|
|
23948
|
+
* @param [options.highlight.enabled = true] - 是否启用
|
|
23740
23949
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定,支持:'all'、数组、字符串模板
|
|
23741
23950
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数,还包括:
|
|
23742
23951
|
* @param [options.popupOptions.title] - 固定的标题名称
|
|
@@ -23812,6 +24021,7 @@ declare class ArcGisLayer extends BaseTileLayer {
|
|
|
23812
24021
|
hasToGraphic?: number | boolean | ((...params: any[]) => any);
|
|
23813
24022
|
highlight?: {
|
|
23814
24023
|
type?: GraphicType | string;
|
|
24024
|
+
enabled?: boolean;
|
|
23815
24025
|
};
|
|
23816
24026
|
popup?: string | Globe.getTemplateHtml_template[] | ((...params: any[]) => any);
|
|
23817
24027
|
popupOptions?: {
|
|
@@ -23910,6 +24120,7 @@ declare class ArcGisLayer extends BaseTileLayer {
|
|
|
23910
24120
|
* @param [options] - 参数对象,包括以下:
|
|
23911
24121
|
* @param options.url - 用于请求瓦片图块的URL模板,比如:"http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineCommunity/MapServer"
|
|
23912
24122
|
* @param [options.subdomains] - URL模板中用于 {s} 占位符的子域。 如果此参数是单个字符串,则字符串中的每个字符都是一个子域。如果是一个数组,数组中的每个元素都是一个子域。
|
|
24123
|
+
* @param [options.token] - 用于通过ArcGIS MapServer服务进行身份验证的ArcGIS令牌。
|
|
23913
24124
|
* @param [options.minimumLevel = 0] - 瓦片所支持的最低层级,如果数据没有第0层,该参数必须配置,当地图小于该级别时,平台不去请求服务数据。
|
|
23914
24125
|
* @param [options.maximumLevel] - 瓦片所支持的最大层级,大于该层级时会显示上一层拉伸后的瓦片,当地图大于该级别时,平台不去请求服务数据。
|
|
23915
24126
|
* @param [options.minimumTerrainLevel] - 展示影像图层的最小地形细节级别,小于该级别时,平台不显示影像数据。
|
|
@@ -23969,6 +24180,7 @@ declare class ArcGisTileLayer extends BaseTileLayer {
|
|
|
23969
24180
|
constructor(options?: {
|
|
23970
24181
|
url: string;
|
|
23971
24182
|
subdomains?: string | string[];
|
|
24183
|
+
token?: string;
|
|
23972
24184
|
minimumLevel?: number;
|
|
23973
24185
|
maximumLevel?: number;
|
|
23974
24186
|
minimumTerrainLevel?: number;
|
|
@@ -27187,7 +27399,7 @@ declare class Map extends BaseClass {
|
|
|
27187
27399
|
*/
|
|
27188
27400
|
readonly effects: any;
|
|
27189
27401
|
/**
|
|
27190
|
-
* 获取地图上已构造的thing
|
|
27402
|
+
* 获取地图上已构造的thing对象
|
|
27191
27403
|
*/
|
|
27192
27404
|
readonly thing: any;
|
|
27193
27405
|
/**
|
|
@@ -28116,9 +28328,15 @@ declare namespace Map {
|
|
|
28116
28328
|
* @property [resolutionScale = 1.0] - 获取或设置渲染分辨率的缩放比例。小于1.0的值可以改善性能不佳的设备上的性能,而值大于1.0则将以更高的速度呈现分辨率,然后缩小比例,从而提高视觉保真度。例如,如果窗口小部件的尺寸为640x480,则将此值设置为0.5将导致场景以320x240渲染,然后在设置时按比例放大设置为2.0将导致场景以1280x960渲染,然后按比例缩小。
|
|
28117
28329
|
*
|
|
28118
28330
|
* 以下是Cesium.Scene对象相关参数
|
|
28331
|
+
* @property [backgroundColor] - 背景色 ,css颜色值
|
|
28332
|
+
* @property [backgroundImage] - 背景图片 ,css属性值(对应的是 map.container.style.backgroundImage 值)
|
|
28333
|
+
* @property [backgroundType] - 当背景色、背景图片、天空盒3个值均存在时,已哪个优先,可选值:color、image、skybox
|
|
28334
|
+
* @property [showSkyBox] - 是否显示默认天空盒,如修改对象可以用 [map.scene.skyBox]{@link http://mars3d.cn/api/cesium/SkyBox.html}
|
|
28335
|
+
* @property [skyBox] - 天空盒对象,不使用默认天空盒时设置。
|
|
28336
|
+
* @property [skyBox.type] - 天空盒类型,可选值:default(内置)、skyBox(普通)、ground、multiple
|
|
28337
|
+
* @property [skyBox.sources] - 天空盒的6个立方体映射面的图片url
|
|
28119
28338
|
* @property [showSun] - 是否显示太阳,如修改对象可以用 [map.scene.sun]{@link http://mars3d.cn/api/cesium/Sun.html}
|
|
28120
28339
|
* @property [showMoon] - 是否显示月亮,如修改对象可以用 [map.scene.moon]{@link http://mars3d.cn/api/cesium/Moon.html}
|
|
28121
|
-
* @property [showSkyBox] - 是否显示天空盒,如修改对象可以用 [map.scene.skyBox]{@link http://mars3d.cn/api/cesium/SkyBox.html}
|
|
28122
28340
|
* @property [showSkyAtmosphere] - 是否显示地球大气层外光圈,如修改对象可以用 [map.scene.skyAtmosphere]{@link http://mars3d.cn/api/cesium/SkyAtmosphere.html}
|
|
28123
28341
|
* @property [fog] - 是否启用雾化效果,如修改对象可以用 [map.scene.fog]{@link http://mars3d.cn/api/cesium/fog.html}
|
|
28124
28342
|
* @property [atmosphere] - 3D贴图和模型用于渲染天空大气、地面大气和雾的常见大气设置。
|
|
@@ -28132,7 +28350,6 @@ declare namespace Map {
|
|
|
28132
28350
|
* @property [atmosphere.dynamicLighting] - When not DynamicAtmosphereLightingType.NONE, the selected light source will
|
|
28133
28351
|
* @property [fxaa] - 是否开启快速抗锯齿
|
|
28134
28352
|
* @property [highDynamicRange] - 是否关闭高动态范围渲染(不关闭时地图会变暗)
|
|
28135
|
-
* @property [backgroundColor] - 空间背景色 ,css颜色值
|
|
28136
28353
|
*
|
|
28137
28354
|
* 以下是Cesium.Viewer所支持的options【控件相关的写在另外的control属性中】
|
|
28138
28355
|
* @property [sceneMode = Cesium.SceneMode.SCENE3D] - 初始场景模式。可以设置进入场景后初始是2D、2.5D、3D 模式。
|
|
@@ -28211,9 +28428,16 @@ declare namespace Map {
|
|
|
28211
28428
|
removeDblClick?: boolean;
|
|
28212
28429
|
ionToken?: string;
|
|
28213
28430
|
resolutionScale?: number;
|
|
28431
|
+
backgroundColor?: string;
|
|
28432
|
+
backgroundImage?: string;
|
|
28433
|
+
backgroundType?: boolean;
|
|
28434
|
+
showSkyBox?: boolean;
|
|
28435
|
+
skyBox?: {
|
|
28436
|
+
type?: string;
|
|
28437
|
+
sources?: any;
|
|
28438
|
+
};
|
|
28214
28439
|
showSun?: boolean;
|
|
28215
28440
|
showMoon?: boolean;
|
|
28216
|
-
showSkyBox?: boolean;
|
|
28217
28441
|
showSkyAtmosphere?: boolean;
|
|
28218
28442
|
fog?: boolean;
|
|
28219
28443
|
atmosphere?: {
|
|
@@ -28228,7 +28452,6 @@ declare namespace Map {
|
|
|
28228
28452
|
};
|
|
28229
28453
|
fxaa?: boolean;
|
|
28230
28454
|
highDynamicRange?: boolean;
|
|
28231
|
-
backgroundColor?: string;
|
|
28232
28455
|
sceneMode?: Cesium.SceneMode;
|
|
28233
28456
|
scene3DOnly?: boolean;
|
|
28234
28457
|
mapProjection?: Cesium.MapProjection | CRS;
|
|
@@ -31669,13 +31892,15 @@ declare namespace Satellite {
|
|
|
31669
31892
|
* @param [options.cone] - 设置是否显示 卫星视椎体 和对应的样式
|
|
31670
31893
|
* @param [options.path] - 设置是否显示 卫星轨迹路线 和对应的样式,属性还包含:<br />
|
|
31671
31894
|
* // * @param {boolean} [options.path.closure=false] 是否闭合轨道圆
|
|
31672
|
-
* @param [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
31673
|
-
* @param [highlight.
|
|
31674
|
-
* @param [highlight.
|
|
31675
|
-
* @param [highlight.
|
|
31676
|
-
* @param [highlight.
|
|
31677
|
-
* @param [highlight.
|
|
31678
|
-
* @param [highlight.
|
|
31895
|
+
* @param [options.highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,提示:原有style的配置项需要与highlightStyle配置有一一对应关系,否则无法清除
|
|
31896
|
+
* // * @param {string} [options.highlight.type] 事件方式,鼠标移入高亮 或 单击高亮(type:'click')
|
|
31897
|
+
* // * @param {boolean} [options.highlight.enabled=true] 是否启用
|
|
31898
|
+
* @param [options.highlight.model] - 设置是否显示 gltf卫星模型 和对应的样式
|
|
31899
|
+
* @param [options.highlight.label] - 设置是否显示 文本 和对应的样式
|
|
31900
|
+
* @param [options.highlight.billboard] - 设置是否显示 图标点 和对应的样式
|
|
31901
|
+
* @param [options.highlight.point] - 设置是否显示 像素点 和对应的样式
|
|
31902
|
+
* @param [options.highlight.cone] - 设置是否显示 卫星视椎体 和对应的样式
|
|
31903
|
+
* @param [options.highlight.path] - 设置是否显示 卫星轨迹路线 和对应的样式
|
|
31679
31904
|
* @param [options.frameRate = 1] - 多少帧获取一次数据。用于控制效率,如果卡顿就把该数值调大一些。
|
|
31680
31905
|
* @param [options.id = createGuid()] - 矢量数据id标识
|
|
31681
31906
|
* @param [options.name = ''] - 矢量数据名称
|
|
@@ -31698,17 +31923,18 @@ declare class Satellite extends Route {
|
|
|
31698
31923
|
point?: PointEntity.StyleOptions | any;
|
|
31699
31924
|
cone?: SatelliteSensor.StyleOptions | any | any;
|
|
31700
31925
|
path?: PolylineEntity.StyleOptions | any;
|
|
31926
|
+
highlight?: {
|
|
31927
|
+
model?: ModelEntity.StyleOptions | any;
|
|
31928
|
+
label?: LabelEntity.StyleOptions | any;
|
|
31929
|
+
billboard?: BillboardEntity.StyleOptions | any;
|
|
31930
|
+
point?: PointEntity.StyleOptions | any;
|
|
31931
|
+
cone?: SatelliteSensor.StyleOptions | any | any;
|
|
31932
|
+
path?: PolylineEntity.StyleOptions | any;
|
|
31933
|
+
};
|
|
31701
31934
|
frameRate?: number;
|
|
31702
31935
|
id?: string | number;
|
|
31703
31936
|
name?: string;
|
|
31704
31937
|
show?: boolean;
|
|
31705
|
-
}, highlight?: {
|
|
31706
|
-
model?: ModelEntity.StyleOptions | any;
|
|
31707
|
-
label?: LabelEntity.StyleOptions | any;
|
|
31708
|
-
billboard?: BillboardEntity.StyleOptions | any;
|
|
31709
|
-
point?: PointEntity.StyleOptions | any;
|
|
31710
|
-
cone?: SatelliteSensor.StyleOptions | any | any;
|
|
31711
|
-
path?: PolylineEntity.StyleOptions | any;
|
|
31712
31938
|
});
|
|
31713
31939
|
/**
|
|
31714
31940
|
* 卫星TLE算法类对象
|
|
@@ -38155,6 +38381,7 @@ declare namespace control {
|
|
|
38155
38381
|
export { Zoom }
|
|
38156
38382
|
export { ToolButton }
|
|
38157
38383
|
export { Compass }
|
|
38384
|
+
export { CubeView }
|
|
38158
38385
|
export { DistanceLegend }
|
|
38159
38386
|
export { MapSplit }
|
|
38160
38387
|
export { MapCompare }
|
|
@@ -38456,6 +38683,7 @@ declare namespace layer {
|
|
|
38456
38683
|
export { BusineDataLayer }
|
|
38457
38684
|
export { TilesetLayer }
|
|
38458
38685
|
export { OsmBuildingsLayer }
|
|
38686
|
+
export { I3SLayer }
|
|
38459
38687
|
export { GraticuleLayer }
|
|
38460
38688
|
export { LodGraphicLayer }
|
|
38461
38689
|
export { GeodePoiLayer }
|