mars3d 3.8.1 → 3.8.2
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 +66 -5
- package/dist/mars3d.js +3 -3
- package/package.json +2 -2
package/dist/mars3d.css
CHANGED
package/dist/mars3d.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Mars3D三维可视化平台 mars3d
|
|
4
4
|
*
|
|
5
|
-
* 版本信息:v3.8.
|
|
6
|
-
* 编译日期:2024-09-
|
|
5
|
+
* 版本信息:v3.8.2
|
|
6
|
+
* 编译日期:2024-09-10 17:55:20
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2024-08-01
|
|
9
9
|
*/
|
|
@@ -1450,6 +1450,14 @@ declare namespace MaterialType {
|
|
|
1450
1450
|
* @property [dashPattern = 255.0] - 指定的16位模式
|
|
1451
1451
|
*/
|
|
1452
1452
|
const PolylineDash: string;
|
|
1453
|
+
/**
|
|
1454
|
+
* 线:箭头虚线(等长度虚线间隔)
|
|
1455
|
+
* @property [color = Cesium.Color.WHITE] - 颜色
|
|
1456
|
+
* @property [gapColor = Cesium.Color.TRANSPARENT] - 虚线间隔颜色,默认为透明
|
|
1457
|
+
* @property [dashLength = 16.0] - 虚线间隔长度,以像素为单位
|
|
1458
|
+
* @property [dashPattern = 255.0] - 指定的16位模式
|
|
1459
|
+
*/
|
|
1460
|
+
const LineDashArrow: string;
|
|
1453
1461
|
/**
|
|
1454
1462
|
* 线:点划线虚线
|
|
1455
1463
|
* @property [color = Cesium.Color.WHITE] - 颜色
|
|
@@ -1932,7 +1940,7 @@ declare namespace Token {
|
|
|
1932
1940
|
function updateTianditu(item: string | string[]): void;
|
|
1933
1941
|
/**
|
|
1934
1942
|
* 高德key数组,
|
|
1935
|
-
* 官网: {@link https://console.amap.com/dev/key/app}
|
|
1943
|
+
* 官网: {@link https://console.amap.com/dev/key/app} (服务平台类型:Web服务)
|
|
1936
1944
|
*/
|
|
1937
1945
|
const gaodeArr: string[];
|
|
1938
1946
|
/**
|
|
@@ -30105,6 +30113,58 @@ declare class LineCrossMaterialProperty extends BaseMaterialProperty {
|
|
|
30105
30113
|
equals(other?: Cesium.Property): boolean;
|
|
30106
30114
|
}
|
|
30107
30115
|
|
|
30116
|
+
/**
|
|
30117
|
+
* 箭头虚线(等长度虚线间隔) 材质
|
|
30118
|
+
* @param [options] - 参数对象,包括以下:
|
|
30119
|
+
* @param [options.color = Cesium.Color.WHITE] - 颜色
|
|
30120
|
+
* @param [options.gapColor = Cesium.Color.TRANSPARENT] - 虚线间隔颜色,默认为透明
|
|
30121
|
+
* @param [options.dashLength = 16.0] - 虚线间隔长度,以像素为单位
|
|
30122
|
+
* @param [options.dashPattern = 255.0] - 指定的16位模式
|
|
30123
|
+
*/
|
|
30124
|
+
declare class LineDashArrowMaterialProperty extends BaseMaterialProperty {
|
|
30125
|
+
constructor(options?: {
|
|
30126
|
+
color?: Cesium.Color;
|
|
30127
|
+
gapColor?: Cesium.Color;
|
|
30128
|
+
dashLength?: number;
|
|
30129
|
+
dashPattern?: number;
|
|
30130
|
+
});
|
|
30131
|
+
/**
|
|
30132
|
+
* 颜色
|
|
30133
|
+
*/
|
|
30134
|
+
color: Cesium.Color;
|
|
30135
|
+
/**
|
|
30136
|
+
* 虚线间隔颜色,默认为透明
|
|
30137
|
+
*/
|
|
30138
|
+
gapColor: Cesium.Color;
|
|
30139
|
+
/**
|
|
30140
|
+
* 虚线间隔长度,以像素为单位
|
|
30141
|
+
*/
|
|
30142
|
+
dashLength: number;
|
|
30143
|
+
/**
|
|
30144
|
+
* 指定的16位模式
|
|
30145
|
+
*/
|
|
30146
|
+
dashPattern: number;
|
|
30147
|
+
/**
|
|
30148
|
+
* 获取 材质名称
|
|
30149
|
+
* @param [time] - 检索值的时间。
|
|
30150
|
+
* @returns 材质名称
|
|
30151
|
+
*/
|
|
30152
|
+
getType(time?: Cesium.JulianDate): string;
|
|
30153
|
+
/**
|
|
30154
|
+
* 获取所提供时间的属性值。
|
|
30155
|
+
* @param [time] - 检索值的时间。
|
|
30156
|
+
* @param [result] - 用于存储值的对象,如果省略,则创建并返回一个新的实例。
|
|
30157
|
+
* @returns 修改的result参数或一个新的实例(如果没有提供result参数)。
|
|
30158
|
+
*/
|
|
30159
|
+
getValue(time?: Cesium.JulianDate, result?: any): any;
|
|
30160
|
+
/**
|
|
30161
|
+
* 将此属性与提供的属性进行比较并返回, 如果两者相等返回true,否则为false
|
|
30162
|
+
* @param [other] - 比较的对象
|
|
30163
|
+
* @returns 两者是同一个对象
|
|
30164
|
+
*/
|
|
30165
|
+
equals(other?: Cesium.Property): boolean;
|
|
30166
|
+
}
|
|
30167
|
+
|
|
30108
30168
|
/**
|
|
30109
30169
|
* 线状: 泛光线 材质
|
|
30110
30170
|
* @param [options] - 参数对象,包括以下:
|
|
@@ -37735,9 +37795,10 @@ declare namespace PointTrans {
|
|
|
37735
37795
|
/**
|
|
37736
37796
|
* 经度/纬度 十进制 转为 度分秒格式
|
|
37737
37797
|
* @param value - 经度或纬度值
|
|
37798
|
+
* @param [toFixedLen = 0] - 秒的小数位数
|
|
37738
37799
|
* @returns 度分秒对象,如: { degree:113, minute:24, second:40 }
|
|
37739
37800
|
*/
|
|
37740
|
-
function degree2dms(value: number): any;
|
|
37801
|
+
function degree2dms(value: number, toFixedLen?: number): any;
|
|
37741
37802
|
/**
|
|
37742
37803
|
* 经度/纬度 度分秒 转为 十进制
|
|
37743
37804
|
* @param degree - 度
|
|
@@ -39698,7 +39759,7 @@ declare namespace thing {
|
|
|
39698
39759
|
}
|
|
39699
39760
|
|
|
39700
39761
|
export {
|
|
39701
|
-
name, update, version, proj4, Tle,
|
|
39762
|
+
name, update, version, proj4, Tle, WindUtil,
|
|
39702
39763
|
BaseClass, BaseThing, LngLatPoint, LngLatArray, GroundSkyBox, MultipleSkyBox, LocalWorldTransform, CRS, ChinaCRS, EventType, State, Token, ColorRamp,
|
|
39703
39764
|
MaterialType, GraphicType, LayerType, ControlType, EffectType, ThingType, Lang, MoveType, ClipType, Icon, EditPointType,
|
|
39704
39765
|
DomUtil, MeasureUtil, PointUtil, PolyUtil, PointTrans, Util, Log, MaterialUtil, GraphicUtil, DrawUtil, LayerUtil, ControlUtil, EffectUtil, ThingUtil,
|