mars3d 3.5.13 → 3.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mars3d.css +2 -2
- package/dist/mars3d.d.ts +24 -6
- package/dist/mars3d.js +3 -3
- package/package.json +1 -1
package/dist/mars3d.css
CHANGED
package/dist/mars3d.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Mars3D三维可视化平台 mars3d
|
|
4
4
|
*
|
|
5
|
-
* 版本信息:v3.5.
|
|
6
|
-
* 编译日期:2023-
|
|
5
|
+
* 版本信息:v3.5.14
|
|
6
|
+
* 编译日期:2023-07-03 18:36:34
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2023-03-17
|
|
9
9
|
*/
|
|
@@ -9326,6 +9326,12 @@ declare class EditTileset extends EditBase {
|
|
|
9326
9326
|
startRotateMatrix(graphic?: BaseGraphic): void;
|
|
9327
9327
|
}
|
|
9328
9328
|
|
|
9329
|
+
/**
|
|
9330
|
+
* Video2D对象 标绘处理对应的编辑类
|
|
9331
|
+
*/
|
|
9332
|
+
declare class EditVideo2D extends EditBase {
|
|
9333
|
+
}
|
|
9334
|
+
|
|
9329
9335
|
/**
|
|
9330
9336
|
* Wall对象 标绘处理对应的编辑类,
|
|
9331
9337
|
*/
|
|
@@ -11769,6 +11775,10 @@ declare class Video2D extends PolygonEntity {
|
|
|
11769
11775
|
flyTo?: boolean;
|
|
11770
11776
|
flyToOptions?: any;
|
|
11771
11777
|
});
|
|
11778
|
+
/**
|
|
11779
|
+
* 编辑处理类
|
|
11780
|
+
*/
|
|
11781
|
+
readonly EditClass: EditVideo2D;
|
|
11772
11782
|
/**
|
|
11773
11783
|
* 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
|
|
11774
11784
|
*/
|
|
@@ -12573,7 +12583,8 @@ declare class Lune extends PolygonEntity {
|
|
|
12573
12583
|
/**
|
|
12574
12584
|
* 正多边形 Entity矢量数据
|
|
12575
12585
|
* @param options - 参数对象,包括以下:
|
|
12576
|
-
* @param options.
|
|
12586
|
+
* @param options.position - 中心点坐标位置
|
|
12587
|
+
* @param [options.positions] - 坐标位置
|
|
12577
12588
|
* @param options.style - 样式信息,还包括:
|
|
12578
12589
|
* @param [options.style.border = 3] - 边数量
|
|
12579
12590
|
* @param options.style.radius - 区域的半径(单位:米)
|
|
@@ -12600,7 +12611,8 @@ declare class Lune extends PolygonEntity {
|
|
|
12600
12611
|
*/
|
|
12601
12612
|
declare class Regular extends PolygonEntity {
|
|
12602
12613
|
constructor(options: {
|
|
12603
|
-
|
|
12614
|
+
position: LngLatPoint | Cesium.Cartesian3 | any[];
|
|
12615
|
+
positions?: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
12604
12616
|
style: {
|
|
12605
12617
|
border?: number;
|
|
12606
12618
|
radius: number;
|
|
@@ -12653,7 +12665,8 @@ declare class Regular extends PolygonEntity {
|
|
|
12653
12665
|
/**
|
|
12654
12666
|
* 扇形(3个点) Entity矢量数据
|
|
12655
12667
|
* @param options - 参数对象,包括以下:
|
|
12656
|
-
* @param options.
|
|
12668
|
+
* @param options.position - 中心点坐标位置
|
|
12669
|
+
* @param [options.positions] - 坐标位置
|
|
12657
12670
|
* @param options.style - 样式信息,还包括:
|
|
12658
12671
|
* @param options.style.radius - 扇形区域的半径(单位:米)
|
|
12659
12672
|
* @param options.style.startAngle - 扇形区域的开始角度(正东方向为0,顺时针到360度)
|
|
@@ -12681,7 +12694,8 @@ declare class Regular extends PolygonEntity {
|
|
|
12681
12694
|
*/
|
|
12682
12695
|
declare class Sector extends PolygonEntity {
|
|
12683
12696
|
constructor(options: {
|
|
12684
|
-
|
|
12697
|
+
position: LngLatPoint | Cesium.Cartesian3 | any[];
|
|
12698
|
+
positions?: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
12685
12699
|
style: {
|
|
12686
12700
|
radius: number;
|
|
12687
12701
|
startAngle: number;
|
|
@@ -31522,6 +31536,7 @@ declare class QueryArcServer extends BaseClass {
|
|
|
31522
31536
|
* @param [queryOptions.where] - 自定义的检索条件,与text二选一
|
|
31523
31537
|
* @param [queryOptions.graphic] - 限定的搜索区域
|
|
31524
31538
|
* @param [queryOptions.page = true] - 是否分页查询,false时不分页,一次性查询返回
|
|
31539
|
+
* @param [queryOptions.parameters] - 其他参数,arcgis服务本身支持的参数均支持
|
|
31525
31540
|
* @param [queryOptions.success] - 查询完成的回调方法
|
|
31526
31541
|
* @param [queryOptions.error] - 查询失败的回调方法
|
|
31527
31542
|
* @returns 查询完成的Promise,等价于success参数
|
|
@@ -31533,6 +31548,7 @@ declare class QueryArcServer extends BaseClass {
|
|
|
31533
31548
|
where?: string;
|
|
31534
31549
|
graphic?: BaseGraphic | any;
|
|
31535
31550
|
page?: boolean;
|
|
31551
|
+
parameters?: any;
|
|
31536
31552
|
success?: (...params: any[]) => any;
|
|
31537
31553
|
error?: (...params: any[]) => any;
|
|
31538
31554
|
}): Promise<any>;
|
|
@@ -33205,6 +33221,7 @@ declare type getSlope_endItem = (event: {
|
|
|
33205
33221
|
* @param [options.imageBottom] - 当显示开挖区域的井时,井底面贴图URL
|
|
33206
33222
|
* @param [options.diffHeight] - 当显示开挖区域的井时,设置所有区域的挖掘深度(单位:米)
|
|
33207
33223
|
* @param [options.splitNum = 30] - 当显示开挖区域的井时,井墙面每两点之间插值个数(概略值,有经纬网网格来插值)
|
|
33224
|
+
* @param [options.dynamicView = true] - 是否监听事件,动态隐藏非视域内区域
|
|
33208
33225
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
33209
33226
|
* @param [options.enabled = true] - 对象的启用状态
|
|
33210
33227
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
@@ -33217,6 +33234,7 @@ declare class TerrainClip extends TerrainOldEditBase {
|
|
|
33217
33234
|
imageBottom?: string;
|
|
33218
33235
|
diffHeight?: number;
|
|
33219
33236
|
splitNum?: number;
|
|
33237
|
+
dynamicView?: boolean;
|
|
33220
33238
|
id?: string | number;
|
|
33221
33239
|
enabled?: boolean;
|
|
33222
33240
|
eventParent?: BaseClass | boolean;
|