mars3d 3.4.26 → 3.5.1

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.d.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.4.26
6
- * 编译日期:2023-03-09 16:18:03
5
+ * 版本信息:v3.5.1
6
+ * 编译日期:2023-03-27 17:49:23
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
- * 使用单位:免费公开版 ,2022-06-01
8
+ * 使用单位:免费公开版 ,2023-03-17
9
9
  */
10
10
 
11
11
  import * as Cesium from "mars3d-cesium"
@@ -133,7 +133,6 @@ declare enum EffectType {
133
133
  inverted,
134
134
  mosaic,
135
135
  nightVision,
136
- outline,
137
136
  rain,
138
137
  snow,
139
138
  snowCover
@@ -570,7 +569,6 @@ declare enum GraphicType {
570
569
  polyline,
571
570
  curve,
572
571
  polylineP,
573
- polylineSP,
574
572
  polylineC,
575
573
  polylineVolume,
576
574
  polylineVolumeP,
@@ -1241,6 +1239,17 @@ declare namespace MaterialType {
1241
1239
  * @property [segment = 3.0] - 分段数
1242
1240
  */
1243
1241
  const DigitalFlow: string;
1242
+ /**
1243
+ * 线状: 三条平行虚线
1244
+ * @property [color = Cesium.Color.RED] - 中心线颜色
1245
+ * @property [dashLength = 16.0] - 中心线虚线间隔长度,以像素为单位
1246
+ * @property [widthRatio = 0.1] - 中心线百分比
1247
+ * @property [sidesColor = Cesium.Color.WHITE] - 外侧线颜色
1248
+ * @property [sidesDashLength = 32] - 外侧线长度
1249
+ * @property [sidesWidthRatio = 0.1] - 外侧线百分比
1250
+ * @property [dashPattern = 255.0] - 指定的16位模式
1251
+ */
1252
+ const LineThreeDash: string;
1244
1253
  /**
1245
1254
  * 墙体: 走马灯效果
1246
1255
  * @property [image = Cesium.Material.DefaultImageId] - 背景图片URL
@@ -1266,6 +1275,9 @@ declare namespace MaterialType {
1266
1275
  * @property [opacity = 1.0] - 透明度
1267
1276
  * @property [color = Cesium.Color.WHITE] - 颜色
1268
1277
  * @property [speed = 0] - 不为0时呈现图片滚动效果,数字代表滚动速度
1278
+ * @property [flipx = false] - 是否X方向翻转图片
1279
+ * @property [flipy = false] - 是否Y方向翻转图片
1280
+ * @property [noWhite = true] - 是否不显示白色,true时没有加载完成前的白色闪烁,但也不支持纯白色的图片
1269
1281
  */
1270
1282
  const Image2: string;
1271
1283
  /**
@@ -1809,6 +1821,221 @@ declare class Compass extends BaseControl {
1809
1821
  _removedHook(): void;
1810
1822
  }
1811
1823
 
1824
+ /**
1825
+ * 时钟仪表控制 控件 (Cesium原生)
1826
+ * @param [options] - 参数对象,包括以下:
1827
+ * @param [options.id = createGuid()] - 对象的id标识
1828
+ * @param [options.enabled = true] - 对象的启用状态
1829
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
1830
+ */
1831
+ declare class Animation extends BaseCzmControl {
1832
+ constructor(options?: {
1833
+ id?: string | number;
1834
+ enabled?: boolean;
1835
+ parentContainer?: HTMLElement;
1836
+ });
1837
+ }
1838
+
1839
+ /**
1840
+ * Cesium原生控件封装基类
1841
+ * @param [options] - 参数对象,包括以下:
1842
+ * @param [options.id = createGuid()] - 对象的id标识
1843
+ * @param [options.enabled = true] - 对象的启用状态
1844
+ * @param [options.destroyCzm = false] - remove移除时是否销毁Cesium对象,true时销毁,false时只是DOM隐藏
1845
+ */
1846
+ declare class BaseCzmControl extends BaseControl {
1847
+ constructor(options?: {
1848
+ id?: string | number;
1849
+ enabled?: boolean;
1850
+ destroyCzm?: boolean;
1851
+ });
1852
+ }
1853
+
1854
+ /**
1855
+ * 底图切换 控件 (Cesium原生)
1856
+ * @param [options] - 参数对象,包括以下:
1857
+ * @param [options.id = createGuid()] - 对象的id标识
1858
+ * @param [options.enabled = true] - 对象的启用状态
1859
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
1860
+ */
1861
+ declare class BaseLayerPicker extends BaseCzmControl {
1862
+ constructor(options?: {
1863
+ id?: string | number;
1864
+ enabled?: boolean;
1865
+ parentContainer?: HTMLElement;
1866
+ });
1867
+ /**
1868
+ * 父容器DOM对象
1869
+ */
1870
+ readonly parentContainer: HTMLElement;
1871
+ }
1872
+
1873
+ /**
1874
+ * 全屏按钮 控件 (Cesium原生)
1875
+ * @param [options] - 参数对象,包括以下:
1876
+ * @param [options.id = createGuid()] - 对象的id标识
1877
+ * @param [options.enabled = true] - 对象的启用状态
1878
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
1879
+ */
1880
+ declare class FullscreenButton extends BaseCzmControl {
1881
+ constructor(options?: {
1882
+ id?: string | number;
1883
+ enabled?: boolean;
1884
+ parentContainer?: HTMLElement;
1885
+ });
1886
+ /**
1887
+ * 父容器DOM对象
1888
+ */
1889
+ readonly parentContainer: HTMLElement;
1890
+ }
1891
+
1892
+ /**
1893
+ * 地名查找按钮 控件 (Cesium原生)
1894
+ * @param [options] - 参数对象,包括以下:
1895
+ * @param [options.id = createGuid()] - 对象的id标识
1896
+ * @param [options.enabled = true] - 对象的启用状态
1897
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
1898
+ */
1899
+ declare class Geocoder extends BaseCzmControl {
1900
+ constructor(options?: {
1901
+ id?: string | number;
1902
+ enabled?: boolean;
1903
+ parentContainer?: HTMLElement;
1904
+ });
1905
+ /**
1906
+ * 父容器DOM对象
1907
+ */
1908
+ readonly parentContainer: HTMLElement;
1909
+ }
1910
+
1911
+ /**
1912
+ * 全屏按钮 控件 (Cesium原生)
1913
+ * @param [options] - 参数对象,包括以下:
1914
+ * @param [options.id = createGuid()] - 对象的id标识
1915
+ * @param [options.enabled = true] - 对象的启用状态
1916
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
1917
+ */
1918
+ declare class HomeButton extends BaseCzmControl {
1919
+ constructor(options?: {
1920
+ id?: string | number;
1921
+ enabled?: boolean;
1922
+ parentContainer?: HTMLElement;
1923
+ });
1924
+ /**
1925
+ * 父容器DOM对象
1926
+ */
1927
+ readonly parentContainer: HTMLElement;
1928
+ }
1929
+
1930
+ /**
1931
+ * 帮助按钮 控件 (Cesium原生)
1932
+ * @param [options] - 参数对象,包括以下:
1933
+ * @param [options.id = createGuid()] - 对象的id标识
1934
+ * @param [options.enabled = true] - 对象的启用状态
1935
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
1936
+ */
1937
+ declare class NavigationHelpButton extends BaseCzmControl {
1938
+ constructor(options?: {
1939
+ id?: string | number;
1940
+ enabled?: boolean;
1941
+ parentContainer?: HTMLElement;
1942
+ });
1943
+ /**
1944
+ * 父容器DOM对象
1945
+ */
1946
+ readonly parentContainer: HTMLElement;
1947
+ }
1948
+
1949
+ /**
1950
+ * 投影切换按钮 控件 (Cesium原生)
1951
+ * @param [options] - 参数对象,包括以下:
1952
+ * @param [options.id = createGuid()] - 对象的id标识
1953
+ * @param [options.enabled = true] - 对象的启用状态
1954
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
1955
+ */
1956
+ declare class ProjectionPicker extends BaseCzmControl {
1957
+ constructor(options?: {
1958
+ id?: string | number;
1959
+ enabled?: boolean;
1960
+ parentContainer?: HTMLElement;
1961
+ });
1962
+ /**
1963
+ * 父容器DOM对象
1964
+ */
1965
+ readonly parentContainer: HTMLElement;
1966
+ }
1967
+
1968
+ /**
1969
+ * 二三维切换按钮 控件 (Cesium原生)
1970
+ * @param [options] - 参数对象,包括以下:
1971
+ * @param [options.id = createGuid()] - 对象的id标识
1972
+ * @param [options.enabled = true] - 对象的启用状态
1973
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
1974
+ */
1975
+ declare class SceneModePicker extends BaseCzmControl {
1976
+ constructor(options?: {
1977
+ id?: string | number;
1978
+ enabled?: boolean;
1979
+ parentContainer?: HTMLElement;
1980
+ });
1981
+ /**
1982
+ * 父容器DOM对象
1983
+ */
1984
+ readonly parentContainer: HTMLElement;
1985
+ }
1986
+
1987
+ /**
1988
+ * 时间线 控件 (Cesium原生)
1989
+ * @param [options] - 参数对象,包括以下:
1990
+ * @param [options.maxSpan = 1] - 刻度放大的最大刻度跨度,单位:秒
1991
+ * @param [options.style] - 可以CSS样式,如:
1992
+ * @param [options.style.top] - css定位top位置, 如 top: '10px'
1993
+ * @param [options.style.bottom = 0] - css定位bottom位置
1994
+ * @param [options.style.left = 0] - css定位left位置
1995
+ * @param [options.style.right = 0] - css定位right位置
1996
+ * @param [options.id = createGuid()] - 对象的id标识
1997
+ * @param [options.enabled = true] - 对象的启用状态
1998
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
1999
+ */
2000
+ declare class Timeline extends BaseCzmControl {
2001
+ constructor(options?: {
2002
+ maxSpan?: number;
2003
+ style?: {
2004
+ top?: string;
2005
+ bottom?: string;
2006
+ left?: string;
2007
+ right?: string;
2008
+ };
2009
+ id?: string | number;
2010
+ enabled?: boolean;
2011
+ parentContainer?: HTMLElement;
2012
+ });
2013
+ /**
2014
+ * @param startTime - 开始时间
2015
+ * @param stopTime - 结束时间
2016
+ */
2017
+ zoomTo(startTime: Cesium.JulianDate, stopTime: Cesium.JulianDate): void;
2018
+ }
2019
+
2020
+ /**
2021
+ * VR效果按钮 控件 (Cesium原生)
2022
+ * @param [options] - 参数对象,包括以下:
2023
+ * @param [options.id = createGuid()] - 对象的id标识
2024
+ * @param [options.enabled = true] - 对象的启用状态
2025
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
2026
+ */
2027
+ declare class VRButton extends BaseCzmControl {
2028
+ constructor(options?: {
2029
+ id?: string | number;
2030
+ enabled?: boolean;
2031
+ parentContainer?: HTMLElement;
2032
+ });
2033
+ /**
2034
+ * 父容器DOM对象
2035
+ */
2036
+ readonly parentContainer: HTMLElement;
2037
+ }
2038
+
1812
2039
  declare namespace DistanceLegend {
1813
2040
  /**
1814
2041
  * 当前类支持的{@link EventType}事件类型
@@ -2081,6 +2308,7 @@ declare class MouseDownView extends BaseControl {
2081
2308
  * @param options.basemap - 瓦片底图图层配置
2082
2309
  * @param [options.layers] - 可以叠加显示的图层配置
2083
2310
  * @param [options.scene] - 鹰眼地图场景参数
2311
+ * @param [options.control] - 鹰眼地图控件参数
2084
2312
  * @param [options.rectangle] - 矩形区域样式信息,不配置时不显示矩形。
2085
2313
  * @param [options.style] - 可以CSS样式,如:
2086
2314
  * @param [options.style.top] - css定位top位置, 如 top: '10px'
@@ -2100,9 +2328,10 @@ declare class MouseDownView extends BaseControl {
2100
2328
  */
2101
2329
  declare class OverviewMap extends BaseControl {
2102
2330
  constructor(options?: {
2103
- basemap: Map.basemapOptions;
2104
- layers?: Map.layerOptions[];
2331
+ basemap: Map.basemapOptions | any;
2332
+ layers?: Map.layerOptions[] | any[];
2105
2333
  scene?: Map.sceneOptions;
2334
+ control?: Map.controlOptions;
2106
2335
  rectangle?: RectangleEntity.StyleOptions | any;
2107
2336
  style?: {
2108
2337
  top?: string;
@@ -2126,6 +2355,10 @@ declare class OverviewMap extends BaseControl {
2126
2355
  * 鹰眼小地图对象
2127
2356
  */
2128
2357
  smallMap: Map;
2358
+ /**
2359
+ * 中心点坐标 (笛卡尔坐标)
2360
+ */
2361
+ readonly center: Cesium.Cartesian3;
2129
2362
  /**
2130
2363
  * 对象添加到地图前创建一些对象的钩子方法,
2131
2364
  * 只会调用一次
@@ -2146,43 +2379,6 @@ declare class OverviewMap extends BaseControl {
2146
2379
  _removedHook(): void;
2147
2380
  }
2148
2381
 
2149
- /**
2150
- * 时间线 控件
2151
- * @param [options] - 参数对象,包括以下:
2152
- * @param [options.maxSpan = 1] - 刻度放大的最大刻度跨度,单位:秒
2153
- * @param [options.style] - 可以CSS样式,如:
2154
- * @param [options.style.top] - css定位top位置, 如 top: '10px'
2155
- * @param [options.style.bottom = 0] - css定位bottom位置
2156
- * @param [options.style.left = 0] - css定位left位置
2157
- * @param [options.style.right = 0] - css定位right位置
2158
- * @param [options.id = createGuid()] - 对象的id标识
2159
- * @param [options.enabled = true] - 对象的启用状态
2160
- * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
2161
- * @param [options.insertIndex] - 可以自定义插入到父容器中的index顺序,默认是插入到最后面。
2162
- * @param [options.insertBefore] - 可以自定义插入到指定兄弟容器的前面,与insertIndex二选一。
2163
- */
2164
- declare class Timeline extends BaseControl {
2165
- constructor(options?: {
2166
- maxSpan?: number;
2167
- style?: {
2168
- top?: string;
2169
- bottom?: string;
2170
- left?: string;
2171
- right?: string;
2172
- };
2173
- id?: string | number;
2174
- enabled?: boolean;
2175
- parentContainer?: HTMLElement;
2176
- insertIndex?: number;
2177
- insertBefore?: HTMLElement;
2178
- });
2179
- /**
2180
- * @param startTime - 开始时间
2181
- * @param stopTime - 结束时间
2182
- */
2183
- zoomTo(startTime: Cesium.JulianDate, stopTime: Cesium.JulianDate): void;
2184
- }
2185
-
2186
2382
  declare namespace ToolButton {
2187
2383
  /**
2188
2384
  * 当前类支持的{@link EventType}事件类型
@@ -2258,7 +2454,7 @@ declare class Zoom extends BaseControl {
2258
2454
 
2259
2455
  /**
2260
2456
  * 基础类,SDK中几乎所有类的基类,都是继承该基类的。
2261
- * @param [options] - 参数名称
2457
+ * @param [options] - 参数
2262
2458
  */
2263
2459
  declare class BaseClass {
2264
2460
  constructor(options?: any);
@@ -3062,7 +3258,7 @@ declare class BloomEffect extends BaseEffect {
3062
3258
  * @param [options.color = Cesium.Color.WHITE] - 泛光颜色
3063
3259
  * @param [options.contrast = 128] - 对比度,取值范围[-255.0,255.0]
3064
3260
  * @param [options.brightness = -0.3] - 亮度, 将输入纹理的RGB值转换为色相、饱和度和亮度(HSB),然后将该值添加到亮度中。
3065
- * @param [options.blurSamples = 32] - 模糊样本
3261
+ * @param [options.blurSamples = 32.0] - 模糊样本
3066
3262
  * @param [options.delta = 1.0] - 增量
3067
3263
  * @param [options.sigma = 3.78] - delta和sigma用于计算高斯滤波器的权值。方程是 <code>exp((-0.5 * delta * delta) / (sigma * sigma))</code>。
3068
3264
  * @param [options.stepSize = 5.0] - 步长,是下一个texel的距离
@@ -3347,12 +3543,14 @@ declare class RainEffect extends BaseEffect {
3347
3543
  * @param [options] - 参数对象,包括以下:
3348
3544
  * @param [options.enabled = true] - 对象的启用状态
3349
3545
  * @param [options.alpha = 1.0] - 覆盖强度 0-1
3546
+ * @param [options.layer] - 如果传值3dtiles图层,只对该模型生效
3350
3547
  * @param [options.maxHeight = 9000] - 最大高度,限定超出该高度不显示积雪效果
3351
3548
  */
3352
3549
  declare class SnowCoverEffect extends BaseEffect {
3353
3550
  constructor(options?: {
3354
3551
  enabled?: boolean;
3355
3552
  alpha?: number;
3553
+ layer?: TilesetLayer;
3356
3554
  maxHeight?: number;
3357
3555
  });
3358
3556
  /**
@@ -3509,6 +3707,8 @@ declare namespace BaseGraphic {
3509
3707
  * @param [options.show = true] - 矢量数据是否显示
3510
3708
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡
3511
3709
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
3710
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
3711
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
3512
3712
  */
3513
3713
  declare class BaseGraphic extends BaseClass {
3514
3714
  constructor(options: {
@@ -3526,6 +3726,8 @@ declare class BaseGraphic extends BaseClass {
3526
3726
  show?: boolean;
3527
3727
  eventParent?: BaseClass | boolean;
3528
3728
  allowDrillPick?: boolean | ((...params: any[]) => any);
3729
+ flyTo?: boolean;
3730
+ flyToOptions?: any;
3529
3731
  });
3530
3732
  /**
3531
3733
  * 矢量数据类型
@@ -3991,6 +4193,8 @@ declare class BaseCombine extends BasePrimitive {
3991
4193
  * @param [options.show = true] - 矢量数据是否显示
3992
4194
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
3993
4195
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4196
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4197
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
3994
4198
  */
3995
4199
  declare class BasePointCombine extends BasePolyCombine {
3996
4200
  constructor(options: {
@@ -4025,6 +4229,8 @@ declare class BasePointCombine extends BasePolyCombine {
4025
4229
  show?: boolean;
4026
4230
  eventParent?: BaseClass | boolean;
4027
4231
  allowDrillPick?: boolean | ((...params: any[]) => any);
4232
+ flyTo?: boolean;
4233
+ flyToOptions?: any;
4028
4234
  });
4029
4235
  }
4030
4236
 
@@ -4060,6 +4266,8 @@ declare class BasePointCombine extends BasePolyCombine {
4060
4266
  * @param [options.show = true] - 矢量数据是否显示
4061
4267
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4062
4268
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4269
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4270
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4063
4271
  */
4064
4272
  declare class BasePolyCombine extends BaseCombine {
4065
4273
  constructor(options: {
@@ -4094,6 +4302,8 @@ declare class BasePolyCombine extends BaseCombine {
4094
4302
  show?: boolean;
4095
4303
  eventParent?: BaseClass | boolean;
4096
4304
  allowDrillPick?: boolean | ((...params: any[]) => any);
4305
+ flyTo?: boolean;
4306
+ flyToOptions?: any;
4097
4307
  });
4098
4308
  /**
4099
4309
  * 样式信息
@@ -4146,6 +4356,8 @@ declare class BasePolyCombine extends BaseCombine {
4146
4356
  * @param [options.show = true] - 矢量数据是否显示
4147
4357
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4148
4358
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4359
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4360
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4149
4361
  */
4150
4362
  declare class BoxCombine extends BasePointCombine {
4151
4363
  constructor(options: {
@@ -4180,6 +4392,8 @@ declare class BoxCombine extends BasePointCombine {
4180
4392
  show?: boolean;
4181
4393
  eventParent?: BaseClass | boolean;
4182
4394
  allowDrillPick?: boolean | ((...params: any[]) => any);
4395
+ flyTo?: boolean;
4396
+ flyToOptions?: any;
4183
4397
  });
4184
4398
  }
4185
4399
 
@@ -4215,6 +4429,8 @@ declare class BoxCombine extends BasePointCombine {
4215
4429
  * @param [options.show = true] - 矢量数据是否显示
4216
4430
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4217
4431
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4432
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4433
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4218
4434
  */
4219
4435
  declare class CircleCombine extends BasePointCombine {
4220
4436
  constructor(options: {
@@ -4249,6 +4465,8 @@ declare class CircleCombine extends BasePointCombine {
4249
4465
  show?: boolean;
4250
4466
  eventParent?: BaseClass | boolean;
4251
4467
  allowDrillPick?: boolean | ((...params: any[]) => any);
4468
+ flyTo?: boolean;
4469
+ flyToOptions?: any;
4252
4470
  });
4253
4471
  }
4254
4472
 
@@ -4283,7 +4501,9 @@ declare class CircleCombine extends BasePointCombine {
4283
4501
  * @param [options.name = ''] - 矢量数据名称
4284
4502
  * @param [options.show = true] - 矢量数据是否显示
4285
4503
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4286
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取*
4504
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4505
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4506
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4287
4507
  */
4288
4508
  declare class CorridorCombine extends BasePolyCombine {
4289
4509
  constructor(options: {
@@ -4318,6 +4538,8 @@ declare class CorridorCombine extends BasePolyCombine {
4318
4538
  show?: boolean;
4319
4539
  eventParent?: BaseClass | boolean;
4320
4540
  allowDrillPick?: boolean | ((...params: any[]) => any);
4541
+ flyTo?: boolean;
4542
+ flyToOptions?: any;
4321
4543
  });
4322
4544
  }
4323
4545
 
@@ -4353,6 +4575,8 @@ declare class CorridorCombine extends BasePolyCombine {
4353
4575
  * @param [options.show = true] - 矢量数据是否显示
4354
4576
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4355
4577
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4578
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4579
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4356
4580
  */
4357
4581
  declare class CylinderCombine extends BasePointCombine {
4358
4582
  constructor(options: {
@@ -4387,6 +4611,8 @@ declare class CylinderCombine extends BasePointCombine {
4387
4611
  show?: boolean;
4388
4612
  eventParent?: BaseClass | boolean;
4389
4613
  allowDrillPick?: boolean | ((...params: any[]) => any);
4614
+ flyTo?: boolean;
4615
+ flyToOptions?: any;
4390
4616
  });
4391
4617
  }
4392
4618
 
@@ -4422,6 +4648,8 @@ declare class CylinderCombine extends BasePointCombine {
4422
4648
  * @param [options.show = true] - 矢量数据是否显示
4423
4649
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4424
4650
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4651
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4652
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4425
4653
  */
4426
4654
  declare class EllipsoidCombine extends BasePointCombine {
4427
4655
  constructor(options: {
@@ -4456,6 +4684,8 @@ declare class EllipsoidCombine extends BasePointCombine {
4456
4684
  show?: boolean;
4457
4685
  eventParent?: BaseClass | boolean;
4458
4686
  allowDrillPick?: boolean | ((...params: any[]) => any);
4687
+ flyTo?: boolean;
4688
+ flyToOptions?: any;
4459
4689
  });
4460
4690
  }
4461
4691
 
@@ -4491,6 +4721,8 @@ declare namespace FlatBillboard {
4491
4721
  * @param [options.show = true] - 矢量数据是否显示
4492
4722
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4493
4723
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4724
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4725
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4494
4726
  */
4495
4727
  declare class FlatBillboard extends BaseCombine {
4496
4728
  constructor(options: {
@@ -4508,6 +4740,8 @@ declare class FlatBillboard extends BaseCombine {
4508
4740
  show?: boolean;
4509
4741
  eventParent?: BaseClass | boolean;
4510
4742
  allowDrillPick?: boolean | ((...params: any[]) => any);
4743
+ flyTo?: boolean;
4744
+ flyToOptions?: any;
4511
4745
  });
4512
4746
  /**
4513
4747
  * 指定数据将显示在与摄像机的多大距离
@@ -4564,6 +4798,8 @@ declare class FlatBillboard extends BaseCombine {
4564
4798
  * @param [options.show = true] - 矢量数据是否显示
4565
4799
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4566
4800
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4801
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4802
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4567
4803
  */
4568
4804
  declare class FrustumCombine extends BasePointCombine {
4569
4805
  constructor(options: {
@@ -4598,6 +4834,8 @@ declare class FrustumCombine extends BasePointCombine {
4598
4834
  show?: boolean;
4599
4835
  eventParent?: BaseClass | boolean;
4600
4836
  allowDrillPick?: boolean | ((...params: any[]) => any);
4837
+ flyTo?: boolean;
4838
+ flyToOptions?: any;
4601
4839
  });
4602
4840
  }
4603
4841
 
@@ -4623,7 +4861,8 @@ declare class FrustumCombine extends BasePointCombine {
4623
4861
  * @param [options.lightColor] - 光的颜色当遮光模型。当undefined场景的浅色被使用代替。
4624
4862
  * @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
4625
4863
  * @param [options.debugShowBoundingVolume = false] - 仅供调试。查看模型的包围边界球。
4626
- * @param [options.enableDebugWireframe = false] - 仅供调试。查看模型的三角网线框图。
4864
+ * @param [options.enableDebugWireframe = false] - 仅供调试。是否可以通过debugWireframe来切换查看模型的三角网线框图。
4865
+ * @param [options.debugWireframe = false] - 仅供调试。是否打开模型的三角网线框图。
4627
4866
  *
4628
4867
  * //以下是 模型动画相关
4629
4868
  * @param [options.startTime] - 场景时间开始播放动画。当undefined时,动画从下一帧开始。
@@ -4638,6 +4877,8 @@ declare class FrustumCombine extends BasePointCombine {
4638
4877
  * @param [options.show = true] - 矢量数据是否显示
4639
4878
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4640
4879
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4880
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4881
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4641
4882
  */
4642
4883
  declare class ModelCombine extends BaseCombine {
4643
4884
  constructor(options: {
@@ -4661,6 +4902,7 @@ declare class ModelCombine extends BaseCombine {
4661
4902
  backFaceCulling?: boolean;
4662
4903
  debugShowBoundingVolume?: boolean;
4663
4904
  enableDebugWireframe?: boolean;
4905
+ debugWireframe?: boolean;
4664
4906
  startTime?: Cesium.JulianDate;
4665
4907
  delay?: number;
4666
4908
  stopTime?: Cesium.JulianDate;
@@ -4673,6 +4915,8 @@ declare class ModelCombine extends BaseCombine {
4673
4915
  show?: boolean;
4674
4916
  eventParent?: BaseClass | boolean;
4675
4917
  allowDrillPick?: boolean | ((...params: any[]) => any);
4918
+ flyTo?: boolean;
4919
+ flyToOptions?: any;
4676
4920
  });
4677
4921
  /**
4678
4922
  * 是否可以调整透明度
@@ -4712,6 +4956,8 @@ declare class ModelCombine extends BaseCombine {
4712
4956
  * @param [options.show = true] - 矢量数据是否显示
4713
4957
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4714
4958
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4959
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4960
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4715
4961
  */
4716
4962
  declare class PlaneCombine extends BasePointCombine {
4717
4963
  constructor(options: {
@@ -4746,6 +4992,8 @@ declare class PlaneCombine extends BasePointCombine {
4746
4992
  show?: boolean;
4747
4993
  eventParent?: BaseClass | boolean;
4748
4994
  allowDrillPick?: boolean | ((...params: any[]) => any);
4995
+ flyTo?: boolean;
4996
+ flyToOptions?: any;
4749
4997
  });
4750
4998
  }
4751
4999
 
@@ -4758,7 +5006,7 @@ declare class PlaneCombine extends BasePointCombine {
4758
5006
  * @param [options.instances.attr] - 矢量数据的 属性信息,可以任意附加属性。
4759
5007
  * @param [options.style] - 所有面的公共样式信息
4760
5008
  * @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
4761
- * // * @param {String} [options.highlight.type] 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
5009
+ * // * @param {string} [options.highlight.type] 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
4762
5010
  * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
4763
5011
  * @param [options.attributes] - [cesium原生]每个实例的属性。
4764
5012
  * @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
@@ -4781,8 +5029,10 @@ declare class PlaneCombine extends BasePointCombine {
4781
5029
  * @param [options.show = true] - 矢量数据是否显示
4782
5030
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4783
5031
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
5032
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5033
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。 @extends {BasePolyCombine}
4784
5034
  */
4785
- declare class PolygonCombine extends BasePolyCombine {
5035
+ declare class PolygonCombine {
4786
5036
  constructor(options: {
4787
5037
  instances?: {
4788
5038
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
@@ -4813,6 +5063,8 @@ declare class PolygonCombine extends BasePolyCombine {
4813
5063
  show?: boolean;
4814
5064
  eventParent?: BaseClass | boolean;
4815
5065
  allowDrillPick?: boolean | ((...params: any[]) => any);
5066
+ flyTo?: boolean;
5067
+ flyToOptions?: any;
4816
5068
  });
4817
5069
  }
4818
5070
 
@@ -4847,7 +5099,9 @@ declare class PolygonCombine extends BasePolyCombine {
4847
5099
  * @param [options.name = ''] - 矢量数据名称
4848
5100
  * @param [options.show = true] - 矢量数据是否显示
4849
5101
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4850
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取*
5102
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
5103
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5104
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4851
5105
  */
4852
5106
  declare class PolylineCombine extends BasePolyCombine {
4853
5107
  constructor(options: {
@@ -4882,6 +5136,8 @@ declare class PolylineCombine extends BasePolyCombine {
4882
5136
  show?: boolean;
4883
5137
  eventParent?: BaseClass | boolean;
4884
5138
  allowDrillPick?: boolean | ((...params: any[]) => any);
5139
+ flyTo?: boolean;
5140
+ flyToOptions?: any;
4885
5141
  });
4886
5142
  }
4887
5143
 
@@ -4916,7 +5172,9 @@ declare class PolylineCombine extends BasePolyCombine {
4916
5172
  * @param [options.name = ''] - 矢量数据名称
4917
5173
  * @param [options.show = true] - 矢量数据是否显示
4918
5174
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4919
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取*
5175
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
5176
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5177
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4920
5178
  */
4921
5179
  declare class PolylineVolumeCombine extends BasePolyCombine {
4922
5180
  constructor(options: {
@@ -4951,6 +5209,8 @@ declare class PolylineVolumeCombine extends BasePolyCombine {
4951
5209
  show?: boolean;
4952
5210
  eventParent?: BaseClass | boolean;
4953
5211
  allowDrillPick?: boolean | ((...params: any[]) => any);
5212
+ flyTo?: boolean;
5213
+ flyToOptions?: any;
4954
5214
  });
4955
5215
  }
4956
5216
 
@@ -4986,6 +5246,8 @@ declare class PolylineVolumeCombine extends BasePolyCombine {
4986
5246
  * @param [options.show = true] - 矢量数据是否显示
4987
5247
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4988
5248
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
5249
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5250
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4989
5251
  */
4990
5252
  declare class RectangleCombine extends BasePolyCombine {
4991
5253
  constructor(options: {
@@ -5020,6 +5282,8 @@ declare class RectangleCombine extends BasePolyCombine {
5020
5282
  show?: boolean;
5021
5283
  eventParent?: BaseClass | boolean;
5022
5284
  allowDrillPick?: boolean | ((...params: any[]) => any);
5285
+ flyTo?: boolean;
5286
+ flyToOptions?: any;
5023
5287
  });
5024
5288
  }
5025
5289
 
@@ -5054,7 +5318,9 @@ declare class RectangleCombine extends BasePolyCombine {
5054
5318
  * @param [options.name = ''] - 矢量数据名称
5055
5319
  * @param [options.show = true] - 矢量数据是否显示
5056
5320
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
5057
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取*
5321
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
5322
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5323
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
5058
5324
  */
5059
5325
  declare class WallCombine extends BasePolyCombine {
5060
5326
  constructor(options: {
@@ -5089,6 +5355,8 @@ declare class WallCombine extends BasePolyCombine {
5089
5355
  show?: boolean;
5090
5356
  eventParent?: BaseClass | boolean;
5091
5357
  allowDrillPick?: boolean | ((...params: any[]) => any);
5358
+ flyTo?: boolean;
5359
+ flyToOptions?: any;
5092
5360
  });
5093
5361
  }
5094
5362
 
@@ -5121,7 +5389,9 @@ declare class WallCombine extends BasePolyCombine {
5121
5389
  * @param [options.name = ''] - 矢量数据名称
5122
5390
  * @param [options.show = true] - 矢量数据是否显示
5123
5391
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
5124
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取*
5392
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
5393
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5394
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
5125
5395
  */
5126
5396
  declare class WaterCombine extends PolygonCombine {
5127
5397
  constructor(options: {
@@ -5153,6 +5423,8 @@ declare class WaterCombine extends PolygonCombine {
5153
5423
  show?: boolean;
5154
5424
  eventParent?: BaseClass | boolean;
5155
5425
  allowDrillPick?: boolean | ((...params: any[]) => any);
5426
+ flyTo?: boolean;
5427
+ flyToOptions?: any;
5156
5428
  });
5157
5429
  }
5158
5430
 
@@ -5190,6 +5462,8 @@ declare namespace ArcFrustum {
5190
5462
  * @param [options.name = ''] - 矢量数据名称
5191
5463
  * @param [options.show = true] - 矢量数据是否显示
5192
5464
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
5465
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5466
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
5193
5467
  */
5194
5468
  declare class ArcFrustum extends BasePointPrimitive {
5195
5469
  constructor(options: {
@@ -5201,6 +5475,8 @@ declare class ArcFrustum extends BasePointPrimitive {
5201
5475
  name?: string;
5202
5476
  show?: boolean;
5203
5477
  eventParent?: BaseClass | boolean;
5478
+ flyTo?: boolean;
5479
+ flyToOptions?: any;
5204
5480
  });
5205
5481
  /**
5206
5482
  * 颜色
@@ -5248,7 +5524,7 @@ declare class ArcFrustum extends BasePointPrimitive {
5248
5524
  * @param [options.path] - 使用 path轨迹 对象,及其对应的样式
5249
5525
  * @param [options.polyline] - 使用 polyline路线 对象,及其对应的样式 <br/>
5250
5526
  * // * @param {number} [options.polyline.maxDistance] 设置保留的轨迹长度值(单位:米),不设置时保留所有的轨迹
5251
- * // * @param {Boolean} [options.polyline.showAll] 是否一直显示展示所有坐标
5527
+ * // * @param {boolean} [options.polyline.showAll] 是否一直显示展示所有坐标
5252
5528
  * @param [options.wall] - 使用 墙体 对象,及其对应的样式 <br/>
5253
5529
  * // * @param {number} [options.wall.maxDistance] 设置保留的轨迹长度值(单位:米),不设置时保留所有的轨迹<br/>
5254
5530
  * // * @param {number} [options.wall.surface] 设置墙底部高度是否贴地
@@ -5280,6 +5556,8 @@ declare class ArcFrustum extends BasePointPrimitive {
5280
5556
  * @param [options.show = true] - 矢量数据是否显示
5281
5557
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
5282
5558
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
5559
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5560
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
5283
5561
  */
5284
5562
  declare class FixedRoute extends Route {
5285
5563
  constructor(options: {
@@ -5336,6 +5614,8 @@ declare class FixedRoute extends Route {
5336
5614
  show?: boolean;
5337
5615
  eventParent?: BaseClass | boolean;
5338
5616
  allowDrillPick?: boolean | ((...params: any[]) => any);
5617
+ flyTo?: boolean;
5618
+ flyToOptions?: any;
5339
5619
  });
5340
5620
  /**
5341
5621
  * 开始时间
@@ -5374,7 +5654,7 @@ declare class FixedRoute extends Route {
5374
5654
  /**
5375
5655
  * 计算贴地线
5376
5656
  * @param [options] - 控制参数
5377
- * @param [options.splitNum = 100] - 插值数,等比分割的个数
5657
+ * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
5378
5658
  * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
5379
5659
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
5380
5660
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
@@ -5391,7 +5671,7 @@ declare class FixedRoute extends Route {
5391
5671
  /**
5392
5672
  * 获取剖面数据
5393
5673
  * @param [options] - 控制参数
5394
- * @param [options.splitNum = 100] - 插值数,等比分割的个数
5674
+ * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
5395
5675
  * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
5396
5676
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
5397
5677
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
@@ -5496,6 +5776,8 @@ declare namespace ParticleSystem {
5496
5776
  * @param [options.name = ''] - 矢量数据名称
5497
5777
  * @param [options.show = true] - 矢量数据是否显示
5498
5778
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
5779
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5780
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
5499
5781
  */
5500
5782
  declare class ParticleSystem extends BasePointPrimitive {
5501
5783
  constructor(options: {
@@ -5509,6 +5791,8 @@ declare class ParticleSystem extends BasePointPrimitive {
5509
5791
  name?: string;
5510
5792
  show?: boolean;
5511
5793
  eventParent?: BaseClass | boolean;
5794
+ flyTo?: boolean;
5795
+ flyToOptions?: any;
5512
5796
  });
5513
5797
  /**
5514
5798
  * 最大视角高度(单位:米),超出该高度不显示粒子效果
@@ -5647,6 +5931,8 @@ declare namespace Route {
5647
5931
  * @param [options.show = true] - 矢量数据是否显示
5648
5932
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
5649
5933
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
5934
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
5935
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
5650
5936
  */
5651
5937
  declare class Route extends BasePointPrimitive {
5652
5938
  constructor(options: {
@@ -5693,6 +5979,8 @@ declare class Route extends BasePointPrimitive {
5693
5979
  show?: boolean;
5694
5980
  eventParent?: BaseClass | boolean;
5695
5981
  allowDrillPick?: boolean | ((...params: any[]) => any);
5982
+ flyTo?: boolean;
5983
+ flyToOptions?: any;
5696
5984
  });
5697
5985
  /**
5698
5986
  * 时序动态坐标对象
@@ -5927,6 +6215,8 @@ declare namespace Tetrahedron {
5927
6215
  * @param [options.name = ''] - 矢量数据名称
5928
6216
  * @param [options.show = true] - 矢量数据是否显示
5929
6217
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
6218
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
6219
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
5930
6220
  */
5931
6221
  declare class Tetrahedron extends BasePointPrimitive {
5932
6222
  constructor(options: {
@@ -5938,6 +6228,8 @@ declare class Tetrahedron extends BasePointPrimitive {
5938
6228
  name?: string;
5939
6229
  show?: boolean;
5940
6230
  eventParent?: BaseClass | boolean;
6231
+ flyTo?: boolean;
6232
+ flyToOptions?: any;
5941
6233
  });
5942
6234
  /**
5943
6235
  * 颜色
@@ -5968,6 +6260,8 @@ declare namespace Video3D {
5968
6260
  * @property [pitch = 0] - 俯仰角(度数值,0-360度)
5969
6261
  * @property [roll = 0] - 翻滚角(度数值,0-360度)
5970
6262
  * @property [opacity = 1.0] - 透明度 0.0 - 1.0
6263
+ * @property [flipx = false] - 是否X方向翻转图片
6264
+ * @property [flipy = false] - 是否Y方向翻转图片
5971
6265
  * @property [hiddenAreaColor = new Cesium.Color(0, 0, 0, 0.5)] - 无视频投影区域的颜色
5972
6266
  * @property [showFrustum = false] - 是否显示视椎体框线
5973
6267
  */
@@ -5982,6 +6276,8 @@ declare namespace Video3D {
5982
6276
  pitch?: number;
5983
6277
  roll?: number;
5984
6278
  opacity?: number;
6279
+ flipx?: boolean;
6280
+ flipy?: boolean;
5985
6281
  hiddenAreaColor?: Cesium.Color | string;
5986
6282
  showFrustum?: boolean;
5987
6283
  };
@@ -5998,6 +6294,8 @@ declare namespace Video3D {
5998
6294
  * @param [options.name = ''] - 矢量数据名称
5999
6295
  * @param [options.show = true] - 矢量数据是否显示
6000
6296
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
6297
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
6298
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
6001
6299
  */
6002
6300
  declare class Video3D extends ViewShed {
6003
6301
  constructor(options: {
@@ -6009,6 +6307,8 @@ declare class Video3D extends ViewShed {
6009
6307
  name?: string;
6010
6308
  show?: boolean;
6011
6309
  eventParent?: BaseClass | boolean;
6310
+ flyTo?: boolean;
6311
+ flyToOptions?: any;
6012
6312
  });
6013
6313
  /**
6014
6314
  * 对应的视频DOM元素
@@ -6018,6 +6318,10 @@ declare class Video3D extends ViewShed {
6018
6318
  * 最远投射距离,单位:米
6019
6319
  */
6020
6320
  distance: number;
6321
+ /**
6322
+ * 是否X方向翻转视频
6323
+ */
6324
+ flipx: boolean;
6021
6325
  /**
6022
6326
  * 暂停或播放 视频
6023
6327
  */
@@ -6066,6 +6370,8 @@ declare namespace ViewShed {
6066
6370
  * @param [options.name = ''] - 矢量数据名称
6067
6371
  * @param [options.show = true] - 矢量数据是否显示
6068
6372
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
6373
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
6374
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
6069
6375
  */
6070
6376
  declare class ViewShed extends BasePointPrimitive {
6071
6377
  constructor(options: {
@@ -6078,6 +6384,8 @@ declare class ViewShed extends BasePointPrimitive {
6078
6384
  name?: string;
6079
6385
  show?: boolean;
6080
6386
  eventParent?: BaseClass | boolean;
6387
+ flyTo?: boolean;
6388
+ flyToOptions?: any;
6081
6389
  });
6082
6390
  /**
6083
6391
  * 水平张角,半场角度
@@ -6229,6 +6537,8 @@ declare namespace DivBoderLabel {
6229
6537
  * @param [options.name = ''] - 矢量数据名称
6230
6538
  * @param [options.show = true] - 矢量数据是否显示
6231
6539
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
6540
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
6541
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
6232
6542
  */
6233
6543
  declare class DivBoderLabel extends DivGraphic {
6234
6544
  constructor(options: {
@@ -6251,6 +6561,8 @@ declare class DivBoderLabel extends DivGraphic {
6251
6561
  name?: string;
6252
6562
  show?: boolean;
6253
6563
  eventParent?: BaseClass | boolean;
6564
+ flyTo?: boolean;
6565
+ flyToOptions?: any;
6254
6566
  });
6255
6567
  /**
6256
6568
  * 设置或获取当前对象对应的Html
@@ -6334,6 +6646,8 @@ declare namespace DivGraphic {
6334
6646
  * @param [options.name = ''] - 矢量数据名称
6335
6647
  * @param [options.show = true] - 矢量数据是否显示
6336
6648
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
6649
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
6650
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
6337
6651
  */
6338
6652
  declare class DivGraphic extends BaseGraphic {
6339
6653
  constructor(options: {
@@ -6358,6 +6672,8 @@ declare class DivGraphic extends BaseGraphic {
6358
6672
  name?: string;
6359
6673
  show?: boolean;
6360
6674
  eventParent?: BaseClass | boolean;
6675
+ flyTo?: boolean;
6676
+ flyToOptions?: any;
6361
6677
  });
6362
6678
  /**
6363
6679
  * 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
@@ -6514,6 +6830,10 @@ declare class DivGraphic extends BaseGraphic {
6514
6830
  * @returns 无
6515
6831
  */
6516
6832
  stopEditing(): void;
6833
+ /**
6834
+ * 属性信息
6835
+ */
6836
+ attr: any;
6517
6837
  /**
6518
6838
  * 中心点坐标(笛卡尔坐标)
6519
6839
  */
@@ -6595,6 +6915,8 @@ declare namespace DivLightPoint {
6595
6915
  * @param [options.name = ''] - 矢量数据名称
6596
6916
  * @param [options.show = true] - 矢量数据是否显示
6597
6917
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
6918
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
6919
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
6598
6920
  */
6599
6921
  declare class DivLightPoint extends DivGraphic {
6600
6922
  constructor(options: {
@@ -6617,6 +6939,8 @@ declare class DivLightPoint extends DivGraphic {
6617
6939
  name?: string;
6618
6940
  show?: boolean;
6619
6941
  eventParent?: BaseClass | boolean;
6942
+ flyTo?: boolean;
6943
+ flyToOptions?: any;
6620
6944
  });
6621
6945
  /**
6622
6946
  * 设置或获取当前对象对应的Html
@@ -6702,6 +7026,8 @@ declare namespace DivUpLabel {
6702
7026
  * @param [options.name = ''] - 矢量数据名称
6703
7027
  * @param [options.show = true] - 矢量数据是否显示
6704
7028
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
7029
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
7030
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
6705
7031
  */
6706
7032
  declare class DivUpLabel extends DivGraphic {
6707
7033
  constructor(options: {
@@ -6724,6 +7050,8 @@ declare class DivUpLabel extends DivGraphic {
6724
7050
  name?: string;
6725
7051
  show?: boolean;
6726
7052
  eventParent?: BaseClass | boolean;
7053
+ flyTo?: boolean;
7054
+ flyToOptions?: any;
6727
7055
  });
6728
7056
  /**
6729
7057
  * 设置或获取当前对象对应的Html
@@ -6992,6 +7320,8 @@ declare class Tooltip extends Popup {
6992
7320
  * @param [options.show = true] - 矢量数据是否显示
6993
7321
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
6994
7322
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
7323
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
7324
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
6995
7325
  */
6996
7326
  declare class BaseEntity extends BaseGraphic {
6997
7327
  constructor(options: {
@@ -7014,6 +7344,8 @@ declare class BaseEntity extends BaseGraphic {
7014
7344
  show?: boolean;
7015
7345
  eventParent?: BaseClass | boolean;
7016
7346
  allowDrillPick?: boolean | ((...params: any[]) => any);
7347
+ flyTo?: boolean;
7348
+ flyToOptions?: any;
7017
7349
  });
7018
7350
  /**
7019
7351
  * 加载Entity数据的内部Cesium容器
@@ -7152,6 +7484,8 @@ declare class BaseEntity extends BaseGraphic {
7152
7484
  * @param [options.show = true] - 矢量数据是否显示
7153
7485
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
7154
7486
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
7487
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
7488
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
7155
7489
  */
7156
7490
  declare class BasePointEntity extends BaseEntity {
7157
7491
  constructor(options: {
@@ -7184,6 +7518,8 @@ declare class BasePointEntity extends BaseEntity {
7184
7518
  show?: boolean;
7185
7519
  eventParent?: BaseClass | boolean;
7186
7520
  allowDrillPick?: boolean | ((...params: any[]) => any);
7521
+ flyTo?: boolean;
7522
+ flyToOptions?: any;
7187
7523
  });
7188
7524
  /**
7189
7525
  * 编辑处理类
@@ -7322,6 +7658,8 @@ declare class BasePointEntity extends BaseEntity {
7322
7658
  * @param [options.show = true] - 矢量数据是否显示
7323
7659
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
7324
7660
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
7661
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
7662
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
7325
7663
  */
7326
7664
  declare class BasePolyEntity extends BaseEntity {
7327
7665
  constructor(options: {
@@ -7349,6 +7687,8 @@ declare class BasePolyEntity extends BaseEntity {
7349
7687
  show?: boolean;
7350
7688
  eventParent?: BaseClass | boolean;
7351
7689
  allowDrillPick?: boolean | ((...params: any[]) => any);
7690
+ flyTo?: boolean;
7691
+ flyToOptions?: any;
7352
7692
  });
7353
7693
  /**
7354
7694
  * 编辑时,是否可以整体平移
@@ -7549,6 +7889,8 @@ declare namespace BillboardEntity {
7549
7889
  * @param [options.show = true] - 矢量数据是否显示
7550
7890
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
7551
7891
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
7892
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
7893
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
7552
7894
  */
7553
7895
  declare class BillboardEntity extends BasePointEntity {
7554
7896
  constructor(options: {
@@ -7582,6 +7924,8 @@ declare class BillboardEntity extends BasePointEntity {
7582
7924
  show?: boolean;
7583
7925
  eventParent?: BaseClass | boolean;
7584
7926
  allowDrillPick?: boolean | ((...params: any[]) => any);
7927
+ flyTo?: boolean;
7928
+ flyToOptions?: any;
7585
7929
  });
7586
7930
  /**
7587
7931
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -7705,8 +8049,10 @@ declare namespace BoxEntity {
7705
8049
  * @param [options.show = true] - 矢量数据是否显示
7706
8050
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
7707
8051
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
8052
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
8053
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。 @extends {BasePointEntity}
7708
8054
  */
7709
- declare class BoxEntity extends BasePointEntity {
8055
+ declare class BoxEntity {
7710
8056
  constructor(options: {
7711
8057
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
7712
8058
  style: BoxEntity.StyleOptions | any;
@@ -7729,6 +8075,8 @@ declare class BoxEntity extends BasePointEntity {
7729
8075
  show?: boolean;
7730
8076
  eventParent?: BaseClass | boolean;
7731
8077
  allowDrillPick?: boolean | ((...params: any[]) => any);
8078
+ flyTo?: boolean;
8079
+ flyToOptions?: any;
7732
8080
  });
7733
8081
  /**
7734
8082
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -7853,8 +8201,10 @@ declare namespace CanvasLabelEntity {
7853
8201
  * @param [options.show = true] - 矢量数据是否显示
7854
8202
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
7855
8203
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
8204
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
8205
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。 @extends {BasePointEntity}
7856
8206
  */
7857
- declare class CanvasLabelEntity extends BasePointEntity {
8207
+ declare class CanvasLabelEntity {
7858
8208
  constructor(options: {
7859
8209
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
7860
8210
  style: CanvasLabelEntity.StyleOptions | any;
@@ -7876,6 +8226,8 @@ declare class CanvasLabelEntity extends BasePointEntity {
7876
8226
  show?: boolean;
7877
8227
  eventParent?: BaseClass | boolean;
7878
8228
  allowDrillPick?: boolean | ((...params: any[]) => any);
8229
+ flyTo?: boolean;
8230
+ flyToOptions?: any;
7879
8231
  });
7880
8232
  }
7881
8233
 
@@ -7981,6 +8333,8 @@ declare namespace CircleEntity {
7981
8333
  * @param [options.show = true] - 矢量数据是否显示
7982
8334
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
7983
8335
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
8336
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
8337
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
7984
8338
  */
7985
8339
  declare class CircleEntity extends BasePointEntity {
7986
8340
  constructor(options: {
@@ -8007,6 +8361,8 @@ declare class CircleEntity extends BasePointEntity {
8007
8361
  show?: boolean;
8008
8362
  eventParent?: BaseClass | boolean;
8009
8363
  allowDrillPick?: boolean | ((...params: any[]) => any);
8364
+ flyTo?: boolean;
8365
+ flyToOptions?: any;
8010
8366
  });
8011
8367
  /**
8012
8368
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -8210,6 +8566,8 @@ declare namespace ConeTrack {
8210
8566
  * @param [options.show = true] - 矢量数据是否显示
8211
8567
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
8212
8568
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
8569
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
8570
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
8213
8571
  */
8214
8572
  declare class ConeTrack extends CylinderEntity {
8215
8573
  constructor(options: {
@@ -8232,6 +8590,8 @@ declare class ConeTrack extends CylinderEntity {
8232
8590
  show?: boolean;
8233
8591
  eventParent?: BaseClass | boolean;
8234
8592
  allowDrillPick?: boolean | ((...params: any[]) => any);
8593
+ flyTo?: boolean;
8594
+ flyToOptions?: any;
8235
8595
  });
8236
8596
  /**
8237
8597
  * 追踪的目标位置(确定了方向和距离)
@@ -8372,6 +8732,8 @@ declare namespace CorridorEntity {
8372
8732
  * @param [options.show = true] - 矢量数据是否显示
8373
8733
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
8374
8734
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
8735
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
8736
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
8375
8737
  */
8376
8738
  declare class CorridorEntity extends BasePolyEntity {
8377
8739
  constructor(options: {
@@ -8398,6 +8760,8 @@ declare class CorridorEntity extends BasePolyEntity {
8398
8760
  show?: boolean;
8399
8761
  eventParent?: BaseClass | boolean;
8400
8762
  allowDrillPick?: boolean | ((...params: any[]) => any);
8763
+ flyTo?: boolean;
8764
+ flyToOptions?: any;
8401
8765
  });
8402
8766
  /**
8403
8767
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -8435,6 +8799,8 @@ declare class CorridorEntity extends BasePolyEntity {
8435
8799
  * @param [options.show = true] - 矢量数据是否显示
8436
8800
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
8437
8801
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
8802
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
8803
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
8438
8804
  */
8439
8805
  declare class CurveEntity extends PolylineEntity {
8440
8806
  constructor(options: {
@@ -8461,6 +8827,8 @@ declare class CurveEntity extends PolylineEntity {
8461
8827
  show?: boolean;
8462
8828
  eventParent?: BaseClass | boolean;
8463
8829
  allowDrillPick?: boolean | ((...params: any[]) => any);
8830
+ flyTo?: boolean;
8831
+ flyToOptions?: any;
8464
8832
  });
8465
8833
  }
8466
8834
 
@@ -8552,6 +8920,8 @@ declare namespace CylinderEntity {
8552
8920
  * @param [options.show = true] - 矢量数据是否显示
8553
8921
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
8554
8922
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
8923
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
8924
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
8555
8925
  */
8556
8926
  declare class CylinderEntity extends BasePointEntity {
8557
8927
  constructor(options: {
@@ -8576,6 +8946,8 @@ declare class CylinderEntity extends BasePointEntity {
8576
8946
  show?: boolean;
8577
8947
  eventParent?: BaseClass | boolean;
8578
8948
  allowDrillPick?: boolean | ((...params: any[]) => any);
8949
+ flyTo?: boolean;
8950
+ flyToOptions?: any;
8579
8951
  });
8580
8952
  /**
8581
8953
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -8695,6 +9067,8 @@ declare namespace DivBillboardEntity {
8695
9067
  * @param [options.show = true] - 矢量数据是否显示
8696
9068
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
8697
9069
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
9070
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
9071
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
8698
9072
  */
8699
9073
  declare class DivBillboardEntity extends BillboardEntity {
8700
9074
  constructor(options: {
@@ -8718,6 +9092,8 @@ declare class DivBillboardEntity extends BillboardEntity {
8718
9092
  show?: boolean;
8719
9093
  eventParent?: BaseClass | boolean;
8720
9094
  allowDrillPick?: boolean | ((...params: any[]) => any);
9095
+ flyTo?: boolean;
9096
+ flyToOptions?: any;
8721
9097
  });
8722
9098
  }
8723
9099
 
@@ -8969,6 +9345,8 @@ declare namespace EllipseEntity {
8969
9345
  * @param [options.show = true] - 矢量数据是否显示
8970
9346
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
8971
9347
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
9348
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
9349
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
8972
9350
  */
8973
9351
  declare class EllipseEntity extends CircleEntity {
8974
9352
  constructor(options: {
@@ -8992,6 +9370,8 @@ declare class EllipseEntity extends CircleEntity {
8992
9370
  show?: boolean;
8993
9371
  eventParent?: BaseClass | boolean;
8994
9372
  allowDrillPick?: boolean | ((...params: any[]) => any);
9373
+ flyTo?: boolean;
9374
+ flyToOptions?: any;
8995
9375
  });
8996
9376
  }
8997
9377
 
@@ -9128,6 +9508,8 @@ declare namespace EllipsoidEntity {
9128
9508
  * @param [options.show = true] - 矢量数据是否显示
9129
9509
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
9130
9510
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
9511
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
9512
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
9131
9513
  */
9132
9514
  declare class EllipsoidEntity extends BasePointEntity {
9133
9515
  constructor(options: {
@@ -9155,6 +9537,8 @@ declare class EllipsoidEntity extends BasePointEntity {
9155
9537
  show?: boolean;
9156
9538
  eventParent?: BaseClass | boolean;
9157
9539
  allowDrillPick?: boolean | ((...params: any[]) => any);
9540
+ flyTo?: boolean;
9541
+ flyToOptions?: any;
9158
9542
  });
9159
9543
  /**
9160
9544
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -9295,6 +9679,8 @@ declare namespace FontBillboardEntity {
9295
9679
  * @param [options.show = true] - 矢量数据是否显示
9296
9680
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
9297
9681
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
9682
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
9683
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
9298
9684
  */
9299
9685
  declare class FontBillboardEntity extends BasePointEntity {
9300
9686
  constructor(options: {
@@ -9318,6 +9704,8 @@ declare class FontBillboardEntity extends BasePointEntity {
9318
9704
  show?: boolean;
9319
9705
  eventParent?: BaseClass | boolean;
9320
9706
  allowDrillPick?: boolean | ((...params: any[]) => any);
9707
+ flyTo?: boolean;
9708
+ flyToOptions?: any;
9321
9709
  });
9322
9710
  }
9323
9711
 
@@ -9436,8 +9824,10 @@ declare namespace LabelEntity {
9436
9824
  * @param [options.show = true] - 矢量数据是否显示
9437
9825
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
9438
9826
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
9827
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
9828
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。 @extends {BasePointEntity}
9439
9829
  */
9440
- declare class LabelEntity extends BasePointEntity {
9830
+ declare class LabelEntity {
9441
9831
  constructor(options: {
9442
9832
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
9443
9833
  style: LabelEntity.StyleOptions | any;
@@ -9459,6 +9849,8 @@ declare class LabelEntity extends BasePointEntity {
9459
9849
  show?: boolean;
9460
9850
  eventParent?: BaseClass | boolean;
9461
9851
  allowDrillPick?: boolean | ((...params: any[]) => any);
9852
+ flyTo?: boolean;
9853
+ flyToOptions?: any;
9462
9854
  });
9463
9855
  /**
9464
9856
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -9492,10 +9884,6 @@ declare class LabelEntity extends BasePointEntity {
9492
9884
  * @returns 无
9493
9885
  */
9494
9886
  setOpacity(value: number): void;
9495
- /**
9496
- * 附加的label文本对象
9497
- */
9498
- readonly label: Cesium.Label | Cesium.LabelGraphics;
9499
9887
  }
9500
9888
 
9501
9889
  declare namespace ModelEntity {
@@ -9625,6 +10013,8 @@ declare namespace ModelEntity {
9625
10013
  * @param [options.show = true] - 矢量数据是否显示
9626
10014
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
9627
10015
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
10016
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
10017
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
9628
10018
  */
9629
10019
  declare class ModelEntity extends BasePointEntity {
9630
10020
  constructor(options: {
@@ -9664,6 +10054,8 @@ declare class ModelEntity extends BasePointEntity {
9664
10054
  show?: boolean;
9665
10055
  eventParent?: BaseClass | boolean;
9666
10056
  allowDrillPick?: boolean | ((...params: any[]) => any);
10057
+ flyTo?: boolean;
10058
+ flyToOptions?: any;
9667
10059
  });
9668
10060
  /**
9669
10061
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -9791,8 +10183,6 @@ declare namespace PathEntity {
9791
10183
  * @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
9792
10184
  * @property [distanceDisplayCondition_far = 100000] - 最大距离
9793
10185
  * @property [distanceDisplayCondition_near = 0] - 最小距离
9794
- * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
9795
- * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
9796
10186
  */
9797
10187
  type StyleOptions = any | {
9798
10188
  width?: number;
@@ -9805,8 +10195,6 @@ declare namespace PathEntity {
9805
10195
  distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
9806
10196
  distanceDisplayCondition_far?: number;
9807
10197
  distanceDisplayCondition_near?: number;
9808
- setHeight?: number | string;
9809
- addHeight?: number | string;
9810
10198
  };
9811
10199
  }
9812
10200
 
@@ -9837,6 +10225,8 @@ declare namespace PathEntity {
9837
10225
  * @param [options.show = true] - 矢量数据是否显示
9838
10226
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
9839
10227
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
10228
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
10229
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
9840
10230
  */
9841
10231
  declare class PathEntity extends BasePointEntity {
9842
10232
  constructor(options: {
@@ -9864,6 +10254,8 @@ declare class PathEntity extends BasePointEntity {
9864
10254
  show?: boolean;
9865
10255
  eventParent?: BaseClass | boolean;
9866
10256
  allowDrillPick?: boolean | ((...params: any[]) => any);
10257
+ flyTo?: boolean;
10258
+ flyToOptions?: any;
9867
10259
  });
9868
10260
  /**
9869
10261
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -9949,6 +10341,78 @@ declare class PathEntity extends BasePointEntity {
9949
10341
  position: Cesium.Cartesian3 | LngLatPoint;
9950
10342
  }
9951
10343
 
10344
+ declare namespace PitEntity {
10345
+ /**
10346
+ * 井(Entity方式) 支持的样式信息,
10347
+ * @property image - 井墙面贴图URL
10348
+ * @property imageBottom - 井底面贴图URL
10349
+ * @property diffHeight - 井下深度(单位:米)
10350
+ * @property [splitNum = 50] - 井墙面每两点之间插值个数(概略值,有经纬网网格来插值)
10351
+ * @property [label] - 支持附带文字的显示
10352
+ */
10353
+ type StyleOptions = any | {
10354
+ image: string;
10355
+ imageBottom: string;
10356
+ diffHeight: number;
10357
+ splitNum?: number;
10358
+ label?: LabelPrimitive.StyleOptions | any;
10359
+ };
10360
+ }
10361
+
10362
+ /**
10363
+ * 井(Entity方式) 矢量对象
10364
+ * 用于显示地形开挖后的开挖效果。
10365
+ * @param options - 参数对象,包括以下:
10366
+ * @param options.positions - 坐标位置
10367
+ * @param options.style - 样式信息
10368
+ * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
10369
+ * @param [options.availability] - 与该对象关联的可用性(如果有的话)。
10370
+ * @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
10371
+ * @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
10372
+ * @param [options.parent] - 要与此实体关联的父实体。
10373
+ * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10374
+ * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10375
+ * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10376
+ * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
10377
+ * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
10378
+ * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
10379
+ * @param [options.id = createGuid()] - 矢量数据id标识
10380
+ * @param [options.name = ''] - 矢量数据名称
10381
+ * @param [options.show = true] - 矢量数据是否显示
10382
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
10383
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
10384
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
10385
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
10386
+ */
10387
+ declare class PitEntity extends BasePolyEntity {
10388
+ constructor(options: {
10389
+ positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
10390
+ style: PitEntity.StyleOptions | any;
10391
+ attr?: any;
10392
+ availability?: Cesium.TimeIntervalCollection;
10393
+ description?: Cesium.Property | string;
10394
+ viewFrom?: Cesium.Property;
10395
+ parent?: Cesium.Entity;
10396
+ onBeforeCreate?: (...params: any[]) => any;
10397
+ popup?: string | any[] | ((...params: any[]) => any);
10398
+ popupOptions?: Popup.StyleOptions | any;
10399
+ tooltip?: string | any[] | ((...params: any[]) => any);
10400
+ tooltipOptions?: Tooltip.StyleOptions | any;
10401
+ contextmenuItems?: any;
10402
+ id?: string | number;
10403
+ name?: string;
10404
+ show?: boolean;
10405
+ eventParent?: BaseClass | boolean;
10406
+ allowDrillPick?: boolean | ((...params: any[]) => any);
10407
+ flyTo?: boolean;
10408
+ flyToOptions?: any;
10409
+ });
10410
+ /**
10411
+ * 井下深度(单位:米)
10412
+ */
10413
+ diffHeight: number;
10414
+ }
10415
+
9952
10416
  declare namespace PlaneEntity {
9953
10417
  /**
9954
10418
  * 平面 支持的样式信息
@@ -10039,8 +10503,10 @@ declare namespace PlaneEntity {
10039
10503
  * @param [options.show = true] - 矢量数据是否显示
10040
10504
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
10041
10505
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
10506
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
10507
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。 @extends {BasePointEntity}
10042
10508
  */
10043
- declare class PlaneEntity extends BasePointEntity {
10509
+ declare class PlaneEntity {
10044
10510
  constructor(options: {
10045
10511
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
10046
10512
  style: PlaneEntity.StyleOptions | any;
@@ -10063,6 +10529,8 @@ declare class PlaneEntity extends BasePointEntity {
10063
10529
  show?: boolean;
10064
10530
  eventParent?: BaseClass | boolean;
10065
10531
  allowDrillPick?: boolean | ((...params: any[]) => any);
10532
+ flyTo?: boolean;
10533
+ flyToOptions?: any;
10066
10534
  });
10067
10535
  /**
10068
10536
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -10163,6 +10631,8 @@ declare namespace PointEntity {
10163
10631
  * @param [options.show = true] - 矢量数据是否显示
10164
10632
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
10165
10633
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
10634
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
10635
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
10166
10636
  */
10167
10637
  declare class PointEntity extends BasePointEntity {
10168
10638
  constructor(options: {
@@ -10196,6 +10666,8 @@ declare class PointEntity extends BasePointEntity {
10196
10666
  show?: boolean;
10197
10667
  eventParent?: BaseClass | boolean;
10198
10668
  allowDrillPick?: boolean | ((...params: any[]) => any);
10669
+ flyTo?: boolean;
10670
+ flyToOptions?: any;
10199
10671
  });
10200
10672
  /**
10201
10673
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -10220,7 +10692,8 @@ declare namespace PolygonEntity {
10220
10692
  * @property [outlineColor = "#ffffff"] - 边框颜色
10221
10693
  * @property [outlineOpacity = 0.6] - 边框透明度
10222
10694
  * @property [outlineStyle] - 边框的完整自定义样式,会覆盖outlineWidth、outlineColor等参数。
10223
- * // * @property {Boolean} [outlineStyle.closure = true] 边线是否闭合
10695
+ * // * @property {boolean} [outlineStyle.closure = true] 边线是否闭合
10696
+ * @property [textureCoordinates] - 纹理坐标,是Cartesian2的UV坐标数组的多边形层次结构。对贴地对象无效。
10224
10697
  * @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
10225
10698
  * @property [distanceDisplayCondition_far = 100000] - 最大距离
10226
10699
  * @property [distanceDisplayCondition_near = 0] - 最小距离
@@ -10244,8 +10717,8 @@ declare namespace PolygonEntity {
10244
10717
  * @property [addHeight = 0] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
10245
10718
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
10246
10719
  * @property [label] - 支持附带文字的显示,额外支持:<br />
10247
- * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
10248
- * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
10720
+ * // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
10721
+ * // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
10249
10722
  */
10250
10723
  type StyleOptions = any | {
10251
10724
  fill?: boolean;
@@ -10262,6 +10735,7 @@ declare namespace PolygonEntity {
10262
10735
  outlineColor?: string | Cesium.Color;
10263
10736
  outlineOpacity?: number;
10264
10737
  outlineStyle?: PolylineEntity.StyleOptions | any;
10738
+ textureCoordinates?: Cesium.PolygonHierarchy;
10265
10739
  distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
10266
10740
  distanceDisplayCondition_far?: number;
10267
10741
  distanceDisplayCondition_near?: number;
@@ -10315,6 +10789,8 @@ declare namespace PolygonEntity {
10315
10789
  * @param [options.show = true] - 矢量数据是否显示
10316
10790
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
10317
10791
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
10792
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
10793
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
10318
10794
  */
10319
10795
  declare class PolygonEntity extends BasePolyEntity {
10320
10796
  constructor(options: {
@@ -10342,6 +10818,8 @@ declare class PolygonEntity extends BasePolyEntity {
10342
10818
  show?: boolean;
10343
10819
  eventParent?: BaseClass | boolean;
10344
10820
  allowDrillPick?: boolean | ((...params: any[]) => any);
10821
+ flyTo?: boolean;
10822
+ flyToOptions?: any;
10345
10823
  });
10346
10824
  /**
10347
10825
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -10435,9 +10913,9 @@ declare namespace PolylineEntity {
10435
10913
  * @property [addHeight = 0] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
10436
10914
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
10437
10915
  * @property [label] - 支持附带文字的显示,额外支持:<br />
10438
- * // * @property {String} [label.text = "文字"] 文本内容,换行可以用换行符'\n'。
10439
- * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
10440
- * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
10916
+ * // * @property {string} [label.text = "文字"] 文本内容,换行可以用换行符'\n'。
10917
+ * // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
10918
+ * // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
10441
10919
  */
10442
10920
  type StyleOptions = any | {
10443
10921
  materialType?: string;
@@ -10499,6 +10977,8 @@ declare namespace PolylineEntity {
10499
10977
  * @param [options.show = true] - 矢量数据是否显示
10500
10978
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
10501
10979
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
10980
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
10981
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
10502
10982
  */
10503
10983
  declare class PolylineEntity extends BasePolyEntity {
10504
10984
  constructor(options: {
@@ -10526,6 +11006,8 @@ declare class PolylineEntity extends BasePolyEntity {
10526
11006
  show?: boolean;
10527
11007
  eventParent?: BaseClass | boolean;
10528
11008
  allowDrillPick?: boolean | ((...params: any[]) => any);
11009
+ flyTo?: boolean;
11010
+ flyToOptions?: any;
10529
11011
  });
10530
11012
  /**
10531
11013
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -10625,6 +11107,8 @@ declare namespace PolylineVolumeEntity {
10625
11107
  * @param [options.show = true] - 矢量数据是否显示
10626
11108
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
10627
11109
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
11110
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
11111
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
10628
11112
  */
10629
11113
  declare class PolylineVolumeEntity extends BasePolyEntity {
10630
11114
  constructor(options: {
@@ -10651,6 +11135,8 @@ declare class PolylineVolumeEntity extends BasePolyEntity {
10651
11135
  show?: boolean;
10652
11136
  eventParent?: BaseClass | boolean;
10653
11137
  allowDrillPick?: boolean | ((...params: any[]) => any);
11138
+ flyTo?: boolean;
11139
+ flyToOptions?: any;
10654
11140
  });
10655
11141
  /**
10656
11142
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -10763,6 +11249,8 @@ declare namespace RectangleEntity {
10763
11249
  * @param [options.show = true] - 矢量数据是否显示
10764
11250
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
10765
11251
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
11252
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
11253
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
10766
11254
  */
10767
11255
  declare class RectangleEntity extends BasePolyEntity {
10768
11256
  constructor(options: {
@@ -10790,6 +11278,8 @@ declare class RectangleEntity extends BasePolyEntity {
10790
11278
  show?: boolean;
10791
11279
  eventParent?: BaseClass | boolean;
10792
11280
  allowDrillPick?: boolean | ((...params: any[]) => any);
11281
+ flyTo?: boolean;
11282
+ flyToOptions?: any;
10793
11283
  });
10794
11284
  /**
10795
11285
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -11003,8 +11493,10 @@ declare namespace RectangularSensor {
11003
11493
  * @param [options.show = true] - 矢量数据是否显示
11004
11494
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11005
11495
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
11496
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
11497
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。 @extends {BasePointEntity}
11006
11498
  */
11007
- declare class RectangularSensor extends BasePointEntity {
11499
+ declare class RectangularSensor {
11008
11500
  constructor(options: {
11009
11501
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
11010
11502
  style: RectangularSensor.StyleOptions | any;
@@ -11027,6 +11519,8 @@ declare class RectangularSensor extends BasePointEntity {
11027
11519
  show?: boolean;
11028
11520
  eventParent?: BaseClass | boolean;
11029
11521
  allowDrillPick?: boolean | ((...params: any[]) => any);
11522
+ flyTo?: boolean;
11523
+ flyToOptions?: any;
11030
11524
  });
11031
11525
  /**
11032
11526
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -11049,7 +11543,8 @@ declare namespace Video2D {
11049
11543
  * @property [pitch = 0] - 俯仰角(度数值,0-360度)
11050
11544
  * @property [roll = 0] - 翻滚角(度数值,0-360度)
11051
11545
  * @property [opacity = 1.0] - 透明度
11052
- * @property [material = Cesium.Color.WHITE] - 指定用于填充的材质,指定material后。
11546
+ * @property [flipx = false] - 是否X方向翻转视频
11547
+ * @property [flipy = false] - 是否Y方向翻转视频
11053
11548
  * @property [stRotation = 0] - 多边形纹理的角度(弧度值),正北为0,逆时针旋转
11054
11549
  * @property [stRotationDegree = 0] - 多边形纹理的角度(度数值,0-360度),与stRotation二选一
11055
11550
  * @property [outline = false] - 是否边框
@@ -11072,7 +11567,8 @@ declare namespace Video2D {
11072
11567
  pitch?: number;
11073
11568
  roll?: number;
11074
11569
  opacity?: number;
11075
- material?: Cesium.MaterialProperty | BaseMaterialProperty | Cesium.Color;
11570
+ flipx?: boolean;
11571
+ flipy?: boolean;
11076
11572
  stRotation?: number;
11077
11573
  stRotationDegree?: number;
11078
11574
  outline?: boolean;
@@ -11107,6 +11603,8 @@ declare namespace Video2D {
11107
11603
  * @param [options.show = true] - 矢量数据是否显示
11108
11604
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11109
11605
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
11606
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
11607
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11110
11608
  */
11111
11609
  declare class Video2D extends PolygonEntity {
11112
11610
  constructor(options: {
@@ -11124,6 +11622,8 @@ declare class Video2D extends PolygonEntity {
11124
11622
  show?: boolean;
11125
11623
  eventParent?: BaseClass | boolean;
11126
11624
  allowDrillPick?: boolean | ((...params: any[]) => any);
11625
+ flyTo?: boolean;
11626
+ flyToOptions?: any;
11127
11627
  });
11128
11628
  /**
11129
11629
  * 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
@@ -11172,6 +11672,10 @@ declare class Video2D extends PolygonEntity {
11172
11672
  * 混合系数0-1
11173
11673
  */
11174
11674
  opacity: number;
11675
+ /**
11676
+ * 是否X方向翻转视频
11677
+ */
11678
+ flipx: boolean;
11175
11679
  /**
11176
11680
  * 是否显示视椎体框线
11177
11681
  */
@@ -11232,8 +11736,8 @@ declare namespace WallEntity {
11232
11736
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
11233
11737
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
11234
11738
  * @property [label] - 支持附带文字的显示,额外支持:<br />
11235
- * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
11236
- * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
11739
+ * // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
11740
+ * // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
11237
11741
  */
11238
11742
  type StyleOptions = any | {
11239
11743
  diffHeight?: number;
@@ -11290,6 +11794,8 @@ declare namespace WallEntity {
11290
11794
  * @param [options.show = true] - 矢量数据是否显示
11291
11795
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11292
11796
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
11797
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
11798
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11293
11799
  */
11294
11800
  declare class WallEntity extends BasePolyEntity {
11295
11801
  constructor(options: {
@@ -11316,6 +11822,8 @@ declare class WallEntity extends BasePolyEntity {
11316
11822
  show?: boolean;
11317
11823
  eventParent?: BaseClass | boolean;
11318
11824
  allowDrillPick?: boolean | ((...params: any[]) => any);
11825
+ flyTo?: boolean;
11826
+ flyToOptions?: any;
11319
11827
  });
11320
11828
  /**
11321
11829
  * 矢量数据对应的 Cesium内部对象的具体类型对象
@@ -11349,6 +11857,8 @@ declare class WallEntity extends BasePolyEntity {
11349
11857
  * @param [options.show = true] - 矢量数据是否显示
11350
11858
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11351
11859
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
11860
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
11861
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11352
11862
  */
11353
11863
  declare class AttackArrow extends PolygonEntity {
11354
11864
  constructor(options: {
@@ -11371,6 +11881,8 @@ declare class AttackArrow extends PolygonEntity {
11371
11881
  show?: boolean;
11372
11882
  eventParent?: BaseClass | boolean;
11373
11883
  allowDrillPick?: boolean | ((...params: any[]) => any);
11884
+ flyTo?: boolean;
11885
+ flyToOptions?: any;
11374
11886
  });
11375
11887
  }
11376
11888
 
@@ -11396,6 +11908,8 @@ declare class AttackArrow extends PolygonEntity {
11396
11908
  * @param [options.show = true] - 矢量数据是否显示
11397
11909
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11398
11910
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
11911
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
11912
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11399
11913
  */
11400
11914
  declare class AttackArrowPW extends PolygonEntity {
11401
11915
  constructor(options: {
@@ -11418,6 +11932,8 @@ declare class AttackArrowPW extends PolygonEntity {
11418
11932
  show?: boolean;
11419
11933
  eventParent?: BaseClass | boolean;
11420
11934
  allowDrillPick?: boolean | ((...params: any[]) => any);
11935
+ flyTo?: boolean;
11936
+ flyToOptions?: any;
11421
11937
  });
11422
11938
  /**
11423
11939
  * 计算当前军标对象的边界坐标点
@@ -11450,6 +11966,8 @@ declare class AttackArrowPW extends PolygonEntity {
11450
11966
  * @param [options.show = true] - 矢量数据是否显示
11451
11967
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11452
11968
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
11969
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
11970
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11453
11971
  */
11454
11972
  declare class AttackArrowYW extends PolygonEntity {
11455
11973
  constructor(options: {
@@ -11472,6 +11990,8 @@ declare class AttackArrowYW extends PolygonEntity {
11472
11990
  show?: boolean;
11473
11991
  eventParent?: BaseClass | boolean;
11474
11992
  allowDrillPick?: boolean | ((...params: any[]) => any);
11993
+ flyTo?: boolean;
11994
+ flyToOptions?: any;
11475
11995
  });
11476
11996
  /**
11477
11997
  * 计算当前军标对象的边界坐标点
@@ -11504,6 +12024,8 @@ declare class AttackArrowYW extends PolygonEntity {
11504
12024
  * @param [options.show = true] - 矢量数据是否显示
11505
12025
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11506
12026
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12027
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12028
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11507
12029
  */
11508
12030
  declare class CloseVurve extends PolygonEntity {
11509
12031
  constructor(options: {
@@ -11526,6 +12048,8 @@ declare class CloseVurve extends PolygonEntity {
11526
12048
  show?: boolean;
11527
12049
  eventParent?: BaseClass | boolean;
11528
12050
  allowDrillPick?: boolean | ((...params: any[]) => any);
12051
+ flyTo?: boolean;
12052
+ flyToOptions?: any;
11529
12053
  });
11530
12054
  /**
11531
12055
  * 计算当前军标对象的边界坐标点
@@ -11558,6 +12082,8 @@ declare class CloseVurve extends PolygonEntity {
11558
12082
  * @param [options.show = true] - 矢量数据是否显示
11559
12083
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11560
12084
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12085
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12086
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11561
12087
  */
11562
12088
  declare class DoubleArrow extends PolygonEntity {
11563
12089
  constructor(options: {
@@ -11580,6 +12106,8 @@ declare class DoubleArrow extends PolygonEntity {
11580
12106
  show?: boolean;
11581
12107
  eventParent?: BaseClass | boolean;
11582
12108
  allowDrillPick?: boolean | ((...params: any[]) => any);
12109
+ flyTo?: boolean;
12110
+ flyToOptions?: any;
11583
12111
  });
11584
12112
  /**
11585
12113
  * 计算当前军标对象的边界坐标点
@@ -11624,6 +12152,8 @@ declare class EditSector extends EditPolygon {
11624
12152
  * @param [options.show = true] - 矢量数据是否显示
11625
12153
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11626
12154
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12155
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12156
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11627
12157
  */
11628
12158
  declare class FineArrow extends PolygonEntity {
11629
12159
  constructor(options: {
@@ -11646,6 +12176,8 @@ declare class FineArrow extends PolygonEntity {
11646
12176
  show?: boolean;
11647
12177
  eventParent?: BaseClass | boolean;
11648
12178
  allowDrillPick?: boolean | ((...params: any[]) => any);
12179
+ flyTo?: boolean;
12180
+ flyToOptions?: any;
11649
12181
  });
11650
12182
  /**
11651
12183
  * 计算当前军标对象的边界坐标点
@@ -11678,6 +12210,8 @@ declare class FineArrow extends PolygonEntity {
11678
12210
  * @param [options.show = true] - 矢量数据是否显示
11679
12211
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11680
12212
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12213
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12214
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11681
12215
  */
11682
12216
  declare class FineArrowYW extends PolygonEntity {
11683
12217
  constructor(options: {
@@ -11700,6 +12234,8 @@ declare class FineArrowYW extends PolygonEntity {
11700
12234
  show?: boolean;
11701
12235
  eventParent?: BaseClass | boolean;
11702
12236
  allowDrillPick?: boolean | ((...params: any[]) => any);
12237
+ flyTo?: boolean;
12238
+ flyToOptions?: any;
11703
12239
  });
11704
12240
  /**
11705
12241
  * 计算当前军标对象的边界坐标点
@@ -11732,6 +12268,8 @@ declare class FineArrowYW extends PolygonEntity {
11732
12268
  * @param [options.show = true] - 矢量数据是否显示
11733
12269
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11734
12270
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12271
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12272
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11735
12273
  */
11736
12274
  declare class GatheringPlace extends PolygonEntity {
11737
12275
  constructor(options: {
@@ -11754,6 +12292,8 @@ declare class GatheringPlace extends PolygonEntity {
11754
12292
  show?: boolean;
11755
12293
  eventParent?: BaseClass | boolean;
11756
12294
  allowDrillPick?: boolean | ((...params: any[]) => any);
12295
+ flyTo?: boolean;
12296
+ flyToOptions?: any;
11757
12297
  });
11758
12298
  /**
11759
12299
  * 计算当前军标对象的边界坐标点
@@ -11786,6 +12326,8 @@ declare class GatheringPlace extends PolygonEntity {
11786
12326
  * @param [options.show = true] - 矢量数据是否显示
11787
12327
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11788
12328
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12329
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12330
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11789
12331
  */
11790
12332
  declare class IsosTriangle extends PolygonEntity {
11791
12333
  constructor(options: {
@@ -11808,6 +12350,8 @@ declare class IsosTriangle extends PolygonEntity {
11808
12350
  show?: boolean;
11809
12351
  eventParent?: BaseClass | boolean;
11810
12352
  allowDrillPick?: boolean | ((...params: any[]) => any);
12353
+ flyTo?: boolean;
12354
+ flyToOptions?: any;
11811
12355
  });
11812
12356
  /**
11813
12357
  * 计算当前矢量对象的边界坐标点
@@ -11840,6 +12384,8 @@ declare class IsosTriangle extends PolygonEntity {
11840
12384
  * @param [options.show = true] - 矢量数据是否显示
11841
12385
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11842
12386
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12387
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12388
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11843
12389
  */
11844
12390
  declare class Lune extends PolygonEntity {
11845
12391
  constructor(options: {
@@ -11862,6 +12408,8 @@ declare class Lune extends PolygonEntity {
11862
12408
  show?: boolean;
11863
12409
  eventParent?: BaseClass | boolean;
11864
12410
  allowDrillPick?: boolean | ((...params: any[]) => any);
12411
+ flyTo?: boolean;
12412
+ flyToOptions?: any;
11865
12413
  });
11866
12414
  /**
11867
12415
  * 计算当前军标对象的边界坐标点
@@ -11897,6 +12445,8 @@ declare class Lune extends PolygonEntity {
11897
12445
  * @param [options.show = true] - 矢量数据是否显示
11898
12446
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11899
12447
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12448
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12449
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11900
12450
  */
11901
12451
  declare class Regular extends PolygonEntity {
11902
12452
  constructor(options: {
@@ -11923,6 +12473,8 @@ declare class Regular extends PolygonEntity {
11923
12473
  show?: boolean;
11924
12474
  eventParent?: BaseClass | boolean;
11925
12475
  allowDrillPick?: boolean | ((...params: any[]) => any);
12476
+ flyTo?: boolean;
12477
+ flyToOptions?: any;
11926
12478
  });
11927
12479
  /**
11928
12480
  * 编辑处理类
@@ -11974,6 +12526,8 @@ declare class Regular extends PolygonEntity {
11974
12526
  * @param [options.show = true] - 矢量数据是否显示
11975
12527
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
11976
12528
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12529
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12530
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
11977
12531
  */
11978
12532
  declare class Sector extends PolygonEntity {
11979
12533
  constructor(options: {
@@ -12001,6 +12555,8 @@ declare class Sector extends PolygonEntity {
12001
12555
  show?: boolean;
12002
12556
  eventParent?: BaseClass | boolean;
12003
12557
  allowDrillPick?: boolean | ((...params: any[]) => any);
12558
+ flyTo?: boolean;
12559
+ flyToOptions?: any;
12004
12560
  });
12005
12561
  /**
12006
12562
  * 编辑处理类
@@ -12050,6 +12606,8 @@ declare class Sector extends PolygonEntity {
12050
12606
  * @param [options.show = true] - 矢量数据是否显示
12051
12607
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12052
12608
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12609
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12610
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12053
12611
  */
12054
12612
  declare class StraightArrow extends PolygonEntity {
12055
12613
  constructor(options: {
@@ -12072,6 +12630,8 @@ declare class StraightArrow extends PolygonEntity {
12072
12630
  show?: boolean;
12073
12631
  eventParent?: BaseClass | boolean;
12074
12632
  allowDrillPick?: boolean | ((...params: any[]) => any);
12633
+ flyTo?: boolean;
12634
+ flyToOptions?: any;
12075
12635
  });
12076
12636
  /**
12077
12637
  * 计算当前军标对象的边界坐标点
@@ -12112,6 +12672,8 @@ declare class StraightArrow extends PolygonEntity {
12112
12672
  * @param [options.show = true] - 矢量数据是否显示
12113
12673
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12114
12674
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12675
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12676
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12115
12677
  */
12116
12678
  declare class AngleMeasure extends PolylineEntity {
12117
12679
  constructor(options: {
@@ -12141,6 +12703,8 @@ declare class AngleMeasure extends PolylineEntity {
12141
12703
  show?: boolean;
12142
12704
  eventParent?: BaseClass | boolean;
12143
12705
  allowDrillPick?: boolean | ((...params: any[]) => any);
12706
+ flyTo?: boolean;
12707
+ flyToOptions?: any;
12144
12708
  });
12145
12709
  /**
12146
12710
  * 测量结果
@@ -12183,6 +12747,8 @@ declare class AngleMeasure extends PolylineEntity {
12183
12747
  * @param [options.show = true] - 矢量数据是否显示
12184
12748
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12185
12749
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12750
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12751
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12186
12752
  */
12187
12753
  declare class AreaMeasure extends PolygonEntity {
12188
12754
  constructor(options: {
@@ -12211,6 +12777,8 @@ declare class AreaMeasure extends PolygonEntity {
12211
12777
  show?: boolean;
12212
12778
  eventParent?: BaseClass | boolean;
12213
12779
  allowDrillPick?: boolean | ((...params: any[]) => any);
12780
+ flyTo?: boolean;
12781
+ flyToOptions?: any;
12214
12782
  });
12215
12783
  /**
12216
12784
  * 测量结果
@@ -12259,6 +12827,8 @@ declare class AreaMeasure extends PolygonEntity {
12259
12827
  * @param [options.show = true] - 矢量数据是否显示
12260
12828
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12261
12829
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12830
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12831
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12262
12832
  */
12263
12833
  declare class AreaSurfaceMeasure extends AreaMeasure {
12264
12834
  constructor(options: {
@@ -12287,6 +12857,8 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
12287
12857
  show?: boolean;
12288
12858
  eventParent?: BaseClass | boolean;
12289
12859
  allowDrillPick?: boolean | ((...params: any[]) => any);
12860
+ flyTo?: boolean;
12861
+ flyToOptions?: any;
12290
12862
  });
12291
12863
  }
12292
12864
 
@@ -12319,6 +12891,8 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
12319
12891
  * @param [options.show = true] - 矢量数据是否显示
12320
12892
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12321
12893
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12894
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12895
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12322
12896
  */
12323
12897
  declare class DistanceMeasure extends PolylineEntity {
12324
12898
  constructor(options: {
@@ -12347,6 +12921,8 @@ declare class DistanceMeasure extends PolylineEntity {
12347
12921
  show?: boolean;
12348
12922
  eventParent?: BaseClass | boolean;
12349
12923
  allowDrillPick?: boolean | ((...params: any[]) => any);
12924
+ flyTo?: boolean;
12925
+ flyToOptions?: any;
12350
12926
  });
12351
12927
  /**
12352
12928
  * 测量结果
@@ -12389,6 +12965,8 @@ declare class DistanceMeasure extends PolylineEntity {
12389
12965
  * @param [options.show = true] - 矢量数据是否显示
12390
12966
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12391
12967
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
12968
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
12969
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12392
12970
  */
12393
12971
  declare class DistanceSurfaceMeasure extends DistanceMeasure {
12394
12972
  constructor(options: {
@@ -12417,6 +12995,8 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
12417
12995
  show?: boolean;
12418
12996
  eventParent?: BaseClass | boolean;
12419
12997
  allowDrillPick?: boolean | ((...params: any[]) => any);
12998
+ flyTo?: boolean;
12999
+ flyToOptions?: any;
12420
13000
  });
12421
13001
  }
12422
13002
 
@@ -12449,6 +13029,8 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
12449
13029
  * @param [options.show = true] - 矢量数据是否显示
12450
13030
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12451
13031
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13032
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13033
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12452
13034
  */
12453
13035
  declare class HeightMeasure extends PolylineEntity {
12454
13036
  constructor(options: {
@@ -12477,6 +13059,8 @@ declare class HeightMeasure extends PolylineEntity {
12477
13059
  show?: boolean;
12478
13060
  eventParent?: BaseClass | boolean;
12479
13061
  allowDrillPick?: boolean | ((...params: any[]) => any);
13062
+ flyTo?: boolean;
13063
+ flyToOptions?: any;
12480
13064
  });
12481
13065
  /**
12482
13066
  * 测量结果
@@ -12519,6 +13103,8 @@ declare class HeightMeasure extends PolylineEntity {
12519
13103
  * @param [options.show = true] - 矢量数据是否显示
12520
13104
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12521
13105
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13106
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13107
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12522
13108
  */
12523
13109
  declare class HeightTriangleMeasure extends HeightMeasure {
12524
13110
  constructor(options: {
@@ -12547,6 +13133,8 @@ declare class HeightTriangleMeasure extends HeightMeasure {
12547
13133
  show?: boolean;
12548
13134
  eventParent?: BaseClass | boolean;
12549
13135
  allowDrillPick?: boolean | ((...params: any[]) => any);
13136
+ flyTo?: boolean;
13137
+ flyToOptions?: any;
12550
13138
  });
12551
13139
  /**
12552
13140
  * 更新测量结果的文本
@@ -12581,6 +13169,8 @@ declare class HeightTriangleMeasure extends HeightMeasure {
12581
13169
  * @param [options.show = true] - 矢量数据是否显示
12582
13170
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12583
13171
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13172
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13173
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12584
13174
  */
12585
13175
  declare class PointMeasure extends PointEntity {
12586
13176
  constructor(options: {
@@ -12605,6 +13195,8 @@ declare class PointMeasure extends PointEntity {
12605
13195
  show?: boolean;
12606
13196
  eventParent?: BaseClass | boolean;
12607
13197
  allowDrillPick?: boolean | ((...params: any[]) => any);
13198
+ flyTo?: boolean;
13199
+ flyToOptions?: any;
12608
13200
  });
12609
13201
  }
12610
13202
 
@@ -12638,6 +13230,8 @@ declare class PointMeasure extends PointEntity {
12638
13230
  * @param [options.show = true] - 矢量数据是否显示
12639
13231
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12640
13232
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13233
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13234
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12641
13235
  */
12642
13236
  declare class SectionMeasure extends DistanceMeasure {
12643
13237
  constructor(options: {
@@ -12667,7 +13261,119 @@ declare class SectionMeasure extends DistanceMeasure {
12667
13261
  show?: boolean;
12668
13262
  eventParent?: BaseClass | boolean;
12669
13263
  allowDrillPick?: boolean | ((...params: any[]) => any);
13264
+ flyTo?: boolean;
13265
+ flyToOptions?: any;
13266
+ });
13267
+ }
13268
+
13269
+ /**
13270
+ * 基于深度图的 体积量算对象(方量分析),
13271
+ * 非直接调用,由 Measure 类统一创建及管理。<br />
13272
+ *
13273
+ * 注意:<br />
13274
+ * 1. 需要地形和模型等需要分析区域对应的数据加载完成后才能分析。<br />
13275
+ * 2. 如果有遮挡了分析区域的任何矢量对象,都需要分析前隐藏下,分析结束后再改回显示。<br />
13276
+ *
13277
+ * 说明:<br />
13278
+ * 1. 挖方量: 计算“基准面”到地表之间的凸出部分进行挖掉的体积。<br />
13279
+ * 2. 填方量:计算“基准面”与“墙底部”之间的缺少部分进行填平的体积。
13280
+ * @param options - 参数对象,包括以下:
13281
+ * @param options.style - 基准面样式信息
13282
+ * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
13283
+ * @param [options.showPoly = true] - 是否显示基准面
13284
+ * @param [options.showWall = false] - 是否显示围墙面
13285
+ * @param [options.polygonWallStyle] - 围墙面的样式
13286
+ * @param [options.showBox = true] - 是否显示填挖盒子
13287
+ * @param [options.fillColor = Cesium.Color.YELLOW.withAlpha(0.5)] - 填方盒子的颜色
13288
+ * @param [options.cutColor = Cesium.Color.RED.withAlpha(0.5)] - 挖方盒子的颜色
13289
+ * @param [options.offsetHeight = 0] - 盒子偏移显示的高度值,可以将盒子显示在空中来展示
13290
+ * @param [options.label] - 测量结果文本的样式
13291
+ * @param [options.showFillVolume = true] - 是否显示填方体积结果文本
13292
+ * @param [options.fillVolumeName = '填方体积'] - 填方体积结果的名称
13293
+ * @param [options.showDigVolume = true] - 是否显示挖方体积结果文本
13294
+ * @param [options.digVolumeName = '挖方体积'] - 挖方体积结果的名称
13295
+ * @param [options.showArea = true] - 是否显示横切面积结果文本
13296
+ * @param [options.areaName = '横切面积'] - 横切面积结果的名称
13297
+ * @param [options.heightLabel = true] - 是否显示各边界点高度值文本
13298
+ * @param [options.offsetLabel = false] - 是否显示各边界点高度差文本
13299
+ * @param [options.labelHeight] - 各边界点高度结果文本的样式
13300
+ * @param [options.decimal = 2] - 显示的 数值 文本中保留的小数位
13301
+ * @param [options.has3dtiles] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
13302
+ * @param [options.exact = true] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
13303
+ * @param [options.id = createGuid()] - 矢量数据id标识
13304
+ * @param [options.name = ''] - 矢量数据名称
13305
+ * @param [options.show = true] - 矢量数据是否显示
13306
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
13307
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13308
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13309
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
13310
+ */
13311
+ declare class VolumeDepthMeasure extends AreaMeasure {
13312
+ constructor(options: {
13313
+ style: PolygonEntity.StyleOptions | any;
13314
+ attr?: any;
13315
+ showPoly?: boolean;
13316
+ showWall?: boolean;
13317
+ polygonWallStyle?: PolygonEntity.StyleOptions | any;
13318
+ showBox?: boolean;
13319
+ fillColor?: string | Cesium.Color;
13320
+ cutColor?: string | Cesium.Color;
13321
+ offsetHeight?: number;
13322
+ label?: LabelEntity.StyleOptions | any;
13323
+ showFillVolume?: boolean;
13324
+ fillVolumeName?: string;
13325
+ showDigVolume?: boolean;
13326
+ digVolumeName?: string;
13327
+ showArea?: boolean;
13328
+ areaName?: string;
13329
+ heightLabel?: boolean;
13330
+ offsetLabel?: boolean;
13331
+ labelHeight?: LabelEntity.StyleOptions | any;
13332
+ decimal?: number;
13333
+ has3dtiles?: boolean;
13334
+ exact?: boolean;
13335
+ id?: string | number;
13336
+ name?: string;
13337
+ show?: boolean;
13338
+ eventParent?: BaseClass | boolean;
13339
+ allowDrillPick?: boolean | ((...params: any[]) => any);
13340
+ flyTo?: boolean;
13341
+ flyToOptions?: any;
12670
13342
  });
13343
+ /**
13344
+ * 面内的最高地表高度
13345
+ */
13346
+ readonly polygonMaxHeight: number;
13347
+ /**
13348
+ * 基准面 高度,
13349
+ * 1. 挖方量: 计算“基准面”到地表之间的凸出部分进行挖掉的体积。<br />
13350
+ * 2. 填方量:计算“基准面”与“墙底部”之间的缺少部分进行填平的体积。
13351
+ */
13352
+ height: number;
13353
+ /**
13354
+ * 底部高度,
13355
+ * 会影响 填方量:计算“基准面高度”与“底部高度”之间的缺少部分进行填平的体积。
13356
+ */
13357
+ minHeight: number;
13358
+ /**
13359
+ * 最高高度,对应墙的高度,
13360
+ * 不影响测量结果,只是显示效果的区别。
13361
+ */
13362
+ maxHeight: number;
13363
+ /**
13364
+ * 是否显示填挖盒子
13365
+ */
13366
+ showBox: boolean;
13367
+ /**
13368
+ * 更新测量结果的文本
13369
+ * @param unit - 计量单位,{@link MeasureUtil#formatArea} 可选值:计量单位,可选值:auto、m、km、mu、ha 。auto时根据面积值自动选用m或km
13370
+ * @returns 无
13371
+ */
13372
+ updateText(unit: string): void;
13373
+ /**
13374
+ * 是否可以编辑
13375
+ */
13376
+ hasEdit: boolean;
12671
13377
  }
12672
13378
 
12673
13379
  /**
@@ -12698,6 +13404,8 @@ declare class SectionMeasure extends DistanceMeasure {
12698
13404
  * @param [options.show = true] - 矢量数据是否显示
12699
13405
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12700
13406
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13407
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13408
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12701
13409
  */
12702
13410
  declare class VolumeMeasure extends AreaMeasure {
12703
13411
  constructor(options: {
@@ -12722,6 +13430,8 @@ declare class VolumeMeasure extends AreaMeasure {
12722
13430
  show?: boolean;
12723
13431
  eventParent?: BaseClass | boolean;
12724
13432
  allowDrillPick?: boolean | ((...params: any[]) => any);
13433
+ flyTo?: boolean;
13434
+ flyToOptions?: any;
12725
13435
  });
12726
13436
  /**
12727
13437
  * 面内的最高地表高度
@@ -12791,6 +13501,8 @@ declare class VolumeMeasure extends AreaMeasure {
12791
13501
  * @param [options.show = true] - 矢量数据是否显示
12792
13502
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12793
13503
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13504
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13505
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12794
13506
  */
12795
13507
  declare class BasePointPrimitive extends BasePrimitive {
12796
13508
  constructor(options: {
@@ -12827,6 +13539,8 @@ declare class BasePointPrimitive extends BasePrimitive {
12827
13539
  show?: boolean;
12828
13540
  eventParent?: BaseClass | boolean;
12829
13541
  allowDrillPick?: boolean | ((...params: any[]) => any);
13542
+ flyTo?: boolean;
13543
+ flyToOptions?: any;
12830
13544
  });
12831
13545
  /**
12832
13546
  * 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
@@ -12958,6 +13672,8 @@ declare class BasePointPrimitive extends BasePrimitive {
12958
13672
  * @param [options.show = true] - 矢量数据是否显示
12959
13673
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
12960
13674
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13675
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13676
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
12961
13677
  */
12962
13678
  declare class BasePolyPrimitive extends BasePrimitive {
12963
13679
  constructor(options: {
@@ -12986,6 +13702,8 @@ declare class BasePolyPrimitive extends BasePrimitive {
12986
13702
  show?: boolean;
12987
13703
  eventParent?: BaseClass | boolean;
12988
13704
  allowDrillPick?: boolean | ((...params: any[]) => any);
13705
+ flyTo?: boolean;
13706
+ flyToOptions?: any;
12989
13707
  });
12990
13708
  /**
12991
13709
  * 中心点坐标 (笛卡尔坐标)
@@ -13083,6 +13801,8 @@ declare class BasePolyPrimitive extends BasePrimitive {
13083
13801
  * @param [options.show = true] - 矢量数据是否显示
13084
13802
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
13085
13803
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13804
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13805
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
13086
13806
  */
13087
13807
  declare class BasePrimitive extends BaseGraphic {
13088
13808
  constructor(options: {
@@ -13112,6 +13832,8 @@ declare class BasePrimitive extends BaseGraphic {
13112
13832
  show?: boolean;
13113
13833
  eventParent?: BaseClass | boolean;
13114
13834
  allowDrillPick?: boolean | ((...params: any[]) => any);
13835
+ flyTo?: boolean;
13836
+ flyToOptions?: any;
13115
13837
  });
13116
13838
  /**
13117
13839
  * 当加载primitive数据的内部Cesium容器
@@ -13230,6 +13952,8 @@ declare class BasePrimitive extends BaseGraphic {
13230
13952
  * @param [options.show = true] - 矢量数据是否显示
13231
13953
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
13232
13954
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
13955
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
13956
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
13233
13957
  */
13234
13958
  declare class BillboardPrimitive extends BasePointPrimitive {
13235
13959
  constructor(options: {
@@ -13251,6 +13975,8 @@ declare class BillboardPrimitive extends BasePointPrimitive {
13251
13975
  show?: boolean;
13252
13976
  eventParent?: BaseClass | boolean;
13253
13977
  allowDrillPick?: boolean | ((...params: any[]) => any);
13978
+ flyTo?: boolean;
13979
+ flyToOptions?: any;
13254
13980
  });
13255
13981
  /**
13256
13982
  * 当加载primitive数据的内部Cesium容器
@@ -13361,6 +14087,8 @@ declare namespace BoxPrimitive {
13361
14087
  * @param [options.show = true] - 矢量数据是否显示
13362
14088
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
13363
14089
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
14090
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
14091
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
13364
14092
  */
13365
14093
  declare class BoxPrimitive extends BasePointPrimitive {
13366
14094
  constructor(options: {
@@ -13390,6 +14118,8 @@ declare class BoxPrimitive extends BasePointPrimitive {
13390
14118
  show?: boolean;
13391
14119
  eventParent?: BaseClass | boolean;
13392
14120
  allowDrillPick?: boolean | ((...params: any[]) => any);
14121
+ flyTo?: boolean;
14122
+ flyToOptions?: any;
13393
14123
  });
13394
14124
  }
13395
14125
 
@@ -13494,6 +14224,8 @@ declare namespace CirclePrimitive {
13494
14224
  * @param [options.show = true] - 矢量数据是否显示
13495
14225
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
13496
14226
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
14227
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
14228
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
13497
14229
  */
13498
14230
  declare class CirclePrimitive extends BasePointPrimitive {
13499
14231
  constructor(options: {
@@ -13523,6 +14255,8 @@ declare class CirclePrimitive extends BasePointPrimitive {
13523
14255
  show?: boolean;
13524
14256
  eventParent?: BaseClass | boolean;
13525
14257
  allowDrillPick?: boolean | ((...params: any[]) => any);
14258
+ flyTo?: boolean;
14259
+ flyToOptions?: any;
13526
14260
  });
13527
14261
  /**
13528
14262
  * 圆的半径(单位:米)
@@ -13640,6 +14374,8 @@ declare namespace CloudPrimitive {
13640
14374
  * @param [options.name = ''] - 矢量数据名称
13641
14375
  * @param [options.show = true] - 矢量数据是否显示
13642
14376
  * @param [options.stopPropagation = false] - 当前类中事件是否停止冒泡, false时:事件冒泡到layer中。
14377
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
14378
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
13643
14379
  */
13644
14380
  declare class CloudPrimitive extends BasePointPrimitive {
13645
14381
  constructor(options: {
@@ -13655,6 +14391,8 @@ declare class CloudPrimitive extends BasePointPrimitive {
13655
14391
  name?: string;
13656
14392
  show?: boolean;
13657
14393
  stopPropagation?: boolean;
14394
+ flyTo?: boolean;
14395
+ flyToOptions?: any;
13658
14396
  });
13659
14397
  /**
13660
14398
  * 当加载primitive数据的内部Cesium容器
@@ -13853,6 +14591,8 @@ declare namespace ConeTrackPrimitive {
13853
14591
  * @param [options.show = true] - 矢量数据是否显示
13854
14592
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
13855
14593
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
14594
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
14595
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
13856
14596
  */
13857
14597
  declare class ConeTrackPrimitive extends CylinderPrimitive {
13858
14598
  constructor(options: {
@@ -13882,6 +14622,8 @@ declare class ConeTrackPrimitive extends CylinderPrimitive {
13882
14622
  show?: boolean;
13883
14623
  eventParent?: BaseClass | boolean;
13884
14624
  allowDrillPick?: boolean | ((...params: any[]) => any);
14625
+ flyTo?: boolean;
14626
+ flyToOptions?: any;
13885
14627
  });
13886
14628
  /**
13887
14629
  * 追踪的目标位置(确定了方向和距离)
@@ -13996,6 +14738,8 @@ declare namespace CorridorPrimitive {
13996
14738
  * @param [options.show = true] - 矢量数据是否显示
13997
14739
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
13998
14740
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
14741
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
14742
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
13999
14743
  */
14000
14744
  declare class CorridorPrimitive extends BasePolyPrimitive {
14001
14745
  constructor(options: {
@@ -14024,6 +14768,8 @@ declare class CorridorPrimitive extends BasePolyPrimitive {
14024
14768
  show?: boolean;
14025
14769
  eventParent?: BaseClass | boolean;
14026
14770
  allowDrillPick?: boolean | ((...params: any[]) => any);
14771
+ flyTo?: boolean;
14772
+ flyToOptions?: any;
14027
14773
  });
14028
14774
  }
14029
14775
 
@@ -14114,6 +14860,8 @@ declare namespace CylinderPrimitive {
14114
14860
  * @param [options.show = true] - 矢量数据是否显示
14115
14861
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
14116
14862
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
14863
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
14864
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
14117
14865
  */
14118
14866
  declare class CylinderPrimitive extends BasePointPrimitive {
14119
14867
  constructor(options: {
@@ -14143,6 +14891,8 @@ declare class CylinderPrimitive extends BasePointPrimitive {
14143
14891
  show?: boolean;
14144
14892
  eventParent?: BaseClass | boolean;
14145
14893
  allowDrillPick?: boolean | ((...params: any[]) => any);
14894
+ flyTo?: boolean;
14895
+ flyToOptions?: any;
14146
14896
  });
14147
14897
  }
14148
14898
 
@@ -14183,6 +14933,8 @@ declare namespace DiffuseWall {
14183
14933
  * @param [options.show = true] - 矢量数据是否显示
14184
14934
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
14185
14935
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
14936
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
14937
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
14186
14938
  */
14187
14939
  declare class DiffuseWall extends BasePolyPrimitive {
14188
14940
  constructor(options: {
@@ -14200,6 +14952,8 @@ declare class DiffuseWall extends BasePolyPrimitive {
14200
14952
  show?: boolean;
14201
14953
  eventParent?: BaseClass | boolean;
14202
14954
  allowDrillPick?: boolean | ((...params: any[]) => any);
14955
+ flyTo?: boolean;
14956
+ flyToOptions?: any;
14203
14957
  });
14204
14958
  /**
14205
14959
  * 圆形时,位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
@@ -14223,6 +14977,119 @@ declare class DiffuseWall extends BasePolyPrimitive {
14223
14977
  readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
14224
14978
  }
14225
14979
 
14980
+ declare namespace DoubleSidedPlane {
14981
+ /**
14982
+ * 双面渲染图片平面 支持的样式信息
14983
+ * @property [dimensions_x = 100] - 长度
14984
+ * @property [dimensions_y = 100] - 宽度
14985
+ * @property [image] - 填充的图片
14986
+ * @property [opacity = 1.0] - 透明度, 取值范围:0.0-1.0
14987
+ * @property [color = Cesium.Color.WHITE] - 颜色
14988
+ * @property [speed = 0] - 不为0时呈现图片滚动效果,数字代表滚动速度
14989
+ * @property [flipx = false] - 是否X方向翻转图片
14990
+ * @property [flipy = false] - 是否Y方向翻转图片
14991
+ * @property [noWhite = true] - 是否不显示白色,true时没有加载完成前的白色闪烁,但也不支持纯白色的图片
14992
+ * @property [heading = 0] - 方向角 (度数值,0-360度)
14993
+ * @property [pitch = 0] - 俯仰角(度数值,0-360度)
14994
+ * @property [roll = 0] - 翻滚角(度数值,0-360度)
14995
+ *
14996
+ * //以下是 这是MaterialAppearance的参数
14997
+ * @property [flat = false] - 当true时,在片段着色器中使用平面着色,不考虑光照。
14998
+ * @property [faceForward = !closed] - 当true时,片段着色器根据需要翻转表面的法线,以确保法线面向查看器以避免黑点。
14999
+ * @property [translucent = true] - 当true时,几何图形将显示为半透明,因此{@link Cesium.PerInstanceColorAppearance#renderState}将启用alpha混合。
15000
+ * @property [closed = false] - 当true时,几何图形将被关闭,因此{@link Cesium.PerInstanceColorAppearance#renderState}启用了背面剔除。
15001
+ * @property [vertexShaderSource] - 可选的GLSL顶点着色器源,覆盖默认的顶点着色器。
15002
+ * @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
15003
+ * @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
15004
+ */
15005
+ type StyleOptions = any | {
15006
+ dimensions_x?: number;
15007
+ dimensions_y?: number;
15008
+ image?: string;
15009
+ opacity?: number;
15010
+ color?: string | Cesium.Color;
15011
+ speed?: number;
15012
+ flipx?: boolean;
15013
+ flipy?: boolean;
15014
+ noWhite?: boolean;
15015
+ heading?: number;
15016
+ pitch?: number;
15017
+ roll?: number;
15018
+ flat?: boolean;
15019
+ faceForward?: boolean;
15020
+ translucent?: boolean;
15021
+ closed?: boolean;
15022
+ vertexShaderSource?: string;
15023
+ fragmentShaderSource?: string;
15024
+ renderState?: any;
15025
+ };
15026
+ }
15027
+
15028
+ /**
15029
+ * 双面渲染图片平面 Primitive图元矢量对象
15030
+ * @param options - 参数对象,包括以下:
15031
+ * @param options.position - 坐标位置
15032
+ * @param [options.modelMatrix] - 将图元(所有几何实例)从模型转换为世界坐标的4x4变换矩阵,可以替代position。
15033
+ * @param options.style - 样式信息
15034
+ * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
15035
+ * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
15036
+ * @param [options.attributes] - [cesium原生]每个实例的属性。
15037
+ * @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
15038
+ * @param [options.vertexCacheOptimize = false] - 当true,几何顶点优化前和后顶点着色缓存。
15039
+ * @param [options.interleave = false] - 当true时,几何顶点属性被交叉,这可以略微提高渲染性能,但会增加加载时间。
15040
+ * @param [options.compressVertices = true] - 当true时,几何顶点被压缩,这将节省内存。提升效率。
15041
+ * @param [options.releaseGeometryInstances = true] - 当true时,图元不保留对输入geometryInstances的引用以节省内存。
15042
+ * @param [options.allowPicking = true] - 当true时,每个几何图形实例只能通过{@link Scene#pick}进行挑选。当false时,保存GPU内存。
15043
+ * @param [options.cull = true] - 当true时,渲染器会根据图元的边界体积来剔除它们的截锥和地平线。设置为false,如果你手动剔除图元,可以获得较小的性能提升。
15044
+ * @param [options.asynchronous = true] - 确定该图元是异步创建还是阻塞创建,直到就绪。
15045
+ * @param [options.debugShowBoundingVolume = false] - 仅供调试。确定该图元命令的边界球是否显示。
15046
+ * @param [options.debugShowShadowVolume = false] - 仅供调试。贴地时,确定是否绘制了图元中每个几何图形的阴影体积。必须是true创建卷之前要释放几何图形或选项。releaseGeometryInstance必须是false。
15047
+ * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
15048
+ * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
15049
+ * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
15050
+ * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
15051
+ * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
15052
+ * @param [options.id = createGuid()] - 矢量数据id标识
15053
+ * @param [options.name = ''] - 矢量数据名称
15054
+ * @param [options.show = true] - 矢量数据是否显示
15055
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15056
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15057
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15058
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15059
+ */
15060
+ declare class DoubleSidedPlane extends BasePointPrimitive {
15061
+ constructor(options: {
15062
+ position: LngLatPoint | Cesium.Cartesian3 | number[];
15063
+ modelMatrix?: Cesium.Matrix4;
15064
+ style: DoubleSidedPlane.StyleOptions | any;
15065
+ attr?: any;
15066
+ appearance?: Cesium.Appearance;
15067
+ attributes?: Cesium.Appearance;
15068
+ depthFailAppearance?: Cesium.Appearance;
15069
+ vertexCacheOptimize?: boolean;
15070
+ interleave?: boolean;
15071
+ compressVertices?: boolean;
15072
+ releaseGeometryInstances?: boolean;
15073
+ allowPicking?: boolean;
15074
+ cull?: boolean;
15075
+ asynchronous?: boolean;
15076
+ debugShowBoundingVolume?: boolean;
15077
+ debugShowShadowVolume?: boolean;
15078
+ popup?: string | any[] | ((...params: any[]) => any);
15079
+ popupOptions?: Popup.StyleOptions | any;
15080
+ tooltip?: string | any[] | ((...params: any[]) => any);
15081
+ tooltipOptions?: Tooltip.StyleOptions | any;
15082
+ contextmenuItems?: any;
15083
+ id?: string | number;
15084
+ name?: string;
15085
+ show?: boolean;
15086
+ eventParent?: BaseClass | boolean;
15087
+ allowDrillPick?: boolean | ((...params: any[]) => any);
15088
+ flyTo?: boolean;
15089
+ flyToOptions?: any;
15090
+ });
15091
+ }
15092
+
14226
15093
  declare namespace DynamicRiver {
14227
15094
  /**
14228
15095
  * 动态河流 支持的样式信息
@@ -14258,6 +15125,8 @@ declare namespace DynamicRiver {
14258
15125
  * @param [options.show = true] - 矢量数据是否显示
14259
15126
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
14260
15127
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15128
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15129
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
14261
15130
  */
14262
15131
  declare class DynamicRiver extends BasePolyPrimitive {
14263
15132
  constructor(options: {
@@ -14269,6 +15138,8 @@ declare class DynamicRiver extends BasePolyPrimitive {
14269
15138
  show?: boolean;
14270
15139
  eventParent?: BaseClass | boolean;
14271
15140
  allowDrillPick?: boolean | ((...params: any[]) => any);
15141
+ flyTo?: boolean;
15142
+ flyToOptions?: any;
14272
15143
  });
14273
15144
  /**
14274
15145
  * 图片材质URL
@@ -14432,6 +15303,8 @@ declare namespace EllipsoidPrimitive {
14432
15303
  * @param [options.show = true] - 矢量数据是否显示
14433
15304
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
14434
15305
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15306
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15307
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
14435
15308
  */
14436
15309
  declare class EllipsoidPrimitive extends BasePointPrimitive {
14437
15310
  constructor(options: {
@@ -14461,6 +15334,8 @@ declare class EllipsoidPrimitive extends BasePointPrimitive {
14461
15334
  show?: boolean;
14462
15335
  eventParent?: BaseClass | boolean;
14463
15336
  allowDrillPick?: boolean | ((...params: any[]) => any);
15337
+ flyTo?: boolean;
15338
+ flyToOptions?: any;
14464
15339
  });
14465
15340
  }
14466
15341
 
@@ -14549,6 +15424,8 @@ declare namespace FrustumPrimitive {
14549
15424
  * @param [options.show = true] - 矢量数据是否显示
14550
15425
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
14551
15426
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15427
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15428
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
14552
15429
  */
14553
15430
  declare class FrustumPrimitive extends BasePointPrimitive {
14554
15431
  constructor(options: {
@@ -14578,6 +15455,8 @@ declare class FrustumPrimitive extends BasePointPrimitive {
14578
15455
  show?: boolean;
14579
15456
  eventParent?: BaseClass | boolean;
14580
15457
  allowDrillPick?: boolean | ((...params: any[]) => any);
15458
+ flyTo?: boolean;
15459
+ flyToOptions?: any;
14581
15460
  });
14582
15461
  /**
14583
15462
  * 圆锥追踪的目标(确定了方向和距离)
@@ -14653,6 +15532,8 @@ declare namespace LabelPrimitive {
14653
15532
  * @param [options.show = true] - 矢量数据是否显示
14654
15533
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
14655
15534
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15535
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15536
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
14656
15537
  */
14657
15538
  declare class LabelPrimitive extends BasePointPrimitive {
14658
15539
  constructor(options: {
@@ -14674,6 +15555,8 @@ declare class LabelPrimitive extends BasePointPrimitive {
14674
15555
  show?: boolean;
14675
15556
  eventParent?: BaseClass | boolean;
14676
15557
  allowDrillPick?: boolean | ((...params: any[]) => any);
15558
+ flyTo?: boolean;
15559
+ flyToOptions?: any;
14677
15560
  });
14678
15561
  /**
14679
15562
  * 当加载primitive数据的内部Cesium容器
@@ -14725,6 +15608,8 @@ declare namespace LightCone {
14725
15608
  * @param [options.show = true] - 矢量数据是否显示
14726
15609
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
14727
15610
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15611
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15612
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
14728
15613
  */
14729
15614
  declare class LightCone extends BasePointPrimitive {
14730
15615
  constructor(options: {
@@ -14741,6 +15626,8 @@ declare class LightCone extends BasePointPrimitive {
14741
15626
  show?: boolean;
14742
15627
  eventParent?: BaseClass | boolean;
14743
15628
  allowDrillPick?: boolean | ((...params: any[]) => any);
15629
+ flyTo?: boolean;
15630
+ flyToOptions?: any;
14744
15631
  });
14745
15632
  /**
14746
15633
  * 颜色
@@ -14803,9 +15690,6 @@ declare namespace ModelPrimitive {
14803
15690
  * @property [dequantizeInShader = true] - 确定一个{@link https://github.com/google/draco|Draco}编码的模型是否在GPU上被去量化。这减少了编码模型的总内存使用量。
14804
15691
  * @property [backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除是由材料的双面属性决定的;当为false时,禁用背面剔除。如果{@link Model#color}是半透明的,或者{@link Model#silhouette}大于0.0,则背面不会被剔除。
14805
15692
  * @property [debugShowBoundingVolume = false] - 仅供调试。查看模型的包围边界球。
14806
- * @property [debugWireframe = false] - 仅供调试。查看模型的三角网线框图。
14807
- *
14808
- * //以下是 以下是 模型动画相关
14809
15693
  * @property [startTime] - 场景时间开始播放动画。当undefined时,动画从下一帧开始。
14810
15694
  * @property [delay = 0.0] - 从startTime开始播放的延迟,以秒为单位。
14811
15695
  * @property [stopTime] - 场景时间停止播放动画。当这是undefined,动画播放它的整个持续时间。
@@ -14817,6 +15701,10 @@ declare namespace ModelPrimitive {
14817
15701
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
14818
15702
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
14819
15703
  * @property [label] - 支持附带文字的显示
15704
+ * @param [options.enableDebugWireframe = false] - 仅供调试。是否可以通过debugWireframe来切换查看模型的三角网线框图。
15705
+ * @param [options.debugWireframe = false] - 仅供调试。是否打开模型的三角网线框图。
15706
+ *
15707
+ * //以下是 以下是 模型动画相关
14820
15708
  */
14821
15709
  type StyleOptions = any | {
14822
15710
  url?: string | Cesium.Resource;
@@ -14865,7 +15753,6 @@ declare namespace ModelPrimitive {
14865
15753
  dequantizeInShader?: boolean;
14866
15754
  backFaceCulling?: boolean;
14867
15755
  debugShowBoundingVolume?: boolean;
14868
- debugWireframe?: boolean;
14869
15756
  startTime?: Cesium.JulianDate;
14870
15757
  delay?: number;
14871
15758
  stopTime?: Cesium.JulianDate;
@@ -14907,6 +15794,8 @@ declare namespace ModelPrimitive {
14907
15794
  * @param [options.show = true] - 矢量数据是否显示
14908
15795
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
14909
15796
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15797
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15798
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
14910
15799
  */
14911
15800
  declare class ModelPrimitive extends BasePointPrimitive {
14912
15801
  constructor(options: {
@@ -14934,6 +15823,8 @@ declare class ModelPrimitive extends BasePointPrimitive {
14934
15823
  show?: boolean;
14935
15824
  eventParent?: BaseClass | boolean;
14936
15825
  allowDrillPick?: boolean | ((...params: any[]) => any);
15826
+ flyTo?: boolean;
15827
+ flyToOptions?: any;
14937
15828
  });
14938
15829
  /**
14939
15830
  * 模型整体的缩放比例
@@ -14969,7 +15860,7 @@ declare namespace Pit {
14969
15860
  * @property image - 井墙面贴图URL
14970
15861
  * @property imageBottom - 井底面贴图URL
14971
15862
  * @property diffHeight - 井下深度(单位:米)
14972
- * @property [splitNum = 50] - 井墙面每两点之间插值个数
15863
+ * @property [splitNum = 50] - 井墙面每两点之间插值个数(概略值,有经纬网网格来插值)
14973
15864
  * @property [label] - 支持附带文字的显示
14974
15865
  */
14975
15866
  type StyleOptions = any | {
@@ -15010,6 +15901,8 @@ declare namespace Pit {
15010
15901
  * @param [options.show = true] - 矢量数据是否显示
15011
15902
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15012
15903
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15904
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15905
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15013
15906
  */
15014
15907
  declare class Pit extends BasePolyPrimitive {
15015
15908
  constructor(options: {
@@ -15038,6 +15931,8 @@ declare class Pit extends BasePolyPrimitive {
15038
15931
  show?: boolean;
15039
15932
  eventParent?: BaseClass | boolean;
15040
15933
  allowDrillPick?: boolean | ((...params: any[]) => any);
15934
+ flyTo?: boolean;
15935
+ flyToOptions?: any;
15041
15936
  });
15042
15937
  /**
15043
15938
  * 井下深度(单位:米)
@@ -15138,6 +16033,8 @@ declare namespace PlanePrimitive {
15138
16033
  * @param [options.show = true] - 矢量数据是否显示
15139
16034
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15140
16035
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16036
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16037
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15141
16038
  */
15142
16039
  declare class PlanePrimitive extends BasePointPrimitive {
15143
16040
  constructor(options: {
@@ -15167,6 +16064,8 @@ declare class PlanePrimitive extends BasePointPrimitive {
15167
16064
  show?: boolean;
15168
16065
  eventParent?: BaseClass | boolean;
15169
16066
  allowDrillPick?: boolean | ((...params: any[]) => any);
16067
+ flyTo?: boolean;
16068
+ flyToOptions?: any;
15170
16069
  });
15171
16070
  /**
15172
16071
  * 用于指定位置的矩阵
@@ -15246,6 +16145,8 @@ declare namespace PointPrimitive {
15246
16145
  * @param [options.show = true] - 矢量数据是否显示
15247
16146
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15248
16147
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16148
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16149
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15249
16150
  */
15250
16151
  declare class PointPrimitive extends BasePointPrimitive {
15251
16152
  constructor(options: {
@@ -15268,6 +16169,8 @@ declare class PointPrimitive extends BasePointPrimitive {
15268
16169
  show?: boolean;
15269
16170
  eventParent?: BaseClass | boolean;
15270
16171
  allowDrillPick?: boolean | ((...params: any[]) => any);
16172
+ flyTo?: boolean;
16173
+ flyToOptions?: any;
15271
16174
  });
15272
16175
  /**
15273
16176
  * 当加载primitive数据的内部Cesium容器
@@ -15297,6 +16200,7 @@ declare namespace PolygonPrimitive {
15297
16200
  * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定每个纬度点和经度点之间的角距离。
15298
16201
  * @property [closeTop = true] - 当为false时,离开一个挤压多边形的顶部打开。
15299
16202
  * @property [closeBottom = true] - 当为false时,离开挤压多边形的底部打开。
16203
+ * @property [textureCoordinates] - 纹理坐标,是Cartesian2的UV坐标数组的多边形层次结构。对贴地对象无效。
15300
16204
  * @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
15301
16205
  * @property [distanceDisplayCondition_far = 100000] - 最大距离
15302
16206
  * @property [distanceDisplayCondition_near = 0] - 最小距离
@@ -15320,8 +16224,8 @@ declare namespace PolygonPrimitive {
15320
16224
  * @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
15321
16225
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
15322
16226
  * @property [label] - 支持附带文字的显示 ,额外支持:<br />
15323
- * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
15324
- * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
16227
+ * // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
16228
+ * // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
15325
16229
  */
15326
16230
  type StyleOptions = any | {
15327
16231
  materialType?: string;
@@ -15343,6 +16247,7 @@ declare namespace PolygonPrimitive {
15343
16247
  granularity?: number;
15344
16248
  closeTop?: boolean;
15345
16249
  closeBottom?: boolean;
16250
+ textureCoordinates?: Cesium.PolygonHierarchy;
15346
16251
  distanceDisplayCondition?: boolean | Cesium.DistanceDisplayConditionGeometryInstanceAttribute;
15347
16252
  distanceDisplayCondition_far?: number;
15348
16253
  distanceDisplayCondition_near?: number;
@@ -15395,6 +16300,8 @@ declare namespace PolygonPrimitive {
15395
16300
  * @param [options.show = true] - 矢量数据是否显示
15396
16301
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15397
16302
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16303
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16304
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15398
16305
  */
15399
16306
  declare class PolygonPrimitive extends BasePolyPrimitive {
15400
16307
  constructor(options: {
@@ -15423,6 +16330,8 @@ declare class PolygonPrimitive extends BasePolyPrimitive {
15423
16330
  show?: boolean;
15424
16331
  eventParent?: BaseClass | boolean;
15425
16332
  allowDrillPick?: boolean | ((...params: any[]) => any);
16333
+ flyTo?: boolean;
16334
+ flyToOptions?: any;
15426
16335
  });
15427
16336
  /**
15428
16337
  * 周长 距离(单位:米)
@@ -15467,8 +16376,8 @@ declare namespace PolylinePrimitive {
15467
16376
  * @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
15468
16377
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
15469
16378
  * @property [label] - 支持附带文字的显示 ,额外支持:<br />
15470
- * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
15471
- * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
16379
+ * // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
16380
+ * // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
15472
16381
  */
15473
16382
  type StyleOptions = any | {
15474
16383
  width?: number;
@@ -15528,6 +16437,8 @@ declare namespace PolylinePrimitive {
15528
16437
  * @param [options.show = true] - 矢量数据是否显示
15529
16438
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15530
16439
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16440
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16441
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15531
16442
  */
15532
16443
  declare class PolylinePrimitive extends BasePolyPrimitive {
15533
16444
  constructor(options: {
@@ -15556,65 +16467,8 @@ declare class PolylinePrimitive extends BasePolyPrimitive {
15556
16467
  show?: boolean;
15557
16468
  eventParent?: BaseClass | boolean;
15558
16469
  allowDrillPick?: boolean | ((...params: any[]) => any);
15559
- });
15560
- }
15561
-
15562
- /**
15563
- * 简单线 Primitive图元 矢量对象
15564
- * @param options - 参数对象,包括以下:
15565
- * @param options.positions - 坐标位置
15566
- * @param options.style - 样式信息
15567
- * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
15568
- * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
15569
- * @param [options.attributes] - [cesium原生]每个实例的属性。
15570
- * @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
15571
- * @param [options.vertexCacheOptimize = false] - 当true,几何顶点优化前和后顶点着色缓存。
15572
- * @param [options.interleave = false] - 当true时,几何顶点属性被交叉,这可以略微提高渲染性能,但会增加加载时间。
15573
- * @param [options.compressVertices = true] - 当true时,几何顶点被压缩,这将节省内存。提升效率。
15574
- * @param [options.releaseGeometryInstances = true] - 当true时,图元不保留对输入geometryInstances的引用以节省内存。
15575
- * @param [options.allowPicking = true] - 当true时,每个几何图形实例只能通过{@link Scene#pick}进行挑选。当false时,保存GPU内存。
15576
- * @param [options.cull = true] - 当true时,渲染器会根据图元的边界体积来剔除它们的截锥和地平线。设置为false,如果你手动剔除图元,可以获得较小的性能提升。
15577
- * @param [options.asynchronous = true] - 确定该图元是异步创建还是阻塞创建,直到就绪。
15578
- * @param [options.debugShowBoundingVolume = false] - 仅供调试。确定该图元命令的边界球是否显示。
15579
- * @param [options.debugShowShadowVolume = false] - 仅供调试。贴地时,确定是否绘制了图元中每个几何图形的阴影体积。必须是true创建卷之前要释放几何图形或选项。releaseGeometryInstance必须是false。
15580
- * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
15581
- * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
15582
- * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
15583
- * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
15584
- * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
15585
- * @param [options.id = createGuid()] - 矢量数据id标识
15586
- * @param [options.name = ''] - 矢量数据名称
15587
- * @param [options.show = true] - 矢量数据是否显示
15588
- * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15589
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15590
- */
15591
- declare class PolylineSimplePrimitive extends BasePolyPrimitive {
15592
- constructor(options: {
15593
- positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
15594
- style: PolylinePrimitive.StyleOptions | any;
15595
- attr?: any;
15596
- appearance?: Cesium.Appearance;
15597
- attributes?: Cesium.Appearance;
15598
- depthFailAppearance?: Cesium.Appearance;
15599
- vertexCacheOptimize?: boolean;
15600
- interleave?: boolean;
15601
- compressVertices?: boolean;
15602
- releaseGeometryInstances?: boolean;
15603
- allowPicking?: boolean;
15604
- cull?: boolean;
15605
- asynchronous?: boolean;
15606
- debugShowBoundingVolume?: boolean;
15607
- debugShowShadowVolume?: boolean;
15608
- popup?: string | any[] | ((...params: any[]) => any);
15609
- popupOptions?: Popup.StyleOptions | any;
15610
- tooltip?: string | any[] | ((...params: any[]) => any);
15611
- tooltipOptions?: Tooltip.StyleOptions | any;
15612
- contextmenuItems?: any;
15613
- id?: string | number;
15614
- name?: string;
15615
- show?: boolean;
15616
- eventParent?: BaseClass | boolean;
15617
- allowDrillPick?: boolean | ((...params: any[]) => any);
16470
+ flyTo?: boolean;
16471
+ flyToOptions?: any;
15618
16472
  });
15619
16473
  }
15620
16474
 
@@ -15710,6 +16564,8 @@ declare namespace PolylineVolumePrimitive {
15710
16564
  * @param [options.show = true] - 矢量数据是否显示
15711
16565
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15712
16566
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16567
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16568
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15713
16569
  */
15714
16570
  declare class PolylineVolumePrimitive extends BasePolyPrimitive {
15715
16571
  constructor(options: {
@@ -15738,6 +16594,8 @@ declare class PolylineVolumePrimitive extends BasePolyPrimitive {
15738
16594
  show?: boolean;
15739
16595
  eventParent?: BaseClass | boolean;
15740
16596
  allowDrillPick?: boolean | ((...params: any[]) => any);
16597
+ flyTo?: boolean;
16598
+ flyToOptions?: any;
15741
16599
  });
15742
16600
  }
15743
16601
 
@@ -15828,6 +16686,8 @@ declare namespace RectanglePrimitive {
15828
16686
  * @param [options.show = true] - 矢量数据是否显示
15829
16687
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15830
16688
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16689
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16690
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15831
16691
  */
15832
16692
  declare class RectanglePrimitive extends BasePolyPrimitive {
15833
16693
  constructor(options: {
@@ -15857,6 +16717,8 @@ declare class RectanglePrimitive extends BasePolyPrimitive {
15857
16717
  show?: boolean;
15858
16718
  eventParent?: BaseClass | boolean;
15859
16719
  allowDrillPick?: boolean | ((...params: any[]) => any);
16720
+ flyTo?: boolean;
16721
+ flyToOptions?: any;
15860
16722
  });
15861
16723
  /**
15862
16724
  * 坐标数据对应的矩形边界对象
@@ -15891,6 +16753,111 @@ declare class RectanglePrimitive extends BasePolyPrimitive {
15891
16753
  readonly area: number;
15892
16754
  }
15893
16755
 
16756
+ declare namespace ReflectionWater {
16757
+ /**
16758
+ * 反射水面(显示模型倒影) Primitive图元 支持的样式信息
16759
+ * @property [color = "#123e59"] - 水面的颜色
16760
+ * @property [opacity = 0.9] - 透明度,取值范围:0.0-1.0
16761
+ * @property [normalMap] - 水正常扰动的法线图
16762
+ * @property [reflectivity = 0.5] - 水面反射率,取值范围:0.0-1.0
16763
+ * @property [ripple = 50.0] - 波纹大小(数值越大,波纹越密集)
16764
+ * @property [distortion = 3.7] - 倒影的扭曲程度
16765
+ * @property [shiny = 100.0] - 光照强度
16766
+ * @property [lightDirection = new Cesium.Cartesian3(0, 0, 1)] - 光照方向,单位向量。原点为水面中心点,水面中心点由 options.positions 决定,X、Y、Z轴对应水面中心点的东、北、上方向。(默认为0,0,1)
16767
+ * @property [stRotation = 0] - 水流方向的角度(弧度值),正北为0,逆时针旋转
16768
+ * @property [stRotationDegree = 0] - 水流方向的角度(度数值,0-360度),与stRotation二选一
16769
+ * @property [height = 0] - 高程,圆相对于椭球面的高度。
16770
+ * @property [diffHeight = 100] - 高度差(走廊本身的高度),与extrudedHeight二选一。
16771
+ * @property [extrudedHeight] - 指定走廊挤压面相对于椭球面的高度。
16772
+ * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定每个纬度点和经度点之间的角距离。
16773
+ * @property [closeTop = true] - 当为false时,离开一个挤压多边形的顶部打开。
16774
+ * @property [closeBottom = true] - 当为false时,离开挤压多边形的底部打开。
16775
+ * @property [arcType = Cesium.ArcType.GEODESIC] - 多边形的边缘必须遵循的线条类型。
16776
+ */
16777
+ type StyleOptions = any | {
16778
+ color?: string;
16779
+ opacity?: number;
16780
+ normalMap?: string;
16781
+ reflectivity?: number;
16782
+ ripple?: number;
16783
+ distortion?: number;
16784
+ shiny?: number;
16785
+ lightDirection?: Cesium.Cartesian3;
16786
+ stRotation?: number;
16787
+ stRotationDegree?: number;
16788
+ height?: number;
16789
+ diffHeight?: number;
16790
+ extrudedHeight?: number;
16791
+ granularity?: number;
16792
+ closeTop?: boolean;
16793
+ closeBottom?: boolean;
16794
+ arcType?: Cesium.ArcType;
16795
+ };
16796
+ }
16797
+
16798
+ /**
16799
+ * 反射水面(显示模型倒影) Primitive图元 矢量对象
16800
+ * @param options - 参数对象,包括以下:
16801
+ * @param options.positions - 坐标位置
16802
+ * @param options.style - 样式信息
16803
+ * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
16804
+ * @param [options.vertexCacheOptimize = false] - 当true,几何顶点优化前和后顶点着色缓存。
16805
+ * @param [options.interleave = false] - 当true时,几何顶点属性被交叉,这可以略微提高渲染性能,但会增加加载时间。
16806
+ * @param [options.compressVertices = true] - 当true时,几何顶点被压缩,这将节省内存。提升效率。
16807
+ * @param [options.releaseGeometryInstances = true] - 当true时,图元不保留对输入geometryInstances的引用以节省内存。
16808
+ * @param [options.allowPicking = true] - 当true时,每个几何图形实例只能通过{@link Scene#pick}进行挑选。当false时,保存GPU内存。
16809
+ * @param [options.cull = true] - 当true时,渲染器会根据图元的边界体积来剔除它们的截锥和地平线。设置为false,如果你手动剔除图元,可以获得较小的性能提升。
16810
+ * @param [options.asynchronous = true] - 确定该图元是异步创建还是阻塞创建,直到就绪。
16811
+ * @param [options.debugShowBoundingVolume = false] - 仅供调试。确定该图元命令的边界球是否显示。
16812
+ * @param [options.debugShowShadowVolume = false] - 仅供调试。贴地时,确定是否绘制了图元中每个几何图形的阴影体积。必须是true创建卷之前要释放几何图形或选项。releaseGeometryInstance必须是false。
16813
+ * @param [options.frameRate = 1] - 多少帧刷新渲染一次。用于控制效率,如果卡顿就把该数值调大一些。
16814
+ * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
16815
+ * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
16816
+ * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
16817
+ * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
16818
+ * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
16819
+ * @param [options.id = createGuid()] - 矢量数据id标识
16820
+ * @param [options.name = ''] - 矢量数据名称
16821
+ * @param [options.show = true] - 矢量数据是否显示
16822
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
16823
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16824
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16825
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
16826
+ */
16827
+ declare class ReflectionWater extends PolygonPrimitive {
16828
+ constructor(options: {
16829
+ positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
16830
+ style: ReflectionWater.StyleOptions | any;
16831
+ attr?: any;
16832
+ vertexCacheOptimize?: boolean;
16833
+ interleave?: boolean;
16834
+ compressVertices?: boolean;
16835
+ releaseGeometryInstances?: boolean;
16836
+ allowPicking?: boolean;
16837
+ cull?: boolean;
16838
+ asynchronous?: boolean;
16839
+ debugShowBoundingVolume?: boolean;
16840
+ debugShowShadowVolume?: boolean;
16841
+ frameRate?: number;
16842
+ popup?: string | any[] | ((...params: any[]) => any);
16843
+ popupOptions?: Popup.StyleOptions | any;
16844
+ tooltip?: string | any[] | ((...params: any[]) => any);
16845
+ tooltipOptions?: Tooltip.StyleOptions | any;
16846
+ contextmenuItems?: any;
16847
+ id?: string | number;
16848
+ name?: string;
16849
+ show?: boolean;
16850
+ eventParent?: BaseClass | boolean;
16851
+ allowDrillPick?: boolean | ((...params: any[]) => any);
16852
+ flyTo?: boolean;
16853
+ flyToOptions?: any;
16854
+ });
16855
+ /**
16856
+ * 高度
16857
+ */
16858
+ height: number;
16859
+ }
16860
+
15894
16861
  declare namespace Road {
15895
16862
  /**
15896
16863
  * 道路 支持的样式信息
@@ -15918,6 +16885,8 @@ declare namespace Road {
15918
16885
  * @param [options.show = true] - 矢量数据是否显示
15919
16886
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15920
16887
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16888
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16889
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15921
16890
  */
15922
16891
  declare class Road extends DynamicRiver {
15923
16892
  constructor(options: {
@@ -15929,6 +16898,8 @@ declare class Road extends DynamicRiver {
15929
16898
  show?: boolean;
15930
16899
  eventParent?: BaseClass | boolean;
15931
16900
  allowDrillPick?: boolean | ((...params: any[]) => any);
16901
+ flyTo?: boolean;
16902
+ flyToOptions?: any;
15932
16903
  });
15933
16904
  }
15934
16905
 
@@ -15970,6 +16941,8 @@ declare namespace ScrollWall {
15970
16941
  * @param [options.show = true] - 矢量数据是否显示
15971
16942
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15972
16943
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16944
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16945
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15973
16946
  */
15974
16947
  declare class ScrollWall extends BasePolyPrimitive {
15975
16948
  constructor(options: {
@@ -15986,6 +16959,100 @@ declare class ScrollWall extends BasePolyPrimitive {
15986
16959
  show?: boolean;
15987
16960
  eventParent?: BaseClass | boolean;
15988
16961
  allowDrillPick?: boolean | ((...params: any[]) => any);
16962
+ flyTo?: boolean;
16963
+ flyToOptions?: any;
16964
+ });
16965
+ /**
16966
+ * 矢量数据对应的 Cesium内部对象 (不同子类中实现)
16967
+ */
16968
+ readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
16969
+ }
16970
+
16971
+ declare namespace ThickWall {
16972
+ /**
16973
+ * 有厚度的围墙效果 支持的样式信息
16974
+ * @property [diffHeight = 100] - 墙高
16975
+ * @property [width = 10] - 墙厚度
16976
+ * @property [materialType = "Color"] - 填充材质类型 ,可选项:{@link MaterialType}
16977
+ * @property [materialOptions] - materialType对应的{@link MaterialType}中材质参数
16978
+ * @property [material] - 指定用于填充的材质,指定material后`materialType`和`materialOptions`将被覆盖。
16979
+ * @property [color = "#3388ff"] - 颜色
16980
+ * @property [opacity = 1.0] - 透明度,取值范围:0.0-1.0
16981
+ * @property [closure = false] - 是否闭合
16982
+ * @property [hasShadows = false] - 是否阴影
16983
+ * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定折线是投射还是接收来自光源的阴影。
16984
+ *
16985
+ * //以下是 这是MaterialAppearance的参数
16986
+ * @property [flat = false] - 当true时,在片段着色器中使用平面着色,不考虑光照。
16987
+ * @property [faceForward = !closed] - 当true时,片段着色器根据需要翻转表面的法线,以确保法线面向查看器以避免黑点。
16988
+ * @property [translucent = true] - 当true时,几何图形将显示为半透明,因此{@link Cesium.PerInstanceColorAppearance#renderState}将启用alpha混合。
16989
+ * @property [closed = false] - 当true时,几何图形将被关闭,因此{@link Cesium.PerInstanceColorAppearance#renderState}启用了背面剔除。
16990
+ * @property [vertexShaderSource] - 可选的GLSL顶点着色器源,覆盖默认的顶点着色器。
16991
+ * @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
16992
+ * @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
16993
+ * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
16994
+ * @property [label] - 支持附带文字的显示 ,额外支持:<br />
16995
+ * // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
16996
+ */
16997
+ type StyleOptions = any | {
16998
+ diffHeight?: number;
16999
+ width?: number;
17000
+ materialType?: string;
17001
+ materialOptions?: any;
17002
+ material?: Cesium.Material;
17003
+ color?: string | Cesium.Color;
17004
+ opacity?: number;
17005
+ closure?: boolean;
17006
+ hasShadows?: boolean;
17007
+ shadows?: Cesium.ShadowMode;
17008
+ flat?: boolean;
17009
+ faceForward?: boolean;
17010
+ translucent?: boolean;
17011
+ closed?: boolean;
17012
+ vertexShaderSource?: string;
17013
+ fragmentShaderSource?: string;
17014
+ renderState?: any;
17015
+ highlight?: WallPrimitive.StyleOptions | any;
17016
+ label?: LabelPrimitive.StyleOptions | any | any;
17017
+ };
17018
+ }
17019
+
17020
+ /**
17021
+ * 有厚度的围墙效果 矢量对象
17022
+ * @param options - 参数对象,包括以下:
17023
+ * @param options.positions - 坐标位置
17024
+ * @param options.style - 样式信息
17025
+ * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
17026
+ * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
17027
+ * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
17028
+ * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
17029
+ * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
17030
+ * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
17031
+ * @param [options.id = createGuid()] - 矢量数据id标识
17032
+ * @param [options.name = ''] - 矢量数据名称
17033
+ * @param [options.show = true] - 矢量数据是否显示
17034
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
17035
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
17036
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
17037
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
17038
+ */
17039
+ declare class ThickWall extends BasePolyPrimitive {
17040
+ constructor(options: {
17041
+ positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
17042
+ style: ThickWall.StyleOptions | any;
17043
+ attr?: any;
17044
+ popup?: string | any[] | ((...params: any[]) => any);
17045
+ popupOptions?: Popup.StyleOptions | any;
17046
+ tooltip?: string | any[] | ((...params: any[]) => any);
17047
+ tooltipOptions?: Tooltip.StyleOptions | any;
17048
+ contextmenuItems?: any;
17049
+ id?: string | number;
17050
+ name?: string;
17051
+ show?: boolean;
17052
+ eventParent?: BaseClass | boolean;
17053
+ allowDrillPick?: boolean | ((...params: any[]) => any);
17054
+ flyTo?: boolean;
17055
+ flyToOptions?: any;
15989
17056
  });
15990
17057
  /**
15991
17058
  * 矢量数据对应的 Cesium内部对象 (不同子类中实现)
@@ -16019,8 +17086,8 @@ declare namespace WallPrimitive {
16019
17086
  * @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
16020
17087
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
16021
17088
  * @property [label] - 支持附带文字的显示 ,额外支持:<br />
16022
- * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
16023
- * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
17089
+ * // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
17090
+ * // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
16024
17091
  */
16025
17092
  type StyleOptions = any | {
16026
17093
  diffHeight?: number;
@@ -16075,6 +17142,8 @@ declare namespace WallPrimitive {
16075
17142
  * @param [options.show = true] - 矢量数据是否显示
16076
17143
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
16077
17144
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
17145
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
17146
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
16078
17147
  */
16079
17148
  declare class WallPrimitive extends BasePolyPrimitive {
16080
17149
  constructor(options: {
@@ -16103,6 +17172,8 @@ declare class WallPrimitive extends BasePolyPrimitive {
16103
17172
  show?: boolean;
16104
17173
  eventParent?: BaseClass | boolean;
16105
17174
  allowDrillPick?: boolean | ((...params: any[]) => any);
17175
+ flyTo?: boolean;
17176
+ flyToOptions?: any;
16106
17177
  });
16107
17178
  }
16108
17179
 
@@ -16149,8 +17220,8 @@ declare namespace Water {
16149
17220
  * @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
16150
17221
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
16151
17222
  * @property [label] - 支持附带文字的显示 ,额外支持:<br />
16152
- * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
16153
- * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
17223
+ * // * @property {string|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
17224
+ * // * @property {boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
16154
17225
  */
16155
17226
  type StyleOptions = any | {
16156
17227
  baseWaterColor?: string;
@@ -16218,6 +17289,8 @@ declare namespace Water {
16218
17289
  * @param [options.show = true] - 矢量数据是否显示
16219
17290
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
16220
17291
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
17292
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
17293
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
16221
17294
  */
16222
17295
  declare class Water extends PolygonPrimitive {
16223
17296
  constructor(options: {
@@ -16243,6 +17316,8 @@ declare class Water extends PolygonPrimitive {
16243
17316
  show?: boolean;
16244
17317
  eventParent?: BaseClass | boolean;
16245
17318
  allowDrillPick?: boolean | ((...params: any[]) => any);
17319
+ flyTo?: boolean;
17320
+ flyToOptions?: any;
16246
17321
  });
16247
17322
  }
16248
17323
 
@@ -18547,6 +19622,11 @@ declare class GraphicLayer extends BaseGraphicLayer {
18547
19622
  crs?: string;
18548
19623
  onEachFeature?: (...params: any[]) => any;
18549
19624
  }): BaseGraphic[];
19625
+ /**
19626
+ * 获取当前图层聚合点列表
19627
+ * @returns 聚合点列表
19628
+ */
19629
+ getClusterList(): any[];
18550
19630
  /**
18551
19631
  * 设置透明度 , 非全部矢量数据都支持,具体需要对应Graphic支持才有效
18552
19632
  * @param value - 透明度
@@ -18788,6 +19868,252 @@ declare class GraticuleLayer extends BaseLayer {
18788
19868
  _mountedHook(): void;
18789
19869
  }
18790
19870
 
19871
+ declare namespace I3SLayer {
19872
+ /**
19873
+ * 当前类支持的{@link EventType}事件类型
19874
+ * @example
19875
+ * //绑定监听事件
19876
+ * layer.on(mars3d.EventType.load, function (event) {
19877
+ * console.log('矢量数据对象加载完成', event)
19878
+ * })
19879
+ * @property add - 添加对象
19880
+ * @property remove - 移除对象
19881
+ * @property show - 显示了对象
19882
+ * @property hide - 隐藏了对象
19883
+ * @property click - 左键单击 鼠标事件
19884
+ * @property rightClick - 右键单击 鼠标事件
19885
+ * @property mouseOver - 鼠标移入 鼠标事件
19886
+ * @property mouseOut - 鼠标移出 鼠标事件
19887
+ * @property popupOpen - popup弹窗打开后
19888
+ * @property popupClose - popup弹窗关闭
19889
+ * @property tooltipOpen - tooltip弹窗打开后
19890
+ * @property tooltipClose - tooltip弹窗关闭
19891
+ * @property loadBefore - 完成加载,但未做任何其他处理前
19892
+ * @property load - 完成加载,执行所有内部处理后
19893
+ */
19894
+ type EventType = {
19895
+ add: string;
19896
+ remove: string;
19897
+ show: string;
19898
+ hide: string;
19899
+ click: string;
19900
+ rightClick: string;
19901
+ mouseOver: string;
19902
+ mouseOut: string;
19903
+ popupOpen: string;
19904
+ popupClose: string;
19905
+ tooltipOpen: string;
19906
+ tooltipClose: string;
19907
+ loadBefore: string;
19908
+ load: string;
19909
+ };
19910
+ }
19911
+
19912
+ /**
19913
+ * I3S 三维模型图层。
19914
+ * @param options - 参数对象, 包括以下:
19915
+ * @param options.url - tileset的主JSON文件的 url ,ION资源时可以写 url: Cesium.IonResource.fromAssetId(8564),
19916
+ * @param [options.traceFetches = false] - 调试选项。当为true时,每当获取I3S tile时记录一条消息。
19917
+ * @param [options.geoidTiledTerrainProvider] - arcgis地形服务。如果定义了,I3S模型将基于此地形服务的偏移量进行移位。需要将与重力相关高度的I3S数据集定位在正确的位置。
19918
+ *
19919
+ * //以下是3dtiles图层参数
19920
+ * @param [options.maximumScreenSpaceError = 16] - 用于驱动细化细节级别的最大屏幕空间错误。可以简单理解为:数值加大,能让最终成像变模糊。
19921
+ * @param [options.maximumMemoryUsage = 512] - 数据集可以使用的最大内存量(以MB计),这个参数要根据当前客户端显卡显存来配置,如果我们场景只显示这一个模型数据,这个可以设置到显存的50% 左右,比如我的显存是4G,这个可以设置到2048左右。那么既保证不超过显存限制,又可以最大利用显存缓存。<br />
19922
+ * 解释:
19923
+ * 这个参数默认是512,也即是当几何体和纹理资源大于512MB的时候,cesium就会淘汰掉当前帧中没有visited的所有块,这个值其实很小,也是cesium为了避免资源占用过高的一个保障.<br />
19924
+ * 这个值如果设置的过小,导致cesium几乎每帧都在尝试淘汰数据,增加了遍历的时间,也同时增加了崩溃的风险。<br />
19925
+ * 这个值如果设置的过大,cesium的淘汰机制失效,那么容易导致显存超过显卡内存,也会导致崩溃。 这个值应该处于最差视角下资源占用 和 显存最大量之间。<br />
19926
+ * @param [options.style] - 模型样式, 使用{@link https://github.com/CesiumGS/3d-tiles/tree/master/specification/Styling|3D Tiles Styling language}.
19927
+ * @param [options.marsJzwStyle = false] - 开启或设置建筑物特效样式。
19928
+ * @param [options.customShader] - 自定义shader效果
19929
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
19930
+ * @param [options.shadows = ShadowMode.ENABLED] - 确定tileset是否投射或接收来自光源的阴影。
19931
+ * @param [options.cullWithChildrenBounds = true] - 优化选择。是否使用子绑定卷的并集来筛选贴图。
19932
+ * @param [options.cullRequestsWhileMoving = true] - 优化选择。不要要求贴图,当他们回来的时候可能不会使用,因为相机的运动。这个优化只适用于固定瓷砖组。
19933
+ * @param [options.cullRequestsWhileMovingMultiplier = 60.0] - 优化选择。在移动时选择请求时使用的倍增器。越大的选择性越强,越小的选择性越弱。值越小能够更快的剔除。
19934
+ * @param [options.preloadWhenHidden = false] - 当true时,tileset.show是false,也去预加载数据。
19935
+ * @param [options.preloadFlightDestinations = true] - 优化选择。当摄像机在飞行时,在摄像机的飞行目的地预加载贴图。
19936
+ * @param [options.preferLeaves = false] - 优化选择。最好先加载上叶子节点数据。这个参数默认是false,同等条件下,叶子节点会优先加载。但是Cesium的tile加载优先级有很多考虑条件,这个只是其中之一,如果skipLevelOfDetail=false,这个参数几乎无意义。所以要配合skipLevelOfDetail=true来使用,此时设置preferLeaves=true。这样我们就能最快的看见符合当前视觉精度的块,对于提升大数据以及网络环境不好的前提下有一点点改善意义。
19937
+ * @param [options.dynamicScreenSpaceError = false] - 优化选择。减少远离摄像头的贴图的屏幕空间误差。true时会在真正的全屏加载完之后才清晰化模型.
19938
+ * @param [options.dynamicScreenSpaceErrorDensity = 0.00278] - 密度用来调整动态画面空间误差,类似于雾密度。
19939
+ * @param [options.dynamicScreenSpaceErrorFactor = 4.0] - 用于增加计算的动态屏幕空间误差的因素。
19940
+ * @param [options.dynamicScreenSpaceErrorHeightFalloff = 0.25] - 瓷砖密度开始下降时的高度之比。
19941
+ * @param [options.progressiveResolutionHeightFraction = 0.3] - 优化选择。如果在(0.0,0.5)之间,在屏幕空间或以上的瓷砖错误降低屏幕分辨率 <code>progressiveResolutionHeightFraction*screenHeight</code> 将优先。这可以帮助得到一个快速层的瓷砖下来,而全分辨率的瓷砖继续加载。
19942
+ * @param [options.foveatedScreenSpaceError = true] - 优化选择。通过暂时提高屏幕边缘的贴图的屏幕空间误差,优先加载屏幕中央的贴图。一旦所有由{@link cesium3dtilesset#foveatedConeSize}确定的屏幕中央的贴图被加载,屏幕空间错误就会恢复正常。
19943
+ * @param [options.foveatedConeSize = 0.1] - 优化选择。当{@link cesium3dtilesset#foveatedScreenSpaceError}为true时使用,以控制决定哪些贴图被延迟的锥大小。装在这个圆锥体里的瓷砖会立即被装入。锥外的贴图有可能被延迟,这取决于它们在锥外的距离和它们的屏幕空间误差。这是由{@link I3SDataProvider#foveatedInterpolationCallback}和{@link I3SDataProvider#foveatedMinimumScreenSpaceErrorRelaxation}控制的。设置为0.0意味着圆锥将是由相机位置和它的视图方向形成的线。将此设置为1.0意味着圆锥将包含相机的整个视场,禁用此效果。
19944
+ * @param [options.foveatedMinimumScreenSpaceErrorRelaxation = 0.0] - 优化选择。当{@link cesium3dtilesset#foveatedScreenSpaceError}为true时使用,以控制中心锥形以外的贴图的初始屏幕空间误差松弛。屏幕空间错误将基于所提供的{@link I3SDataProvider#foveatedInterpolationCallback}从tileset值开始直到{@link I3SDataProvider#maximumScreenSpaceError}。
19945
+ * @param [options.foveatedInterpolationCallback = Math.lerp] - 优化选择。当{@link cesium3dtilesset#foveatedScreenSpaceError}为true时使用,以控制中心锥形以外的贴图的初始屏幕空间误差松弛。优化选择。当{@link I3SDataProvider#foveatedScreenSpaceError}为true时使用,以控制凸出圆锥外的贴图的屏幕空间误差提高多少,插值在{@link I3SDataProvider#foveatedminimumscreenspaceerror}和{@link I3SDataProvider#maximumScreenSpaceError}之间。
19946
+ * @param [options.foveatedTimeDelay = 0.2] - 优化选择。当{@link cesium3dtilesset#foveatedScreenSpaceError}为true时使用,以控制中心锥形以外的贴图的初始屏幕空间误差松弛。优化选择。优化选择。当{@link cesium3dtilesset#foveatedScreenSpaceError}为true时使用,以控制在延迟tile开始加载前摄像机停止移动后等待多长时间(秒)。这个时间延迟阻止了在相机移动时请求屏幕边缘的贴图。将此设置为0.0将立即请求任何给定视图中的所有贴图。
19947
+ * @param [options.skipLevelOfDetail = false] - 优化选择。确定在遍历过程中是否应应用跳过详细信息的级别。是Cesium在1.5x 引入的一个优化参数,这个参数在金字塔数据加载中,可以跳过一些级别,这样整体的效率会高一些,数据占用也会小一些。但是带来的异常是:1) 加载过程中闪烁,看起来像是透过去了,数据载入完成后正常。2,有些异常的面片,这个还是因为两级LOD之间数据差异较大,导致的。当这个参数设置false,两级之间的变化更平滑,不会跳跃穿透,但是清晰的数据需要更长,而且还有个致命问题,一旦某一个tile数据无法请求到或者失败,导致一直不清晰。所以我们建议:对于网络条件好,并且数据总量较小的情况下,可以设置false,提升数据显示质量。
19948
+ * @param [options.baseScreenSpaceError = 1024] - 当skipLevelOfDetail为true时,跳过详细级别之前必须达到的屏幕空间错误。
19949
+ * @param [options.skipScreenSpaceErrorFactor = 16] - 当skipLevelOfDetail = true时,一个定义要跳过的最小屏幕空间错误的乘法器。与skipLevels一起使用,以决定加载哪些贴图。
19950
+ * @param [options.skipLevels = 1] - 当skipLevelOfDetail是true,一个常量定义了加载tiles时要跳过的最小级别数。当它为0时,不会跳过任何级别。与skipScreenSpaceErrorFactor一起使用,以决定加载哪些贴图。
19951
+ * @param [options.immediatelyLoadDesiredLevelOfDetail = false] - 当skipLevelOfDetail为true时,只有满足最大屏幕空间错误的tiles才会被下载。跳过因素将被忽略,并且只加载所需的块。
19952
+ * @param [options.loadSiblings = false] - 当skipLevelOfDetail = true时,判断遍历过程中是否总是下载可见块的兄弟块。如果为true则不会在已加载完模型后,自动从中心开始超清化模型。
19953
+ * @param [options.clippingPlanes] - {@link Cesium.ClippingPlaneCollection}用于选择性地禁用tile集的渲染。
19954
+ * @param [options.classificationType] - 确定地形、3D贴图或两者都将被这个贴图集分类。有关限制和限制的详细信息,请参阅{@link cesium3dtilesset #classificationType}。
19955
+ * @param [options.pointCloudShading] - 基于几何误差和光照构造一个{@link Cesium.PointCloudShading}对象来控制点衰减的选项。
19956
+ * @param [options.lightColor] - 光的颜色当遮光模型。当undefined场景的浅色被使用代替。表示,rgb的倍数,new Cesium.Cartesian3(100.0,100.0, 100.0)表示白光增强到100倍。对Pbrt材质有效,倾斜摄影不生效。
19957
+ * @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
19958
+ * @param [options.debugHeatmapTilePropertyName] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;作为热图着色的tile变量。所有渲染的贴图都将相对于其他指定的变量值着色。
19959
+ * @param [options.pickPrimitive] - 要在拾取过程中呈现的原语,而不是tile集合。
19960
+ * @param [options.enableDebugWireframe = false] - 仅供调试。是否可以通过debugWireframe来切换查看模型的三角网线框图。
19961
+ * @param [options.debugWireframe = false] - 仅供调试。是否打开模型的三角网线框图。
19962
+ * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定,支持:'all'、数组、字符串模板
19963
+ * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数,还包括:
19964
+ * @param [options.popupOptions.title] - 固定的标题名称
19965
+ * @param [options.popupOptions.titleField] - 标题对应的属性字段名称
19966
+ * @param [options.popupOptions.noTitle] - 不显示标题
19967
+ * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑定,参数与popup属性完全相同。
19968
+ * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数,还包括:
19969
+ * @param [options.tooltipOptions.title] - 固定的标题名称
19970
+ * @param [options.tooltipOptions.titleField] - 标题对应的属性字段名称
19971
+ * @param [options.tooltipOptions.noTitle] - 不显示标题
19972
+ * @param [options.contextmenuItems] - 绑定的右键菜单值,也可以bindContextMenu方法绑定
19973
+ * @param [options.id = createGuid()] - 图层id标识
19974
+ * @param [options.pid = -1] - 图层父级的id,一般图层管理中使用
19975
+ * @param [options.name = ''] - 图层名称
19976
+ * @param [options.show = true] - 图层是否显示
19977
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为map对象,false时不冒泡
19978
+ * @param [options.center] - 图层自定义定位视角 {@link Map#setCameraView}
19979
+ * @param options.center.lng - 经度值, 180 - 180
19980
+ * @param options.center.lat - 纬度值, -90 - 90
19981
+ * @param [options.center.alt] - 高度值
19982
+ * @param [options.center.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
19983
+ * @param [options.center.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
19984
+ * @param [options.center.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
19985
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
19986
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseLayer#flyTo}方法参数。
19987
+ */
19988
+ declare class I3SLayer extends BaseGraphicLayer {
19989
+ constructor(options: {
19990
+ url: string | Cesium.Resource | Cesium.IonResource;
19991
+ traceFetches?: boolean;
19992
+ geoidTiledTerrainProvider?: any | Cesium.ArcGISTiledElevationTerrainProvider;
19993
+ maximumScreenSpaceError?: number;
19994
+ maximumMemoryUsage?: number;
19995
+ style?: any | Cesium.Cesium3DTileStyle | ((...params: any[]) => any);
19996
+ marsJzwStyle?: boolean | string;
19997
+ customShader?: Cesium.CustomShader;
19998
+ allowDrillPick?: boolean | ((...params: any[]) => any);
19999
+ shadows?: Cesium.ShadowMode;
20000
+ cullWithChildrenBounds?: boolean;
20001
+ cullRequestsWhileMoving?: boolean;
20002
+ cullRequestsWhileMovingMultiplier?: number;
20003
+ preloadWhenHidden?: boolean;
20004
+ preloadFlightDestinations?: boolean;
20005
+ preferLeaves?: boolean;
20006
+ dynamicScreenSpaceError?: boolean;
20007
+ dynamicScreenSpaceErrorDensity?: number;
20008
+ dynamicScreenSpaceErrorFactor?: number;
20009
+ dynamicScreenSpaceErrorHeightFalloff?: number;
20010
+ progressiveResolutionHeightFraction?: number;
20011
+ foveatedScreenSpaceError?: boolean;
20012
+ foveatedConeSize?: number;
20013
+ foveatedMinimumScreenSpaceErrorRelaxation?: number;
20014
+ foveatedInterpolationCallback?: Cesium.I3SDataProvider.foveatedInterpolationCallback;
20015
+ foveatedTimeDelay?: number;
20016
+ skipLevelOfDetail?: boolean;
20017
+ baseScreenSpaceError?: number;
20018
+ skipScreenSpaceErrorFactor?: number;
20019
+ skipLevels?: number;
20020
+ immediatelyLoadDesiredLevelOfDetail?: boolean;
20021
+ loadSiblings?: boolean;
20022
+ clippingPlanes?: Cesium.ClippingPlaneCollection;
20023
+ classificationType?: Cesium.ClassificationType;
20024
+ pointCloudShading?: any;
20025
+ lightColor?: Cesium.Cartesian3;
20026
+ backFaceCulling?: boolean;
20027
+ debugHeatmapTilePropertyName?: string;
20028
+ pickPrimitive?: any;
20029
+ enableDebugWireframe?: boolean;
20030
+ debugWireframe?: boolean;
20031
+ popup?: string | Globe.getTemplateHtml_template[] | ((...params: any[]) => any);
20032
+ popupOptions?: {
20033
+ title?: string;
20034
+ titleField?: string;
20035
+ noTitle?: string;
20036
+ };
20037
+ tooltip?: string | Globe.getTemplateHtml_template[] | ((...params: any[]) => any) | any;
20038
+ tooltipOptions?: {
20039
+ title?: string;
20040
+ titleField?: string;
20041
+ noTitle?: string;
20042
+ };
20043
+ contextmenuItems?: any;
20044
+ id?: string | number;
20045
+ pid?: string | number;
20046
+ name?: string;
20047
+ show?: boolean;
20048
+ eventParent?: BaseClass | boolean;
20049
+ center?: {
20050
+ lng: number;
20051
+ lat: number;
20052
+ alt?: number;
20053
+ heading?: number;
20054
+ pitch?: number;
20055
+ roll?: number;
20056
+ };
20057
+ flyTo?: boolean;
20058
+ flyToOptions?: any;
20059
+ });
20060
+ /**
20061
+ * 模型对应的 I3SDataProvider对象
20062
+ */
20063
+ readonly layer: Cesium.I3SDataProvider;
20064
+ /**
20065
+ * 开启或设置建筑物特效样式。
20066
+ */
20067
+ marsJzwStyle: boolean | any;
20068
+ /**
20069
+ * 重新加载模型
20070
+ */
20071
+ reload(): void;
20072
+ /**
20073
+ * 飞行定位至图层数据所在的视角
20074
+ * @param [options = {}] - 参数对象:
20075
+ * @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
20076
+ * @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
20077
+ * @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
20078
+ * @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
20079
+ * @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
20080
+ * @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
20081
+ * @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
20082
+ * @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
20083
+ * @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
20084
+ * @param [options.complete] - 飞行完成后要执行的函数。
20085
+ * @param [options.cancel] - 飞行取消时要执行的函数。
20086
+ * @param [options.endTransform] - 变换矩阵表示飞行结束时相机所处的参照系。
20087
+ * @param [options.maximumHeight] - 飞行高峰时的最大高度。
20088
+ * @param [options.pitchAdjustHeight] - 如果相机飞得比这个值高,在飞行过程中调整俯仰以向下看,并保持地球在视口。
20089
+ * @param [options.flyOverLongitude] - 地球上的两点之间总有两条路。这个选项迫使相机选择战斗方向飞过那个经度。
20090
+ * @param [options.flyOverLongitudeWeight] - 仅在通过flyOverLongitude指定的lon上空飞行,只要该方式的时间不超过flyOverLongitudeWeight的短途时间。
20091
+ * @param [options.convert = true] - 是否将目的地从世界坐标转换为场景坐标(仅在不使用3D时相关)。
20092
+ * @param [options.easingFunction] - 控制在飞行过程中如何插值时间。
20093
+ * @returns 如果飞行成功则解析为true的承诺,如果当前未在场景中可视化目标或取消飞行,则为false的Promise
20094
+ */
20095
+ flyTo(options?: {
20096
+ radius?: number;
20097
+ scale?: number;
20098
+ heading?: number;
20099
+ pitch?: number;
20100
+ roll?: number;
20101
+ minHeight?: number;
20102
+ maxHeight?: number;
20103
+ height?: number;
20104
+ duration?: number;
20105
+ complete?: Cesium.Camera.FlightCompleteCallback;
20106
+ cancel?: Cesium.Camera.FlightCancelledCallback;
20107
+ endTransform?: Cesium.Matrix4;
20108
+ maximumHeight?: number;
20109
+ pitchAdjustHeight?: number;
20110
+ flyOverLongitude?: number;
20111
+ flyOverLongitudeWeight?: number;
20112
+ convert?: boolean;
20113
+ easingFunction?: Cesium.EasingFunction.Callback;
20114
+ }): Promise<boolean>;
20115
+ }
20116
+
18791
20117
  declare namespace LodGraphicLayer {
18792
20118
  /**
18793
20119
  * 当前类支持的{@link EventType}事件类型
@@ -19179,7 +20505,7 @@ declare namespace TilesetLayer {
19179
20505
  * @param [options.highlight.outlineEffect = false] - 默认为修改矢量对象本身的style高亮,true时采用{@link OutlineEffect}方式高亮。
19180
20506
  * @param [options.highlight.filter] - 可以设置筛选排除一些构件, 排除的构件在filter方法内返回false
19181
20507
  * @param [options.highlight.all] - 是否按整体高亮, true:模型整体全部高亮,false:单个构件高亮
19182
- * @param [options.highlight.uniqueKey] - 按指定字段进行对应相关构件的整体高亮
20508
+ * @param [options.highlight.uniqueKey] - 按指定字段进行对应相关构件的整体高亮,对outlineEffect时无效
19183
20509
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
19184
20510
  * @param [options.clampToGround] - 是否贴地,true时自动调用贴地计算,但此属性只适合标准的与地形数据匹配的模型,并不精确,建议通过模型编辑页面调试给具体高度值。
19185
20511
  * @param [options.chinaCRS] - 标识模型的国内坐标系(用于自动纠偏或加偏)
@@ -19217,6 +20543,8 @@ declare namespace TilesetLayer {
19217
20543
  * @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
19218
20544
  * @param [options.debugHeatmapTilePropertyName] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;作为热图着色的tile变量。所有渲染的贴图都将相对于其他指定的变量值着色。
19219
20545
  * @param [options.pickPrimitive] - 要在拾取过程中呈现的原语,而不是tile集合。
20546
+ * @param [options.enableDebugWireframe = false] - 仅供调试。是否可以通过debugWireframe来切换查看模型的三角网线框图。
20547
+ * @param [options.debugWireframe = false] - 仅供调试。是否打开模型的三角网线框图。
19220
20548
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定,支持:'all'、数组、字符串模板
19221
20549
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数,还包括:
19222
20550
  * @param [options.popupOptions.title] - 固定的标题名称
@@ -19312,6 +20640,8 @@ declare class TilesetLayer extends BaseGraphicLayer {
19312
20640
  backFaceCulling?: boolean;
19313
20641
  debugHeatmapTilePropertyName?: string;
19314
20642
  pickPrimitive?: any;
20643
+ enableDebugWireframe?: boolean;
20644
+ debugWireframe?: boolean;
19315
20645
  popup?: string | Globe.getTemplateHtml_template[] | ((...params: any[]) => any);
19316
20646
  popupOptions?: {
19317
20647
  title?: string;
@@ -20158,6 +21488,7 @@ declare namespace ArcGisLayer {
20158
21488
  * @param [options.crs = CRS.EPSG4326] - 瓦片数据的坐标系信息,默认为墨卡托投影
20159
21489
  * @param [options.chinaCRS] - 标识瓦片的国内坐标系(用于自动纠偏或加偏),自动将瓦片转为map对应的chinaCRS类型坐标系。
20160
21490
  * @param [options.enablePickFeatures = true] - 如果为true,则请求 单击坐标处服务中对应的矢量数据 并尝试解释响应中包含的功能。为false时不去服务请求。
21491
+ * @param [options.featureIndex = 0] - 如果单击有多个feature返回时,默认用第0条数据,取其他数据时可以自定义,可传index顺序,回调方法、和字符串"end"代表取最后一条
20161
21492
  * @param [options.featureToGraphic = mars3d.Util.geoJsonToGraphics] - 解析单击返回的矢量数据信息为Graphic构造参数,可以按需自定义。
20162
21493
  * @param [options.hasToGraphic] - 筛选或判断是否解析,单击获取到的数据进行按需筛选解析,大数据解析很卡,可以设定阀值屏蔽大数据,避免卡顿,number类型时代表字符串长度值。
20163
21494
  * @param [options.highlight] - 鼠标单击高亮显示对应的矢量数据 及其样式,具体见各{@link GraphicType}矢量数据的style参数。
@@ -20231,6 +21562,7 @@ declare class ArcGisLayer extends BaseTileLayer {
20231
21562
  crs?: CRS;
20232
21563
  chinaCRS?: ChinaCRS;
20233
21564
  enablePickFeatures?: boolean;
21565
+ featureIndex?: number | string | ((...params: any[]) => any);
20234
21566
  featureToGraphic?: (...params: any[]) => any;
20235
21567
  hasToGraphic?: number | boolean | ((...params: any[]) => any);
20236
21568
  highlight?: {
@@ -20678,6 +22010,9 @@ declare namespace BaseTileLayer {
20678
22010
  * @param [options.gamma = 1.0] - 伽马校正值。 1.0使用未修改的图像颜色。
20679
22011
  * @param [options.invertColor] - 是否反向颜色,内部计算规则: color.r = 1.0 - color.r
20680
22012
  * @param [options.filterColor] - 滤镜颜色,内部计算规则: color.r = color.r * filterColor.r
22013
+ * @param [options.splitDirection = Cesium.SplitDirection.NONE] - 设置分屏对比所在的展示屏
22014
+ * @param [options.minificationFilter = Cesium.TextureMinificationFilter.LINEAR] - 缩小瓦片数据的过滤方式
22015
+ * @param [options.magnificationFilter = Cesium.TextureMagnificationFilter.LINEAR] - 放大瓦片数据的过滤方式
20681
22016
  * @param [options.maximumAnisotropy = maximum supported] - 使用的最大各向异性水平 用于纹理过滤。如果未指定此参数,则支持最大各向异性 将使用WebGL堆栈。较大的值可使影像在水平方向上看起来更好 视图。
20682
22017
  * @param [options.cutoutRectangle] - 制图矩形,用于裁剪此ImageryLayer的一部分。
20683
22018
  * @param [options.colorToAlpha] - 用作Alpha的颜色。
@@ -20735,6 +22070,9 @@ declare class BaseTileLayer extends BaseLayer {
20735
22070
  gamma?: number | ((...params: any[]) => any);
20736
22071
  invertColor?: boolean;
20737
22072
  filterColor?: string | Cesium.Color;
22073
+ splitDirection?: Cesium.SplitDirection | ((...params: any[]) => any);
22074
+ minificationFilter?: Cesium.TextureMinificationFilter;
22075
+ magnificationFilter?: Cesium.TextureMagnificationFilter;
20738
22076
  maximumAnisotropy?: number;
20739
22077
  cutoutRectangle?: Cesium.Rectangle;
20740
22078
  colorToAlpha?: Cesium.Color;
@@ -21947,6 +23285,7 @@ declare class IonLayer extends BaseTileLayer {
21947
23285
  * @param [options.username = 'marsgis'] - 地图帐户的用户名。
21948
23286
  * @param options.styleId - Mapbox样式ID。
21949
23287
  * @param [options.accessToken = mars3d.Token.mapbox] - 图像的Token公共访问令牌。
23288
+ * @param [options.token] - 同accessToken,别名
21950
23289
  * @param [options.tilesize = 512] - 图像块的大小。
21951
23290
  * @param [options.scaleFactor = true] - 确定贴图是否以 @2x 比例因子渲染。
21952
23291
  * @param [options.minimumLevel = 0] - 瓦片所支持的最低层级,如果数据没有第0层,该参数必须配置,当地图小于该级别时,平台不去请求服务数据。
@@ -22010,6 +23349,7 @@ declare class MapboxLayer extends BaseTileLayer {
22010
23349
  username?: string;
22011
23350
  styleId: string;
22012
23351
  accessToken?: string;
23352
+ token?: string;
22013
23353
  tilesize?: number;
22014
23354
  scaleFactor?: boolean;
22015
23355
  minimumLevel?: number;
@@ -22742,6 +24082,7 @@ declare class TmsLayer extends BaseTileLayer {
22742
24082
  * @param [options.clock] - 一个时钟实例,用于确定时间维度的值。指定' times '时需要。
22743
24083
  * @param [options.times] - TimeIntervalCollection 的数据属性是一个包含时间动态维度及其值的对象。
22744
24084
  * @param [options.enablePickFeatures = true] - 如果为true,则请求 单击坐标处服务中对应的矢量数据 并尝试解释响应中包含的功能。为false时不去服务请求。
24085
+ * @param [options.featureIndex = 0] - 如果单击有多个feature返回时,默认用第0条数据,取其他数据时可以自定义,可传index顺序,回调方法、和字符串"end"代表取最后一条
22745
24086
  * @param [options.featureToGraphic = mars3d.Util.geoJsonToGraphics] - 解析单击返回的矢量数据信息为Graphic构造参数,可以按需自定义。
22746
24087
  * @param [options.hasToGraphic] - 筛选或判断是否解析,单击获取到的数据进行按需筛选解析,大数据解析很卡,可以设定阀值屏蔽大数据,避免卡顿,number类型时代表字符串长度值。
22747
24088
  * @param [options.getFeatureInfoParameters] - 在单击坐标处通过GetFeatureInfo请求接口时,传递给WMS服务器的附加参数。
@@ -22821,6 +24162,7 @@ declare class WmsLayer extends BaseTileLayer {
22821
24162
  clock?: Cesium.Clock;
22822
24163
  times?: Cesium.TimeIntervalCollection;
22823
24164
  enablePickFeatures?: boolean;
24165
+ featureIndex?: number | string | ((...params: any[]) => any);
22824
24166
  featureToGraphic?: (...params: any[]) => any;
22825
24167
  hasToGraphic?: number | boolean | ((...params: any[]) => any);
22826
24168
  getFeatureInfoParameters?: any;
@@ -23490,7 +24832,7 @@ declare namespace Map {
23490
24832
  * @property [automaticallyTrackDataSourceClocks = true] - 如果为true,则此小部件将自动跟踪新添加的数据源的时钟设置,并在数据源的时钟发生更改时进行更新。如果要独立配置时钟,请将其设置为false。
23491
24833
  * @property [contextOptions = {}] - WebGL创建属性 传递给 Cesium.Scene 的 options 。{@link Cesium.Scene}
23492
24834
  * @property [contextOptions.allowTextureFilterAnisotropic = true] - 允许纹理过滤各向异性
23493
- * @property [contextOptions.requestWebgl2 = false] - 是否启用webgl2
24835
+ * @property [contextOptions.requestWebgl1 = false] - 是否启用webgl1,cesium v1.102起默认用webgl2渲染
23494
24836
  * @property [contextOptions.webgl] - WebGL画布,用于 canvas.getContext("webgl", webglOptions)
23495
24837
  * @property [contextOptions.webgl.alpha = false] - 是否包含alpha缓冲区,如果需要DIV透明时,需要改为true
23496
24838
  * @property [contextOptions.webgl.antialias] - 是否执行抗锯齿
@@ -23571,7 +24913,7 @@ declare namespace Map {
23571
24913
  automaticallyTrackDataSourceClocks?: boolean;
23572
24914
  contextOptions?: {
23573
24915
  allowTextureFilterAnisotropic?: boolean;
23574
- requestWebgl2?: boolean;
24916
+ requestWebgl1?: boolean;
23575
24917
  webgl?: {
23576
24918
  alpha?: boolean;
23577
24919
  antialias?: boolean;
@@ -24029,6 +25371,20 @@ declare class Map extends BaseClass {
24029
25371
  * 是否只拾取地形上的点,忽略模型和矢量数据
24030
25372
  */
24031
25373
  onlyPickTerrainPosition: boolean;
25374
+ /**
25375
+ * 整个Map场景中Cesium3DTiles使用的总显存数量
25376
+ * <pre>
25377
+ * 这个可以设置到显存的50% 左右,合理设置此值可以有效的减少甚至避免 WebGL 由于爆显存而导致的报错。
25378
+ *
25379
+ * 值得注意的是:
25380
+ * 这里设置的最大使用显存并不是一个强制性的值,它仅仅起到一个阈值的作用。
25381
+ * 也就是当场景中 3DTiles 使用的显存超过该值时,才会触发缓存回收机制。
25382
+ * 而缓存回收后,使用的总显存并不一定会降到该值以下。
25383
+ * 比如,在当前相机视角下,3DTiles 需要 200MB 才能达到对应的显示精度,
25384
+ * 而最大使用显存设置到 100MB 时,最终使用的显存将以 Cesium 需要的显存为准,也就是 200MB。
25385
+ * <pre>
25386
+ */
25387
+ tilesetMaxTotalMemory: number;
24032
25388
  /**
24033
25389
  * 获取鼠标事件控制器
24034
25390
  */
@@ -24190,7 +25546,7 @@ declare class Map extends BaseClass {
24190
25546
  * @param [showVal] - 如果传值,覆盖图层的show属性
24191
25547
  * @returns 图层加载完成承诺
24192
25548
  */
24193
- addLayer(layer: BaseLayer, showVal?: boolean): Promise<Boolean | any>;
25549
+ addLayer(layer: BaseLayer, showVal?: boolean): Promise<boolean | any>;
24194
25550
  /**
24195
25551
  * 移除图层
24196
25552
  * @param layer - 需要移除的图层
@@ -24413,7 +25769,7 @@ declare class Map extends BaseClass {
24413
25769
  * 获取当前相机视角参数,
24414
25770
  * 示例:{"lat":30.526361,"lng":116.335987,"alt":45187,"heading":0,"pitch":-45}
24415
25771
  * @param [options = {}] - 参数对象:
24416
- * @param [options.simplify = true] - 是否简化,false时保留角度1位小数位
25772
+ * @param [options.simplify = true] - 是否简化,true时不返回roll并无小数,false时返回roll和保留角度1位小数位
24417
25773
  * @returns 当前相机视角参数
24418
25774
  */
24419
25775
  getCameraView(options?: {
@@ -25205,6 +26561,9 @@ declare class EllipsoidWaveMaterialProperty extends BaseMaterialProperty {
25205
26561
  * @param [options.opacity = 1] - 透明度
25206
26562
  * @param [options.color = Cesium.Color.WHITE] - 颜色
25207
26563
  * @param [options.speed = 0] - 不为0时呈现图片滚动效果,数字代表滚动速度
26564
+ * @param [options.flipx = false] - 是否X方向翻转图片
26565
+ * @param [options.flipy = false] - 是否Y方向翻转图片
26566
+ * @param [options.noWhite = true] - 是否不显示白色,true时没有加载完成前的白色闪烁,但也不支持纯白色的图片
25208
26567
  */
25209
26568
  declare class Image2MaterialProperty extends BaseMaterialProperty {
25210
26569
  constructor(options?: {
@@ -25212,6 +26571,9 @@ declare class Image2MaterialProperty extends BaseMaterialProperty {
25212
26571
  opacity?: number;
25213
26572
  color?: string | Cesium.Color;
25214
26573
  speed?: number;
26574
+ flipx?: boolean;
26575
+ flipy?: boolean;
26576
+ noWhite?: boolean;
25215
26577
  });
25216
26578
  /**
25217
26579
  * 背景图片URL
@@ -25229,6 +26591,18 @@ declare class Image2MaterialProperty extends BaseMaterialProperty {
25229
26591
  * 不为0时呈现图片滚动效果,数字代表滚动速度
25230
26592
  */
25231
26593
  speed: number;
26594
+ /**
26595
+ * 是否X方向翻转图片
26596
+ */
26597
+ flipx: boolean;
26598
+ /**
26599
+ * 是否Y方向翻转图片
26600
+ */
26601
+ flipy: boolean;
26602
+ /**
26603
+ * 是否不显示白色,true时没有加载完成前的白色闪烁,但也不支持纯白色的图片
26604
+ */
26605
+ noWhite: boolean;
25232
26606
  /**
25233
26607
  * 获取 材质名称
25234
26608
  * @param [time] - 检索值的时间。
@@ -25535,30 +26909,100 @@ declare class LineFlowMaterialProperty extends BaseMaterialProperty {
25535
26909
  }
25536
26910
 
25537
26911
  /**
25538
- * 线状: 轨迹线 材质
26912
+ * 线状: 三条平行虚线 材质
25539
26913
  * @param [options] - 参数对象,包括以下:
25540
- * @param [options.color = new Cesium.Color(1, 0, 0, 1.0)] - 颜色
25541
- * @param [options.bgColor] - 背景颜色
25542
- * @param [options.speed = 5.0] - 速度,值越大越快
26914
+ * @param [options.color = Cesium.Color.RED] - 中心线颜色
26915
+ * @param [options.dashLength = 16.0] - 中心线虚线间隔长度,以像素为单位
26916
+ * @param [options.widthRatio = 0.1] - 中心线百分比
26917
+ * @param [options.sidesColor = Cesium.Color.WHITE] - 外侧线颜色
26918
+ * @param [options.sidesDashLength = 32] - 外侧线长度
26919
+ * @param [options.sidesWidthRatio = 0.1] - 外侧线百分比
26920
+ * @param [options.dashPattern = 255.0] - 指定的16位模式
25543
26921
  */
25544
- declare class LineTrailMaterialProperty extends BaseMaterialProperty {
26922
+ declare class LineThreeDashMaterialProperty extends BaseMaterialProperty {
25545
26923
  constructor(options?: {
25546
26924
  color?: Cesium.Color;
25547
- bgColor?: string | Cesium.Color;
25548
- speed?: number;
26925
+ dashLength?: number;
26926
+ widthRatio?: number;
26927
+ sidesColor?: Cesium.Color;
26928
+ sidesDashLength?: number;
26929
+ sidesWidthRatio?: number;
26930
+ dashPattern?: number;
25549
26931
  });
25550
26932
  /**
25551
- * 颜色
26933
+ * 中心线颜色
25552
26934
  */
25553
26935
  color: Cesium.Color;
25554
26936
  /**
25555
- * 背景颜色
26937
+ * 中心线虚线间隔长度,以像素为单位
25556
26938
  */
25557
- bgColor: Cesium.Color;
26939
+ dashLength: number;
25558
26940
  /**
25559
- * 速度,值越大越快
26941
+ * 中心线百分比
25560
26942
  */
25561
- speed: number;
26943
+ widthRatio: number;
26944
+ /**
26945
+ * 外侧线颜色
26946
+ */
26947
+ sidesColor: Cesium.Color;
26948
+ /**
26949
+ * 外侧线长度
26950
+ */
26951
+ sidesDashLength: number;
26952
+ /**
26953
+ * 外侧线百分比
26954
+ */
26955
+ sidesWidthRatio: number;
26956
+ /**
26957
+ * 指定的16位模式
26958
+ */
26959
+ dashPattern: number;
26960
+ /**
26961
+ * 获取 材质名称
26962
+ * @param [time] - 检索值的时间。
26963
+ * @returns 材质名称
26964
+ */
26965
+ getType(time?: Cesium.JulianDate): string;
26966
+ /**
26967
+ * 获取所提供时间的属性值。
26968
+ * @param [time] - 检索值的时间。
26969
+ * @param [result] - 用于存储值的对象,如果省略,则创建并返回一个新的实例。
26970
+ * @returns 修改的result参数或一个新的实例(如果没有提供result参数)。
26971
+ */
26972
+ getValue(time?: Cesium.JulianDate, result?: any): any;
26973
+ /**
26974
+ * 将此属性与提供的属性进行比较并返回, 如果两者相等返回true,否则为false
26975
+ * @param [other] - 比较的对象
26976
+ * @returns 两者是同一个对象
26977
+ */
26978
+ equals(other?: Cesium.Property): boolean;
26979
+ }
26980
+
26981
+ /**
26982
+ * 线状: 轨迹线 材质
26983
+ * @param [options] - 参数对象,包括以下:
26984
+ * @param [options.color = new Cesium.Color(1, 0, 0, 1.0)] - 颜色
26985
+ * @param [options.bgColor] - 背景颜色
26986
+ * @param [options.speed = 5.0] - 速度,值越大越快
26987
+ */
26988
+ declare class LineTrailMaterialProperty extends BaseMaterialProperty {
26989
+ constructor(options?: {
26990
+ color?: Cesium.Color;
26991
+ bgColor?: string | Cesium.Color;
26992
+ speed?: number;
26993
+ });
26994
+ /**
26995
+ * 颜色
26996
+ */
26997
+ color: Cesium.Color;
26998
+ /**
26999
+ * 背景颜色
27000
+ */
27001
+ bgColor: Cesium.Color;
27002
+ /**
27003
+ * 速度,值越大越快
27004
+ */
27005
+ speed: number;
25562
27006
  /**
25563
27007
  * 获取 材质名称
25564
27008
  * @param [time] - 检索值的时间。
@@ -27546,132 +28990,71 @@ declare namespace Satellite {
27546
28990
  * 卫星综合体 对象类【统一管理卫星模型、轨道、视锥体】,
27547
28991
  * 【需要引入 mars3d-space 插件库】
27548
28992
  * @param options - 参数对象,包括以下:
27549
- * @param options.tle1 - 卫星两行轨道数(TLE) 的tle1, 示例:'1 39150U 13018A 18309.20646405 .00000034 00000-0 12253-4 0 9993'
27550
- * @param options.tle2 - 卫星两行轨道数(TLE) 的tle2, 示例:'2 39150 97.9189 29.2064 0018076 220.9170 139.0692 14.76532215297913'
28993
+ * @param [options.tle1] - 卫星两行轨道数(TLE) 的tle1, 示例:'1 39150U 13018A 18309.20646405 .00000034 00000-0 12253-4 0 9993'
28994
+ * @param [options.tle2] - 卫星两行轨道数(TLE) 的tle2, 示例:'2 39150 97.9189 29.2064 0018076 220.9170 139.0692 14.76532215297913'
27551
28995
  * @param [options.period] - 卫星运行周期(单位:分钟), 未传值时自动在tle2中解析
27552
- * @param options.position - 当没有tle时,自定义传入动态坐标位置(含时序的点集合)
28996
+ * @param [options.position] - 当没有tle时,自定义传入动态坐标位置(含时序的点集合)
27553
28997
  * @param [options.orientation] - 当没有tle时,自定义传入实体方向
27554
- * @param [options.model] - 设置是否显示 gltf卫星模型 和对应的样式,属性还包含:<br />
27555
- * // * @param {Boolean} [options.model.autoHeading=true] heading是否自动为轨道的方向
27556
- * @param [options.cone] - 设置是否显示 卫星视锥体 和对应的样式
28998
+ * @param [options.attr] - 矢量数据的 属性信息,可以任意附加属性。
28999
+ * @param [options.model] - 设置是否显示 gltf卫星模型 和对应的样式
27557
29000
  * @param [options.label] - 设置是否显示 文本 和对应的样式
27558
29001
  * @param [options.billboard] - 设置是否显示 图标点 和对应的样式
27559
29002
  * @param [options.point] - 设置是否显示 像素点 和对应的样式
29003
+ * @param [options.cone] - 设置是否显示 卫星视锥体 和对应的样式
27560
29004
  * @param [options.path] - 设置是否显示 卫星轨迹路线 和对应的样式,属性还包含:<br />
27561
- * // * @param {Boolean} [options.path.closure=false] 是否闭合轨道圆
27562
- * @param [options.shadingLine] - 设置是否显示 星下轨迹 和对应的样式
27563
- * @param [options.fixedFrameTransform] - 参考系
27564
- * @param [options.frameRate = 50] - 多少帧刷新1次,控制效率,如果卡顿就把该数值调大一些。
29005
+ * // * @param {boolean} [options.path.closure=false] 是否闭合轨道圆
29006
+ * @param [options.frameRate = 1] - 多少帧获取一次数据。用于控制效率,如果卡顿就把该数值调大一些。
27565
29007
  * @param [options.id = createGuid()] - 矢量数据id标识
27566
29008
  * @param [options.name = ''] - 矢量数据名称
27567
29009
  * @param [options.show = true] - 矢量数据是否显示
27568
29010
  */
27569
- declare class Satellite extends BaseGraphic {
29011
+ declare class Satellite extends Route {
27570
29012
  constructor(options: {
27571
- tle1: string;
27572
- tle2: string;
29013
+ tle1?: string;
29014
+ tle2?: string;
27573
29015
  period?: number;
27574
- position: Cesium.SampledPositionProperty;
29016
+ position?: Cesium.SampledPositionProperty;
27575
29017
  orientation?: Cesium.Property;
29018
+ attr?: any;
27576
29019
  model?: ModelEntity.StyleOptions | any;
27577
- cone?: SatelliteSensor.StyleOptions | any;
27578
29020
  label?: LabelEntity.StyleOptions | any;
27579
29021
  billboard?: BillboardEntity.StyleOptions | any;
27580
29022
  point?: PointEntity.StyleOptions | any;
29023
+ cone?: SatelliteSensor.StyleOptions | any | any;
27581
29024
  path?: PolylineEntity.StyleOptions | any;
27582
- shadingLine?: BillboardEntity.StyleOptions | any;
27583
- fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
27584
29025
  frameRate?: number;
27585
29026
  id?: string | number;
27586
29027
  name?: string;
27587
29028
  show?: boolean;
27588
29029
  });
27589
- /**
27590
- * 加载Entity数据的内部Cesium容器
27591
- */
27592
- readonly dataSource: Cesium.CustomDataSource;
27593
29030
  /**
27594
29031
  * 卫星TLE算法类对象
27595
29032
  */
27596
29033
  readonly tle: Tle;
27597
29034
  /**
27598
- * 圆锥的角度或者四棱锥的第一个角度,半场角度,取值范围 0.1-89.9
27599
- */
27600
- angle1: number;
27601
- /**
27602
- * 四棱锥的第二个角度,半场角度,取值范围 0.1-89.9
29035
+ * 获取当前已计算的轨道的开始时间和结束时间,格式为{start:'2021-01-01 00:00:00',end:'2021-01-01 12:01:02'}
27603
29036
  */
27604
- angle2: number;
29037
+ readonly timeRange: any;
27605
29038
  /**
27606
- * 四周方向角,0-360度角度值
29039
+ * 卫星视锥体(圆锥或四凌锥) 子对象
27607
29040
  */
27608
- heading: number;
29041
+ cone: SatelliteSensor | SatelliteSensor[] | any;
27609
29042
  /**
27610
- * 俯仰角,上下摇摆的角度,0-360度角度值
29043
+ * 圆锥的角度或者四棱锥的第一个角度,半场角度,取值范围 0.1-89.9
27611
29044
  */
27612
- pitch: number;
29045
+ angle1: number;
27613
29046
  /**
27614
- * 滚转角,左右摆动的角度,0-360度角度值
29047
+ * 四棱锥的第二个角度,半场角度,取值范围 0.1-89.9
27615
29048
  */
27616
- roll: number;
29049
+ angle2: number;
27617
29050
  /**
27618
29051
  * 是否显示视锥体
27619
29052
  */
27620
29053
  coneShow: boolean;
27621
- /**
27622
- * 当前时间的卫星位置坐标 (笛卡尔坐标)
27623
- */
27624
- position: Cesium.Cartesian3;
27625
- /**
27626
- * 获取当前时间转换计算模型矩阵。如果方向或位置未定义,则返回undefined。
27627
- */
27628
- readonly modelMatrix: Cesium.Matrix4;
27629
- /**
27630
- * 获取卫星方向 中心射线与地球相交点
27631
- */
27632
- readonly groundPosition: Cesium.Cartesian3;
27633
- /**
27634
- * 获取当前已计算的轨道的开始时间和结束时间,格式为{start:'2021-01-01 00:00:00',end:'2021-01-01 12:01:02'}
27635
- */
27636
- readonly timeRange: any;
27637
29054
  /**
27638
29055
  * 卫星凝视的目标(卫星方向一直朝向这个目标所在位置)
27639
29056
  */
27640
29057
  lookAt: Cesium.Cartesian3 | Cesium.PositionProperty;
27641
- /**
27642
- * 是否显示3个方向轴,用于对比测试
27643
- */
27644
- debugAxis: boolean;
27645
- /**
27646
- * 显示3个方向轴时的对应轴长度,用于对比测试
27647
- */
27648
- debugAxisLength: number;
27649
- /**
27650
- * 重新赋值参数,同构造方法参数一致。
27651
- * @param options - 参数,与类的构造方法参数相同
27652
- * @returns 无
27653
- */
27654
- setOptions(options: any): void;
27655
- /**
27656
- * 单击轨迹连线上的点后,求该点对应的时间
27657
- * @param position - 轨迹连线上的某点
27658
- * @param [arr] - 轨迹的原始数组,默认为内部记录的轨迹
27659
- * @returns 对应的时间
27660
- */
27661
- getPointTime(position: Cesium.Cartesian3, arr?: any): Date;
27662
- /**
27663
- * 更新角度
27664
- * @param [newangle] - 新角度值
27665
- * @param [newangle.heading = 0] - 方向角 (度数值,0-360度),如 model.autoHeading 为true,传入值无效
27666
- * @param [newangle.pitch = 0] - 俯仰角(度数值,0-360度)
27667
- * @param [newangle.roll = 0] - 翻滚角(度数值,0-360度)
27668
- * @returns 无
27669
- */
27670
- updateOrientation(newangle?: {
27671
- heading?: number;
27672
- pitch?: number;
27673
- roll?: number;
27674
- }): void;
27675
29058
  /**
27676
29059
  * 定位到卫星当前所在位置
27677
29060
  * @param [options = {}] - 具有以下属性的对象:
@@ -27690,7 +29073,7 @@ declare class Satellite extends BaseGraphic {
27690
29073
  * @param [options.easingFunction] - 控制在飞行过程中如何插值时间。
27691
29074
  * @returns 如果飞行成功则解析为true的承诺,如果当前未在场景中可视化目标或取消飞行,则为false的Promise
27692
29075
  */
27693
- flyTo(options?: {
29076
+ flyToPoint(options?: {
27694
29077
  scale?: number;
27695
29078
  heading?: number;
27696
29079
  pitch?: number;
@@ -27705,14 +29088,6 @@ declare class Satellite extends BaseGraphic {
27705
29088
  flyOverLongitudeWeight?: number;
27706
29089
  easingFunction?: Cesium.EasingFunction.Callback;
27707
29090
  }): Promise<boolean>;
27708
- /**
27709
- * 矢量数据对应的 Cesium内部对象 (不同子类中实现)
27710
- */
27711
- readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
27712
- /**
27713
- * 当前类的构造参数
27714
- */
27715
- readonly options: any;
27716
29091
  }
27717
29092
 
27718
29093
  declare namespace SatelliteSensor {
@@ -27773,8 +29148,6 @@ declare namespace SatelliteSensor {
27773
29148
  * @param options.style - 样式信息
27774
29149
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
27775
29150
  * @param [options.lookAt] - 椎体方向追踪的目标(椎体方向跟随变化,位置不变)
27776
- * @param [options.trackedEntity] - 椎体跟随的卫星(椎体位置跟随变化,方向不变)
27777
- * @param [options.autoHeading] - 是否自动追踪trackedEntity目标的heading方向
27778
29151
  * @param [options.fixedFrameTransform] - 参考系
27779
29152
  * @param [options.reverse = false] - 是否反转朝向
27780
29153
  * @param [options.id = createGuid()] - 矢量数据id标识
@@ -27788,8 +29161,6 @@ declare class SatelliteSensor extends BasePointPrimitive {
27788
29161
  style: SatelliteSensor.StyleOptions | any;
27789
29162
  attr?: any;
27790
29163
  lookAt?: Cesium.Cartesian3 | Cesium.PositionProperty;
27791
- trackedEntity?: Cesium.Entity;
27792
- autoHeading?: boolean;
27793
29164
  fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
27794
29165
  reverse?: boolean;
27795
29166
  id?: string | number;
@@ -27836,10 +29207,6 @@ declare class SatelliteSensor extends BasePointPrimitive {
27836
29207
  * 是否显示边线
27837
29208
  */
27838
29209
  outline: boolean;
27839
- /**
27840
- * 椎体跟随的卫星(椎体位置跟随变化,方向不变)
27841
- */
27842
- trackedEntity: Cesium.Entity | ModelEntity;
27843
29210
  /**
27844
29211
  * 椎体方向追踪的目标(椎体方向跟随变化,位置不变)
27845
29212
  */
@@ -27872,10 +29239,6 @@ declare class SatelliteSensor extends BasePointPrimitive {
27872
29239
  * @returns 成像区坐标,经、纬度坐标数组
27873
29240
  */
27874
29241
  getAreaCoords(): any[][];
27875
- /**
27876
- * 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
27877
- */
27878
- position: Cesium.Cartesian3 | LngLatPoint;
27879
29242
  }
27880
29243
 
27881
29244
  /**
@@ -30112,7 +31475,7 @@ declare class Measure extends BaseThing {
30112
31475
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
30113
31476
  * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
30114
31477
  * @param [options.showAddText = true] - 是否显示每一段的增加部分距离,如(+10.1km)
30115
- * @param [options.splitNum = 100] - 插值数,将线段分割的个数
31478
+ * @param [options.splitNum = 100] - 插值数,将线段分割的个数(概略值,有经纬网网格来插值)
30116
31479
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
30117
31480
  * @param [options.exact = true] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
30118
31481
  * @param [options.decimal = 2] - 显示的文本中保留的小数位
@@ -30136,7 +31499,7 @@ declare class Measure extends BaseThing {
30136
31499
  * @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatDistance}可选值:auto、m、km、wm、mile、zhang 等。auto时根据距离值自动选用k或km
30137
31500
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
30138
31501
  * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
30139
- * @param [options.splitNum = 200] - 插值数,将线段分割的个数
31502
+ * @param [options.splitNum = 200] - 插值数,将线段分割的个数(概略值,有经纬网网格来插值)
30140
31503
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
30141
31504
  * @param [options.exact = true] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
30142
31505
  * @param [options.decimal = 2] - 显示的文本中保留的小数位
@@ -30170,7 +31533,7 @@ declare class Measure extends BaseThing {
30170
31533
  * @param [options] - 控制参数
30171
31534
  * @param [options.style] - 面的样式
30172
31535
  * @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatArea}可选值:auto、m、km、mu、ha 。auto时根据面积值自动选用k或km
30173
- * @param [options.splitNum = 10] - 插值数,将面分割的网格数
31536
+ * @param [options.splitNum = 10] - 插值数,将面分割的网格数(概略值,有经纬网网格来插值)
30174
31537
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
30175
31538
  * @param [options.decimal = 2] - 显示的文本中保留的小数位
30176
31539
  * @param [options.exact = true] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
@@ -30189,7 +31552,7 @@ declare class Measure extends BaseThing {
30189
31552
  * @param [options] - 控制参数
30190
31553
  * @param [options.style] - 基准面的样式
30191
31554
  * @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatArea}可选值:auto、m、km、mu、ha 。auto时根据面积值自动选用k或km
30192
- * @param [options.splitNum = 10] - 插值数,将面分割的网格数
31555
+ * @param [options.splitNum = 10] - 插值数,将面分割的网格数(概略值,有经纬网网格来插值)
30193
31556
  * @param [options.has3dtiles] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
30194
31557
  * @param [options.exact = true] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
30195
31558
  * @param [options.minHeight] - 可以指定最低高度(单位:米)
@@ -30201,6 +31564,7 @@ declare class Measure extends BaseThing {
30201
31564
  * @param [options.polygonWall] - 围合的墙样式
30202
31565
  * @param [options.labelHeight] - 各边界点高度结果文本的样式
30203
31566
  * @param [options.decimal = 2] - 显示的文本中保留的小数位
31567
+ * @param [options.depth = false] - 是否采用 {@link VolumeDepthMeasure}进行分析
30204
31568
  * @returns 绘制创建完成的Promise,返回 体积测量控制类 对象
30205
31569
  */
30206
31570
  volume(options?: {
@@ -30218,6 +31582,7 @@ declare class Measure extends BaseThing {
30218
31582
  polygonWall?: PolygonEntity.StyleOptions | any;
30219
31583
  labelHeight?: LabelEntity.StyleOptions | any;
30220
31584
  decimal?: number;
31585
+ depth?: boolean;
30221
31586
  }): Promise<VolumeMeasure | any>;
30222
31587
  /**
30223
31588
  * 高度测量
@@ -30450,7 +31815,7 @@ declare class Sightline extends BaseThing {
30450
31815
  * @param target - 终点(目标点)
30451
31816
  * @param [options = {}] - 控制参数,包括:
30452
31817
  * @param [options.offsetHeight = 0] - 在起点增加的高度值,比如加上人的身高
30453
- * @param [options.splitNum = 50] - 插值数,等比分割的个数
31818
+ * @param [options.splitNum = 50] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
30454
31819
  * @param [options.minDistance] - 插值时的最小间隔(单位:米),优先级高于splitNum
30455
31820
  * @returns 分析结果完成的Promise
30456
31821
  */
@@ -30923,7 +32288,7 @@ declare class MatrixRotate extends MatrixMove {
30923
32288
  * @param [options.enabled = true] - 对象的启用状态
30924
32289
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
30925
32290
  */
30926
- declare class ContourLine extends TerrainEditBase {
32291
+ declare class ContourLine extends TerrainOldEditBase {
30927
32292
  constructor(options?: {
30928
32293
  positions?: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
30929
32294
  contourShow?: boolean;
@@ -31101,7 +32466,7 @@ declare namespace FloodByMaterial {
31101
32466
  * @param [options.enabled = true] - 对象的启用状态
31102
32467
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
31103
32468
  */
31104
- declare class FloodByMaterial extends TerrainEditBase {
32469
+ declare class FloodByMaterial extends TerrainOldEditBase {
31105
32470
  constructor(options?: {
31106
32471
  positions?: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
31107
32472
  speed?: number;
@@ -31220,7 +32585,7 @@ declare class Slope extends BaseThing {
31220
32585
  * 添加计算的 位置
31221
32586
  * @param positions - 坐标数组 或 单个坐标
31222
32587
  * @param [options = {}] - 控制参数,包括:
31223
- * @param [options.splitNum = 8] - 插值数,横纵等比分割的网格个数
32588
+ * @param [options.splitNum = 8] - 插值数,横纵等比分割的网格个数(概略值,有经纬网网格来插值)
31224
32589
  * @param [options.radius = 2] - 取样分析,点周边半径(单位:米)
31225
32590
  * @param [options.count = 4] - 取样分析,点周边象限内点的数量,共计算 count*4 个点
31226
32591
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
@@ -31316,12 +32681,12 @@ declare type getSlope_endItem = (event: {
31316
32681
  * @param [options.image] - 开挖区域的井墙面贴图URL。未传入该值时,不显示开挖区域的井。
31317
32682
  * @param [options.imageBottom] - 当显示开挖区域的井时,井底面贴图URL
31318
32683
  * @param [options.diffHeight] - 当显示开挖区域的井时,设置所有区域的挖掘深度(单位:米)
31319
- * @param [options.splitNum = 30] - 当显示开挖区域的井时,井墙面每两点之间插值个数
32684
+ * @param [options.splitNum = 30] - 当显示开挖区域的井时,井墙面每两点之间插值个数(概略值,有经纬网网格来插值)
31320
32685
  * @param [options.id = createGuid()] - 对象的id标识
31321
32686
  * @param [options.enabled = true] - 对象的启用状态
31322
32687
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
31323
32688
  */
31324
- declare class TerrainClip extends TerrainEditBase {
32689
+ declare class TerrainClip extends TerrainOldEditBase {
31325
32690
  constructor(options?: {
31326
32691
  positions?: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
31327
32692
  clipOutSide?: boolean;
@@ -31356,7 +32721,7 @@ declare class TerrainClip extends TerrainEditBase {
31356
32721
  * @param [options.enabled = true] - 对象的启用状态
31357
32722
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
31358
32723
  */
31359
- declare class TerrainEditBase extends BaseThing {
32724
+ declare class TerrainOldEditBase extends BaseThing {
31360
32725
  constructor(options?: {
31361
32726
  positions?: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
31362
32727
  id?: string | number;
@@ -31464,6 +32829,132 @@ declare class TerrainPlanClip extends BaseThing {
31464
32829
  clear(): void;
31465
32830
  }
31466
32831
 
32832
+ /**
32833
+ * 地形压平、抬升、开挖 基础类
32834
+ * @param [options] - 参数对象,包括以下:
32835
+ * @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
32836
+ * @param [options.id = createGuid()] - 对象的id标识
32837
+ * @param [options.enabled = true] - 对象的启用状态
32838
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
32839
+ */
32840
+ declare class TerrainEditBase extends BaseThing {
32841
+ constructor(options?: {
32842
+ area?: any;
32843
+ id?: string | number;
32844
+ enabled?: boolean;
32845
+ eventParent?: BaseClass | boolean;
32846
+ });
32847
+ /**
32848
+ * 区域 列表
32849
+ */
32850
+ readonly list: any;
32851
+ /**
32852
+ * 已添加的区域个数
32853
+ */
32854
+ readonly length: number;
32855
+ /**
32856
+ * 清除所有区域
32857
+ * @returns 无
32858
+ */
32859
+ clear(): void;
32860
+ /**
32861
+ * 根据id获取区域对象
32862
+ * @param id - id值
32863
+ * @returns 区域对象
32864
+ */
32865
+ getAreaById(id: number): any;
32866
+ /**
32867
+ * 隐藏单个区域
32868
+ * @param id - 区域id值
32869
+ * @returns 无
32870
+ */
32871
+ hideArea(id: number): void;
32872
+ /**
32873
+ * 显示单个区域
32874
+ * @param id - 区域id值
32875
+ * @returns 无
32876
+ */
32877
+ showArea(id: number): void;
32878
+ /**
32879
+ * 移除单个区域
32880
+ * @param item - 区域的id值,或 addArea返回的区域对象
32881
+ * @returns 无
32882
+ */
32883
+ removeArea(item: number | any): void;
32884
+ /**
32885
+ * 添加单个区域
32886
+ * @param positions - 坐标位置数组
32887
+ * @param [options = {}] - 控制的参数
32888
+ * @param [options.height] - 高度值
32889
+ * @returns 添加区域的记录对象
32890
+ */
32891
+ addArea(positions: string[] | any[][] | LngLatPoint[] | Cesium.Cartesian3[], options?: {
32892
+ height?: any;
32893
+ }): any;
32894
+ }
32895
+
32896
+ /**
32897
+ * 地形压平
32898
+ * @param [options] - 参数对象,包括以下:
32899
+ * @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
32900
+ * @param [options.id = createGuid()] - 对象的id标识
32901
+ * @param [options.enabled = true] - 对象的启用状态
32902
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
32903
+ */
32904
+ declare class TerrainFlat extends TerrainEditBase {
32905
+ constructor(options?: {
32906
+ area?: any;
32907
+ id?: string | number;
32908
+ enabled?: boolean;
32909
+ eventParent?: BaseClass | boolean;
32910
+ });
32911
+ /**
32912
+ * 清除压平
32913
+ * @returns 无
32914
+ */
32915
+ clear(): void;
32916
+ }
32917
+
32918
+ /**
32919
+ * 地形抬升
32920
+ * @param [options] - 参数对象,包括以下:
32921
+ * @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
32922
+ * @param [options.upHeight] - 设置所有区域的抬升高度(单位:米),目前不支持单个区域的高度自定义。
32923
+ * @param [options.image] - 开挖区域的井墙面贴图URL。未传入该值时,不显示开挖区域的井。
32924
+ * @param [options.imageBottom] - 当显示开挖区域的井时,井底面贴图URL
32925
+ * @param [options.diffHeight] - 当显示开挖区域的井时,设置所有区域的挖掘深度(单位:米)
32926
+ * @param [options.splitNum = 30] - 当显示开挖区域的井时,井墙面每两点之间插值个数(概略值,有经纬网网格来插值)
32927
+ * @param [options.id = createGuid()] - 对象的id标识
32928
+ * @param [options.enabled = true] - 对象的启用状态
32929
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
32930
+ */
32931
+ declare class TerrainUplift extends TerrainEditBase {
32932
+ constructor(options?: {
32933
+ area?: any;
32934
+ upHeight?: number;
32935
+ image?: string;
32936
+ imageBottom?: string;
32937
+ diffHeight?: number;
32938
+ splitNum?: number;
32939
+ id?: string | number;
32940
+ enabled?: boolean;
32941
+ eventParent?: BaseClass | boolean;
32942
+ });
32943
+ /**
32944
+ * 是否显示抬升区,为false时效果类同 地形开挖 的效果
32945
+ */
32946
+ showUp: boolean;
32947
+ /**
32948
+ * 设置所有区域的抬升高度(单位:米),目前不支持单个区域的高度自定义。
32949
+ */
32950
+ upHeight: number;
32951
+ /**
32952
+ * 清除抬升
32953
+ * @returns 无
32954
+ */
32955
+ clear(): void;
32956
+ }
32957
+
31467
32958
  /**
31468
32959
  * 限高分析
31469
32960
  * @param [options] - 参数对象,包括以下:
@@ -31647,10 +33138,6 @@ declare class TilesetClip extends TilesetEditBase {
31647
33138
  enabled?: boolean;
31648
33139
  eventParent?: BaseClass | boolean;
31649
33140
  });
31650
- /**
31651
- * 是否外裁剪
31652
- */
31653
- clipOutSide: boolean;
31654
33141
  }
31655
33142
 
31656
33143
  /**
@@ -31682,10 +33169,6 @@ declare class TilesetEditBase extends BaseThing {
31682
33169
  * 需要分析的模型 对应的 Cesium3DTileset 对象
31683
33170
  */
31684
33171
  readonly tileset: Cesium.Cesium3DTileset;
31685
- /**
31686
- * 压平高度 (单位:米),基于压平区域最低点高度的偏移量
31687
- */
31688
- readonly layerHeight: number;
31689
33172
  /**
31690
33173
  * 已添加的区域个数
31691
33174
  */
@@ -31695,84 +33178,6 @@ declare class TilesetEditBase extends BaseThing {
31695
33178
  * @returns 无
31696
33179
  */
31697
33180
  clear(): void;
31698
- /**
31699
- * 根据id获取区域对象
31700
- * @param id - id值
31701
- * @returns 区域对象
31702
- */
31703
- getAreaById(id: number): any;
31704
- /**
31705
- * 隐藏单个区域
31706
- * @param id - 区域id值
31707
- * @returns 无
31708
- */
31709
- hideArea(id: number): void;
31710
- /**
31711
- * 显示单个区域
31712
- * @param id - 区域id值
31713
- * @returns 无
31714
- */
31715
- showArea(id: number): void;
31716
- /**
31717
- * 移除单个区域
31718
- * @param item - 区域的id,或 addArea返回的区域对象
31719
- * @returns 无
31720
- */
31721
- removeArea(item: number | any): void;
31722
- /**
31723
- * 添加区域
31724
- * @param positions - 坐标位置数组
31725
- * @returns 添加区域的记录对象
31726
- */
31727
- addArea(positions: string[] | any[][] | LngLatPoint[] | Cesium.Cartesian3[]): any;
31728
- /**
31729
- * 转为Json简单对象,用于存储后再传参加载
31730
- * @returns Json简单对象
31731
- */
31732
- toJSON(): any;
31733
- }
31734
-
31735
- /**
31736
- * 3dtiles模型压平
31737
- * @param [options] - 参数对象,包括以下:
31738
- * @param options.layer - 需要压平的对象(3dtiles图层)
31739
- * @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
31740
- * @param [options.flatHeight] - 模型基准高度(单位:米),基于压平区域最低点高度的纠偏,也支持定义在模型图层中
31741
- * @param [options.old] - 使用老版本压平,即内部自动使用{@link TilesetFlatOld}类
31742
- * @param [options.id = createGuid()] - 对象的id标识
31743
- * @param [options.enabled = true] - 对象的启用状态
31744
- * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
31745
- */
31746
- declare class TilesetFlat extends TilesetEditBase {
31747
- constructor(options?: {
31748
- layer: TilesetLayer;
31749
- area?: any;
31750
- flatHeight?: number;
31751
- old?: boolean;
31752
- id?: string | number;
31753
- enabled?: boolean;
31754
- eventParent?: BaseClass | boolean;
31755
- });
31756
- /**
31757
- * 区域 列表
31758
- */
31759
- readonly list: any;
31760
- /**
31761
- * 需要分析的模型(3dtiles图层)
31762
- */
31763
- layer: TilesetLayer;
31764
- /**
31765
- * 需要分析的模型 对应的 Cesium3DTileset 对象
31766
- */
31767
- readonly tileset: Cesium.Cesium3DTileset;
31768
- /**
31769
- * 压平高度 (单位:米),基于压平区域最低点高度的偏移量
31770
- */
31771
- readonly layerHeight: number;
31772
- /**
31773
- * 已添加的区域个数
31774
- */
31775
- readonly length: number;
31776
33181
  /**
31777
33182
  * 添加单个区域
31778
33183
  * @param positions - 坐标位置数组
@@ -31782,19 +33187,13 @@ declare class TilesetFlat extends TilesetEditBase {
31782
33187
  */
31783
33188
  addArea(positions: string[] | any[][] | LngLatPoint[] | Cesium.Cartesian3[], options?: {
31784
33189
  height?: any;
31785
- }): Promise<any>;
33190
+ }): any;
31786
33191
  /**
31787
33192
  * 根据id获取区域对象
31788
33193
  * @param id - id值
31789
33194
  * @returns 区域对象
31790
33195
  */
31791
33196
  getAreaById(id: number): any;
31792
- /**
31793
- * 更新压平高度 (单位:米)
31794
- * @param height - 高度值(单位:米)
31795
- * @param [id] - 区域对象id
31796
- */
31797
- updateHeight(height: number, id?: number): void;
31798
33197
  /**
31799
33198
  * 隐藏单个区域
31800
33199
  * @param id - 区域id值
@@ -31818,11 +33217,6 @@ declare class TilesetFlat extends TilesetEditBase {
31818
33217
  * @returns Json简单对象
31819
33218
  */
31820
33219
  toJSON(): any;
31821
- /**
31822
- * 清除分析
31823
- * @returns 无
31824
- */
31825
- clear(): void;
31826
33220
  }
31827
33221
 
31828
33222
  /**
@@ -31830,16 +33224,18 @@ declare class TilesetFlat extends TilesetEditBase {
31830
33224
  * @param [options] - 参数对象,包括以下:
31831
33225
  * @param options.layer - 需要压平的对象(3dtiles图层)
31832
33226
  * @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
31833
- * @param [options.height] - 压平高度 (单位:米),基于压平区域最低点高度的偏移量
33227
+ * @param [options.flatHeight] - 模型基准高度(单位:米),基于压平区域最低点高度的纠偏,也支持定义在模型图层中
33228
+ * @param [options.raise = true] - 是否开启区域抬高
31834
33229
  * @param [options.id = createGuid()] - 对象的id标识
31835
33230
  * @param [options.enabled = true] - 对象的启用状态
31836
33231
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
31837
33232
  */
31838
- declare class TilesetFlatOld extends TilesetEditBase {
33233
+ declare class TilesetFlat extends TilesetEditBase {
31839
33234
  constructor(options?: {
31840
33235
  layer: TilesetLayer;
31841
33236
  area?: any;
31842
- height?: number;
33237
+ flatHeight?: number;
33238
+ raise?: boolean;
31843
33239
  id?: string | number;
31844
33240
  enabled?: boolean;
31845
33241
  eventParent?: BaseClass | boolean;
@@ -31847,12 +33243,13 @@ declare class TilesetFlatOld extends TilesetEditBase {
31847
33243
  /**
31848
33244
  * 压平高度 (单位:米),基于压平区域最低点高度的偏移量
31849
33245
  */
31850
- height: number;
33246
+ readonly layerHeight: number;
31851
33247
  /**
31852
- * 更新压平高度 (单位:米)
31853
- * @param height - 高度值(单位:米)
33248
+ * 更新压平高度
33249
+ * @param height - 压平高度,单位:米
33250
+ * @param [id] - 指定更新的区域id,为空时更新所有
31854
33251
  */
31855
- updateHeight(height: number): void;
33252
+ updateHeight(height: number, id?: number): void;
31856
33253
  }
31857
33254
 
31858
33255
  declare namespace TilesetFlood {
@@ -31917,12 +33314,6 @@ declare class TilesetFlood extends TilesetEditBase {
31917
33314
  * 淹没颜色
31918
33315
  */
31919
33316
  color: Cesium.Color;
31920
- /**
31921
- * 重新赋值参数,同构造方法参数一致。
31922
- * @param options - 参数,与类的构造方法参数相同
31923
- * @returns 当前对象本身,可以链式调用
31924
- */
31925
- setOptions(options: any): TilesetFlood;
31926
33317
  /**
31927
33318
  * 开始播放淹没动画效果
31928
33319
  * @returns 无
@@ -31957,7 +33348,7 @@ declare class TilesetFlood extends TilesetEditBase {
31957
33348
  * @param [options.clipOutSide = false] - 是否外裁剪
31958
33349
  * @param [options.edgeWidth = 0] - 裁剪区域边线宽度,0时不显示
31959
33350
  * @param [options.edgeColor = Cesium.Color.WHITE] - 裁剪区域边线颜色
31960
- * @param [options.showPlane = false] - 是否显示裁剪平面
33351
+ * @param [options.showPlane = false] - 是否显示裁剪平面, PS: 但裁剪面与实际效果由于cesium内部机制不同可能存在偏移。
31961
33352
  * @param [options.editPlane = false] - 是否可以拖拽裁剪平面进行编辑,需要showPlane:true时有效
31962
33353
  * @param [options.planeStyle] - 裁剪平面显示时的样式
31963
33354
  * @param [options.id = createGuid()] - 对象的id标识
@@ -32985,6 +34376,28 @@ declare namespace MaterialUtil {
32985
34376
  * @returns json简单对象
32986
34377
  */
32987
34378
  function toJSONByType(materialType: string, materialOptions: any): any;
34379
+ /**
34380
+ * 给 Material 添加一个 Texture uniform
34381
+ * @param options - 参数
34382
+ * @param options.material - 材质对象
34383
+ * @param options.context - 取 map.scene.context
34384
+ * @param options.uniformName - Uniform 名
34385
+ * @param options.image - 图片的地址
34386
+ * @param [options.wrapS = Cesium.TextureWrap.REPEAT] - 纹理参数,决定纹理坐标 S 方向上超出 [0, 1] 时如何抽样。
34387
+ * @param [options.wrapT = Cesium.TextureWrap.REPEAT] - 纹理参数,决定纹理坐标 T 方向上超出 [0, 1] 时如何抽样。
34388
+ * @param [options.minificationFilter = Cesium.TextureMinificationFilter.LINEAR] - 纹理参数,决定纹理缩小时如何抽样,
34389
+ * @param [options.magnificationFilter = Cesium.TextureMagnificationFilter.LINEAR] - 纹理参数,决定纹理放大时如何抽样,
34390
+ */
34391
+ function addTextureUniform(options: {
34392
+ material: Cesium.Material;
34393
+ context: any;
34394
+ uniformName: string;
34395
+ image: string;
34396
+ wrapS?: number;
34397
+ wrapT?: number;
34398
+ minificationFilter?: Cesium.TextureMinificationFilter | number;
34399
+ magnificationFilter?: Cesium.TextureMagnificationFilter | number;
34400
+ }): void;
32988
34401
  }
32989
34402
 
32990
34403
  /**
@@ -33032,7 +34445,7 @@ declare namespace MeasureUtil {
33032
34445
  * @param positions - 坐标数组
33033
34446
  * @param options - 参数对象,具有以下属性:
33034
34447
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
33035
- * @param [options.splitNum = 100] - 插值数,将线段分割的个数
34448
+ * @param [options.splitNum = 100] - 插值数,将线段分割的个数(概略值,有经纬网网格来插值)
33036
34449
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
33037
34450
  * @param [options.exact = true] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
33038
34451
  * @param options.endItem - 异步计算贴地距离中,每计算完成2个点之间的距离后 的回调方法
@@ -33072,7 +34485,7 @@ declare namespace MeasureUtil {
33072
34485
  * @param positions - 坐标数组
33073
34486
  * @param options - 参数对象,具有以下属性:
33074
34487
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
33075
- * @param [options.splitNum = 10] - 插值数,将面分割的网格数
34488
+ * @param [options.splitNum = 10] - 插值数,将面分割的网格数(概略值,有经纬网网格来插值)
33076
34489
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
33077
34490
  * @param [options.exact = true] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
33078
34491
  * @returns 异步计算完成的Promise
@@ -33541,6 +34954,13 @@ declare namespace PointUtil {
33541
34954
  * @returns Heading Pitch Roll方向
33542
34955
  */
33543
34956
  function getHeadingPitchRollForLine(localStart: Cesium.Cartesian3 | LngLatPoint, localEnd: Cesium.Cartesian3 | LngLatPoint, ellipsoid?: Cesium.Ellipsoid, fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame): Cesium.HeadingPitchRoll;
34957
+ /**
34958
+ * 获取反射向量
34959
+ * @param view - 视角方向
34960
+ * @param normal - 法线方向
34961
+ * @returns 反射向量
34962
+ */
34963
+ function getReflectVector(view: Cesium.Cartesian3, normal: Cesium.Cartesian3): Cesium.Cartesian3;
33544
34964
  }
33545
34965
 
33546
34966
  /**
@@ -33600,7 +35020,7 @@ declare namespace PolyUtil {
33600
35020
  * @param [options = {}] - 参数对象:
33601
35021
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
33602
35022
  * @param options.positions - 坐标数组
33603
- * @param [options.splitNum = 10] - 插值数,横纵等比分割的网格个数
35023
+ * @param [options.splitNum = 10] - 插值数,横纵等比分割的网格个数(概略值,有经纬网网格来插值)
33604
35024
  * @param [options.exact = false] - 是否进行精确计算
33605
35025
  * @param [options.has3dtiles] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
33606
35026
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
@@ -33621,7 +35041,7 @@ declare namespace PolyUtil {
33621
35041
  * @param positions - 坐标数组
33622
35042
  * @param scene - 三维地图场景对象,一般用map.scene
33623
35043
  * @param [options = {}] - 参数对象:
33624
- * @param [options.splitNum = 10] - 插值数,横纵等比分割的网格个数
35044
+ * @param [options.splitNum = 10] - 插值数,横纵等比分割的网格个数(概略值,有经纬网网格来插值)
33625
35045
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
33626
35046
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
33627
35047
  * @returns 异步计算完成的Promise,结果示例:{ maxHeight: 100, minHeight: 21 }
@@ -33663,7 +35083,7 @@ declare namespace PolyUtil {
33663
35083
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
33664
35084
  * @param options.positions - 坐标数组
33665
35085
  * @param [options.exact = false] - 是否进行精确计算
33666
- * @param [options.splitNum = 10] - 插值数,横纵等比分割的网格个数
35086
+ * @param [options.splitNum = 10] - 插值数,横纵等比分割的网格个数(概略值,有经纬网网格来插值)
33667
35087
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
33668
35088
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
33669
35089
  * @returns 异步计算完成的Promise
@@ -33792,7 +35212,7 @@ declare namespace PolyUtil {
33792
35212
  * @param [options = {}] - 参数对象:
33793
35213
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
33794
35214
  * @param options.positions - 坐标数组
33795
- * @param [options.splitNum = 100] - 插值数,等比分割的个数
35215
+ * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
33796
35216
  * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
33797
35217
  * @param [options.height = 0] - 坐标的高度
33798
35218
  * @param [options.surfaceHeight = true] - 是否计算贴地高度 (非精确计算,根据当前加载的地形和模型数据情况有关)
@@ -33811,7 +35231,7 @@ declare namespace PolyUtil {
33811
35231
  * 比如:用于航线的插值运算
33812
35232
  * @param positions - 坐标数组
33813
35233
  * @param [options = {}] - 参数对象:
33814
- * @param [options.splitNum] - 插值数,等比分割的个数,默认不插值
35234
+ * @param [options.splitNum] - 插值数,等比分割的个数,默认不插值(概略值,有经纬网网格来插值)
33815
35235
  * @param [options.minDistance] - 插值时的最小间隔(单位:米),优先级高于splitNum,如果传"auto",自动计算坐标中最小的2点距离
33816
35236
  * @returns 插值后的坐标对象
33817
35237
  */
@@ -33824,7 +35244,7 @@ declare namespace PolyUtil {
33824
35244
  * @param [options = {}] - 参数对象:
33825
35245
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
33826
35246
  * @param options.positions - 坐标数组
33827
- * @param [options.splitNum = 100] - 插值数,等比分割的个数
35247
+ * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
33828
35248
  * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
33829
35249
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
33830
35250
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
@@ -33878,7 +35298,7 @@ declare namespace PolyUtil {
33878
35298
  * @param [options = {}] - 参数对象:
33879
35299
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
33880
35300
  * @param options.positions - 坐标数组
33881
- * @param [options.splitNum = 100] - 插值数,等比分割的个数
35301
+ * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
33882
35302
  * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
33883
35303
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
33884
35304
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
@@ -33944,6 +35364,44 @@ declare namespace PolyUtil {
33944
35364
  * @returns 坐标集合 ,如: {points:[LngLatPoint,LngLatPoint], size: 500 }
33945
35365
  */
33946
35366
  function getGridPoints(bbox: number[], count: number, alt?: number): any;
35367
+ /**
35368
+ * 对面内进行插值,并 使用离屏渲染深度图的方式加速计算范围内的任何可见的物体的高度 <br />
35369
+ * 注意事项:<br />
35370
+ * 1. 需要地形和模型等需要分析区域对应的数据加载完成后才能使用该方法。<br />
35371
+ * 2. 如果有遮挡了分析区域的任何矢量对象,都需要分析前隐藏下,分析结束后再改回显示。<br />
35372
+ * @param [options = {}] - 参数对象:
35373
+ * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
35374
+ * @param options.positions - 坐标数组
35375
+ * @param [options.splitNum = 512] - 网格个数,横纵等比分割的网格个数,理论上:外接矩形的点个数 = splitNum * splitNum
35376
+ * @param [options.cameraHeight = scene.camera.positionCartographic.height] - 相机高度
35377
+ * @returns 计算完成的相关数据
35378
+ */
35379
+ function interPolygonByDepth(options?: {
35380
+ scene: Cesium.Scene;
35381
+ positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
35382
+ splitNum?: number;
35383
+ cameraHeight?: number;
35384
+ }): Promise<any>;
35385
+ /**
35386
+ * 对路线内进行插值,并 使用离屏渲染深度图的方式加速计算范围内的任何可见的物体的高度 <br />
35387
+ * 注意事项:<br />
35388
+ * 1. 需要地形和模型等需要分析区域对应的数据加载完成后才能使用该方法。<br />
35389
+ * 2. 如果有遮挡了分析区域的任何矢量对象,都需要分析前隐藏下,分析结束后再改回显示。<br />
35390
+ * @param [options = {}] - 参数对象:
35391
+ * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
35392
+ * @param options.positions - 坐标数组
35393
+ * @param [options.splitNum = 100] - 计算的间隔长度,数据量不能大于Cesium.ContextLimits.maximumTextureSize
35394
+ * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
35395
+ * @param [options.cameraHeight = scene.camera.positionCartographic.height] - 相机高度
35396
+ * @returns 计算完成的相关数据
35397
+ */
35398
+ function interPolylineByDepth(options?: {
35399
+ scene: Cesium.Scene;
35400
+ positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
35401
+ splitNum?: number;
35402
+ minDistance?: number;
35403
+ cameraHeight?: number;
35404
+ }): Promise<any>;
33947
35405
  }
33948
35406
 
33949
35407
  /**
@@ -34483,6 +35941,18 @@ declare namespace Util {
34483
35941
  */
34484
35942
  declare namespace control {
34485
35943
  export { BaseControl }
35944
+
35945
+ export { Animation }
35946
+ export { BaseLayerPicker }
35947
+ export { FullscreenButton }
35948
+ export { Geocoder }
35949
+ export { HomeButton }
35950
+ export { NavigationHelpButton }
35951
+ export { ProjectionPicker }
35952
+ export { SceneModePicker }
35953
+ export { Timeline }
35954
+ export { VRButton }
35955
+
34486
35956
  export { LocationBar }
34487
35957
  export { MouseDownView }
34488
35958
  export { Zoom }
@@ -34493,7 +35963,6 @@ declare namespace control {
34493
35963
  export { MapCompare }
34494
35964
  export { OverviewMap }
34495
35965
  export { ClockAnimate }
34496
- export { Timeline }
34497
35966
  }
34498
35967
 
34499
35968
  /**
@@ -34598,6 +36067,8 @@ declare namespace graphic {
34598
36067
  export { EllipseEntity }
34599
36068
  export { RectangularSensor }
34600
36069
  export { Video2D }
36070
+ export { PitEntity }
36071
+
34601
36072
 
34602
36073
  //polygon扩展的entity
34603
36074
  export { AttackArrow }
@@ -34625,6 +36096,7 @@ declare namespace graphic {
34625
36096
  export { AreaMeasure }
34626
36097
  export { AreaSurfaceMeasure }
34627
36098
  export { VolumeMeasure }
36099
+ export { VolumeDepthMeasure }
34628
36100
 
34629
36101
  //基础primitive
34630
36102
  export { PointPrimitive }
@@ -34639,13 +36111,14 @@ declare namespace graphic {
34639
36111
  export { ConeTrackPrimitive }
34640
36112
  export { EllipsoidPrimitive }
34641
36113
  export { PolylinePrimitive }
34642
- export { PolylineSimplePrimitive }
34643
36114
  export { WallPrimitive }
34644
36115
  export { CorridorPrimitive }
34645
36116
  export { PolylineVolumePrimitive }
34646
36117
  export { RectanglePrimitive }
34647
36118
  export { PolygonPrimitive }
34648
36119
  export { FrustumPrimitive }
36120
+ export { ThickWall }
36121
+
34649
36122
  //扩展的普通primitive
34650
36123
  export { LightCone }
34651
36124
  export { Water }
@@ -34654,6 +36127,8 @@ declare namespace graphic {
34654
36127
  export { DynamicRiver }
34655
36128
  export { Road }
34656
36129
  export { Pit }
36130
+ export { DoubleSidedPlane }
36131
+ export { ReflectionWater }
34657
36132
 
34658
36133
  //批量大数据primitive
34659
36134
  export { BaseCombine }
@@ -34681,6 +36156,7 @@ declare namespace graphic {
34681
36156
  export { Popup }
34682
36157
  export { Tooltip }
34683
36158
 
36159
+
34684
36160
  //自定义扩展:其他
34685
36161
  export { ParticleSystem }
34686
36162
  export { ArcFrustum }
@@ -34690,6 +36166,7 @@ declare namespace graphic {
34690
36166
  export { Route }
34691
36167
  export { FixedRoute }
34692
36168
 
36169
+
34693
36170
  //卫星插件
34694
36171
  export { CamberRadar }
34695
36172
  export { ConicSensor }
@@ -34791,6 +36268,8 @@ declare namespace thing {
34791
36268
  export { FloodByMaterial }
34792
36269
  export { TerrainClip }
34793
36270
  export { ContourLine }
36271
+ export { TerrainFlat }
36272
+ export { TerrainUplift }
34794
36273
 
34795
36274
  export { LimitHeight }
34796
36275
  export { TilesetPlanClip }
@@ -34813,7 +36292,7 @@ declare namespace thing {
34813
36292
 
34814
36293
  export {
34815
36294
  name, update, version, proj4,
34816
- BaseClass, BaseThing, LngLatPoint, LngLatArray, GroundSkyBox, LocalWorldTransform, CRS, ChinaCRS, EventType, State, Token, MaterialType, GraphicType, LayerType, ControlType, EffectType, Lang, LangType, MoveType, ClipType, Icon,
36295
+ BaseClass, BaseThing, LngLatPoint, LngLatArray, GroundSkyBox, MultipleSkyBox, LocalWorldTransform, CRS, ChinaCRS, EventType, State, Token, MaterialType, GraphicType, LayerType, ControlType, EffectType, Lang, LangType, MoveType, ClipType, Icon,
34817
36296
  DomUtil, MeasureUtil, PointUtil, PolyUtil, PointTrans, Util, Log, MaterialUtil, GraphicUtil, DrawUtil, LayerUtil, ControlUtil, EffectUtil,
34818
36297
  BaseMaterialConver, BaseStyleConver, BillboardStyleConver, CloudStyleConver, BoxStyleConver, CircleStyleConver, CorridorStyleConver, CylinderStyleConver, DivGraphicStyleConver, EllipsoidStyleConver, LabelStyleConver, ModelStyleConver, PathStyleConver, PlaneStyleConver, PointStyleConver, PolygonStyleConver, PolylineStyleConver, PolylineVolumeStyleConver, RectangleStyleConver, RectangularSensorStyleConver, WallStyleConver,
34819
36298
  material, graphic, provider, layer, thing, effect, control, query,