mars3d 3.6.4 → 3.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mars3d.css +2 -2
- package/dist/mars3d.d.ts +12 -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.6.
|
|
6
|
-
* 编译日期:2023-09-
|
|
5
|
+
* 版本信息:v3.6.5
|
|
6
|
+
* 编译日期:2023-09-11 20:49:54
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2023-03-17
|
|
9
9
|
*/
|
|
@@ -25627,6 +25627,9 @@ declare class WmtsLayer extends BaseTileLayer {
|
|
|
25627
25627
|
* <li><code>{northProjected}</code>:图块方案的墨卡托投影坐标中图块的北边缘。</li>
|
|
25628
25628
|
* <li><code>{width}</code>:每个图块的宽度(以像素为单位)。</li>
|
|
25629
25629
|
* <li><code>{height}</code>: 每个图块的高度(以像素为单位)。</li>
|
|
25630
|
+
* <li><code>{scale}</code>: z层级对应的scale值。</li>
|
|
25631
|
+
* <li><code>{origin}</code>: 该坐标系对应的origin原点坐标。</li>
|
|
25632
|
+
*
|
|
25630
25633
|
* </ul>
|
|
25631
25634
|
* @param [options.urlSchemeZeroPadding] - 为每个图块坐标获取URL方案零填充。格式为' 000',其中每个坐标将在左侧用零填充,以匹配传递的零字符串的宽度。例如设置:
|
|
25632
25635
|
* urlSchemeZeroPadding:{'{x}':'0000'}将导致'x'值为12,以在生成的URL中返回{x}的字符串'0012'。传递的对象具有以下关键字:
|
|
@@ -31847,6 +31850,7 @@ declare namespace QueryArcServer {
|
|
|
31847
31850
|
* ArcGIS WFS矢量服务查询类
|
|
31848
31851
|
* @param options - 参数对象,包括以下:
|
|
31849
31852
|
* @param options.url - ArcGIS服务地址, 示例:'http://server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/37'
|
|
31853
|
+
* @param [options.token] - 用于通过ArcGIS MapServer服务进行身份验证的ArcGIS令牌。
|
|
31850
31854
|
* @param [options.pageSize = 10] - 每页条数 *
|
|
31851
31855
|
* @param [options.headers = {}] - 将被添加到HTTP请求头。
|
|
31852
31856
|
* @param [options.proxy] - 加载资源时使用的代理。
|
|
@@ -31863,6 +31867,7 @@ declare namespace QueryArcServer {
|
|
|
31863
31867
|
declare class QueryArcServer extends BaseClass {
|
|
31864
31868
|
constructor(options: {
|
|
31865
31869
|
url: string;
|
|
31870
|
+
token?: string;
|
|
31866
31871
|
pageSize?: number;
|
|
31867
31872
|
headers?: any;
|
|
31868
31873
|
proxy?: Cesium.DefaultProxy;
|
|
@@ -32295,7 +32300,7 @@ declare namespace Measure {
|
|
|
32295
32300
|
/**
|
|
32296
32301
|
* 图上量算
|
|
32297
32302
|
* @param [options] - 参数对象,包括以下:
|
|
32298
|
-
* @param [options.hasEdit =
|
|
32303
|
+
* @param [options.hasEdit = true] - 是否可编辑
|
|
32299
32304
|
* @param [options.isAutoEditing = true] - 完成测量时是否自动启动编辑(需要hasEdit:true时)
|
|
32300
32305
|
* @param [options.isContinued = false] - 是否连续测量
|
|
32301
32306
|
* @param [options.label] - 测量结果文本的样式
|
|
@@ -33757,7 +33762,7 @@ declare class TerrainFlat extends TerrainEditBase {
|
|
|
33757
33762
|
* @param [options.image] - 开挖区域的井墙面贴图URL。未传入该值时,不显示开挖区域的井。
|
|
33758
33763
|
* @param [options.imageBottom] - 当显示开挖区域的井时,井底面贴图URL
|
|
33759
33764
|
* @param [options.diffHeight] - 当显示开挖区域的井时,设置区域的挖掘深度(单位:米)
|
|
33760
|
-
* @param [splitNum = 30] - 当显示开挖区域的井时,井墙面每两点之间插值个数
|
|
33765
|
+
* @param [options.splitNum = 30] - 当显示开挖区域的井时,井墙面每两点之间插值个数
|
|
33761
33766
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
33762
33767
|
* @param [options.enabled = true] - 对象的启用状态
|
|
33763
33768
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
@@ -33769,10 +33774,11 @@ declare class TerrainPlanClip extends BaseThing {
|
|
|
33769
33774
|
image?: string;
|
|
33770
33775
|
imageBottom?: string;
|
|
33771
33776
|
diffHeight?: number;
|
|
33777
|
+
splitNum?: number;
|
|
33772
33778
|
id?: string | number;
|
|
33773
33779
|
enabled?: boolean;
|
|
33774
33780
|
eventParent?: BaseClass | boolean;
|
|
33775
|
-
}
|
|
33781
|
+
});
|
|
33776
33782
|
/**
|
|
33777
33783
|
* 开挖区域的 坐标位置数组
|
|
33778
33784
|
*/
|
|
@@ -36951,7 +36957,7 @@ declare namespace Util {
|
|
|
36951
36957
|
* @param [langType = 0] - 使用的语言
|
|
36952
36958
|
* @returns lang参数指定的对应文本内容
|
|
36953
36959
|
*/
|
|
36954
|
-
function getLangText(key: string, langType?: LangType):
|
|
36960
|
+
function getLangText(key: string, langType?: LangType): string;
|
|
36955
36961
|
/**
|
|
36956
36962
|
* 更新Lang值,设置当前key对应语言的文本内容。
|
|
36957
36963
|
* @param key - 文本key
|