@kq_npm/client3d_webgl_vue 2.8.8-beta → 2.8.9-beta
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/aspectanalysis/index.js +2 -2
- package/baseterraingallery/index.js +9 -9
- package/comparemap/index.js +2 -2
- package/index.js +137 -137
- package/measure/index.js +11 -11
- package/package.json +1 -1
- package/scenceview/index.js +132 -132
- package/skylineanalysis/index.js +41 -41
- package/statusbar/index.js +8 -8
package/aspectanalysis/index.js
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* 坡向逻辑类
|
|
14
|
+
/**
|
|
15
|
+
* 坡向逻辑类
|
|
16
16
|
**/
|
|
17
17
|
class AspectAnalysisViewModel {
|
|
18
18
|
// 坡向三维对象
|
|
@@ -41,16 +41,16 @@ class BaseterrainGalleryViewModel {
|
|
|
41
41
|
subdomains: ["8", "9", "10", "11", "12"]
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* 无地形
|
|
44
|
+
/**
|
|
45
|
+
* 无地形
|
|
46
46
|
*/
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
terrainNo() {
|
|
50
50
|
this._baseterrainGallery.terrainNo = new window.Cesium.EllipsoidTerrainProvider();
|
|
51
51
|
}
|
|
52
|
-
/**
|
|
53
|
-
* cesium全球地形
|
|
52
|
+
/**
|
|
53
|
+
* cesium全球地形
|
|
54
54
|
*/
|
|
55
55
|
|
|
56
56
|
|
|
@@ -61,16 +61,16 @@ class BaseterrainGalleryViewModel {
|
|
|
61
61
|
requestWaterMask: true
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
/**
|
|
65
|
-
* 清理地图
|
|
64
|
+
/**
|
|
65
|
+
* 清理地图
|
|
66
66
|
*/
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
clear() {
|
|
70
70
|
this.setTerrainType(2);
|
|
71
71
|
}
|
|
72
|
-
/**
|
|
73
|
-
* 注销
|
|
72
|
+
/**
|
|
73
|
+
* 注销
|
|
74
74
|
*/
|
|
75
75
|
|
|
76
76
|
|
|
@@ -364,7 +364,7 @@ const __default__ = {
|
|
|
364
364
|
span: 24
|
|
365
365
|
}, {
|
|
366
366
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, null, {
|
|
367
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row @click=\"clickHandler(0)\" :class=\"currentIndex == 0 ? 'active' : ''\">\n <kq-col :span=\"5\">\n <img :src=\"TDT_TERRAiIN_URL\" alt=\"\" />\n </kq-col>\n <kq-col :span=\"19\">{{ language.tiandituTerrain }} </kq-col>\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
367
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row @click=\"clickHandler(0)\" :class=\"currentIndex == 0 ? 'active' : ''\">\r\n <kq-col :span=\"5\">\r\n <img :src=\"TDT_TERRAiIN_URL\" alt=\"\" />\r\n </kq-col>\r\n <kq-col :span=\"19\">{{ language.tiandituTerrain }} </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
368
368
|
onClick: _cache[0] || (_cache[0] = $event => clickHandler(1)),
|
|
369
369
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentIndex) == 1 ? 'active' : '')
|
|
370
370
|
}, {
|
package/comparemap/index.js
CHANGED
package/index.js
CHANGED
|
@@ -1824,11 +1824,11 @@ class LayerManager {
|
|
|
1824
1824
|
serverType: "3dtiles"
|
|
1825
1825
|
});
|
|
1826
1826
|
}
|
|
1827
|
-
/**
|
|
1828
|
-
* 设置多个图层的显示与隐藏 且控制树的勾选
|
|
1829
|
-
* @param ids 图层的GUID数组
|
|
1830
|
-
* @param visible true, false
|
|
1831
|
-
* @param eventTarget 触发方法的对象。该方法有执行其他监听事件,为防止方法死循环,该参数会传给监听事件
|
|
1827
|
+
/**
|
|
1828
|
+
* 设置多个图层的显示与隐藏 且控制树的勾选
|
|
1829
|
+
* @param ids 图层的GUID数组
|
|
1830
|
+
* @param visible true, false
|
|
1831
|
+
* @param eventTarget 触发方法的对象。该方法有执行其他监听事件,为防止方法死循环,该参数会传给监听事件
|
|
1832
1832
|
*/
|
|
1833
1833
|
|
|
1834
1834
|
|
|
@@ -2106,8 +2106,8 @@ class LayerManager {
|
|
|
2106
2106
|
|
|
2107
2107
|
return checkedKeys;
|
|
2108
2108
|
}
|
|
2109
|
-
/**
|
|
2110
|
-
* 获取勾选图层的图层数据,如果是有融合图层,则只返回融合图层的子图层
|
|
2109
|
+
/**
|
|
2110
|
+
* 获取勾选图层的图层数据,如果是有融合图层,则只返回融合图层的子图层
|
|
2111
2111
|
*/
|
|
2112
2112
|
|
|
2113
2113
|
|
|
@@ -2381,12 +2381,12 @@ class LayerManager {
|
|
|
2381
2381
|
|
|
2382
2382
|
this._viewer.terrainProvider = terrainProvider;
|
|
2383
2383
|
}
|
|
2384
|
-
/**
|
|
2385
|
-
* 删除临时添加数据
|
|
2386
|
-
* 移除渲染图层
|
|
2387
|
-
* 删除 _layerTreeData的临时图层数据
|
|
2388
|
-
* 删除 _layerListData的临时图层数据
|
|
2389
|
-
* @param guid
|
|
2384
|
+
/**
|
|
2385
|
+
* 删除临时添加数据
|
|
2386
|
+
* 移除渲染图层
|
|
2387
|
+
* 删除 _layerTreeData的临时图层数据
|
|
2388
|
+
* 删除 _layerListData的临时图层数据
|
|
2389
|
+
* @param guid
|
|
2390
2390
|
*/
|
|
2391
2391
|
|
|
2392
2392
|
|
|
@@ -2472,10 +2472,10 @@ class LayerManager {
|
|
|
2472
2472
|
}
|
|
2473
2473
|
|
|
2474
2474
|
}
|
|
2475
|
-
/**
|
|
2476
|
-
* 根据guid获取子节点guid集合
|
|
2477
|
-
* @param data
|
|
2478
|
-
* @param guid
|
|
2475
|
+
/**
|
|
2476
|
+
* 根据guid获取子节点guid集合
|
|
2477
|
+
* @param data
|
|
2478
|
+
* @param guid
|
|
2479
2479
|
*/
|
|
2480
2480
|
|
|
2481
2481
|
function getChildrenByGuid(data, guid, guids, addChildren = false) {
|
|
@@ -2493,10 +2493,10 @@ function getChildrenByGuid(data, guid, guids, addChildren = false) {
|
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
2495
2495
|
}
|
|
2496
|
-
/**
|
|
2497
|
-
* 根据guid删除树节点数据,包含子节点也删除
|
|
2498
|
-
* @param data
|
|
2499
|
-
* @param guid
|
|
2496
|
+
/**
|
|
2497
|
+
* 根据guid删除树节点数据,包含子节点也删除
|
|
2498
|
+
* @param data
|
|
2499
|
+
* @param guid
|
|
2500
2500
|
*/
|
|
2501
2501
|
|
|
2502
2502
|
|
|
@@ -2741,11 +2741,11 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
2741
2741
|
|
|
2742
2742
|
return layer;
|
|
2743
2743
|
}
|
|
2744
|
-
/**
|
|
2745
|
-
* 操作底图显隐的方法
|
|
2746
|
-
* @param layerKey 存储图层信息的key
|
|
2747
|
-
* @param layerInfo 创建图层的参数信息对象
|
|
2748
|
-
* @param visible 显隐
|
|
2744
|
+
/**
|
|
2745
|
+
* 操作底图显隐的方法
|
|
2746
|
+
* @param layerKey 存储图层信息的key
|
|
2747
|
+
* @param layerInfo 创建图层的参数信息对象
|
|
2748
|
+
* @param visible 显隐
|
|
2749
2749
|
*/
|
|
2750
2750
|
|
|
2751
2751
|
|
|
@@ -2872,10 +2872,10 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
2872
2872
|
|
|
2873
2873
|
return layer;
|
|
2874
2874
|
}
|
|
2875
|
-
/**
|
|
2876
|
-
* 操作在线底图,添加显示隐藏图层
|
|
2877
|
-
* @param {Object} layerConfig 图层数据
|
|
2878
|
-
* @param {boolean} visible 显隐
|
|
2875
|
+
/**
|
|
2876
|
+
* 操作在线底图,添加显示隐藏图层
|
|
2877
|
+
* @param {Object} layerConfig 图层数据
|
|
2878
|
+
* @param {boolean} visible 显隐
|
|
2879
2879
|
*/
|
|
2880
2880
|
|
|
2881
2881
|
|
|
@@ -2900,8 +2900,8 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
2900
2900
|
}
|
|
2901
2901
|
}
|
|
2902
2902
|
}
|
|
2903
|
-
/**
|
|
2904
|
-
* 移除所有在线底图在地图中的显示
|
|
2903
|
+
/**
|
|
2904
|
+
* 移除所有在线底图在地图中的显示
|
|
2905
2905
|
*/
|
|
2906
2906
|
|
|
2907
2907
|
|
|
@@ -2978,17 +2978,17 @@ const __default__ = {
|
|
|
2978
2978
|
},
|
|
2979
2979
|
options: Object,
|
|
2980
2980
|
|
|
2981
|
-
/**
|
|
2982
|
-
* 图层数据源
|
|
2983
|
-
* 事例:
|
|
2984
|
-
* {
|
|
2985
|
-
name: null,// 服务名称
|
|
2986
|
-
url: null,//服务地址
|
|
2987
|
-
token: null,//服务token
|
|
2988
|
-
type: "kqmapserver", //服务类型 kqmapserver或者kq3dserver
|
|
2989
|
-
isShowAllLayers: true,
|
|
2990
|
-
defaultShowLayerNames: []
|
|
2991
|
-
}
|
|
2981
|
+
/**
|
|
2982
|
+
* 图层数据源
|
|
2983
|
+
* 事例:
|
|
2984
|
+
* {
|
|
2985
|
+
name: null,// 服务名称
|
|
2986
|
+
url: null,//服务地址
|
|
2987
|
+
token: null,//服务token
|
|
2988
|
+
type: "kqmapserver", //服务类型 kqmapserver或者kq3dserver
|
|
2989
|
+
isShowAllLayers: true,
|
|
2990
|
+
defaultShowLayerNames: []
|
|
2991
|
+
}
|
|
2992
2992
|
*/
|
|
2993
2993
|
service: Object,
|
|
2994
2994
|
// ScenceView初始化的参数对象,包含初始化范围和layer信息。
|
|
@@ -3000,9 +3000,9 @@ const __default__ = {
|
|
|
3000
3000
|
default: true
|
|
3001
3001
|
},
|
|
3002
3002
|
|
|
3003
|
-
/**
|
|
3004
|
-
* 例:"top-left","top-right","bottom-left","bottom-right","left","right","bottom"
|
|
3005
|
-
* {top:'16px',left:'16px'}, {top:16,left:16}
|
|
3003
|
+
/**
|
|
3004
|
+
* 例:"top-left","top-right","bottom-left","bottom-right","left","right","bottom"
|
|
3005
|
+
* {top:'16px',left:'16px'}, {top:16,left:16}
|
|
3006
3006
|
*/
|
|
3007
3007
|
toolButtonsPosition: [String, Object],
|
|
3008
3008
|
showLogo: {
|
|
@@ -3023,12 +3023,12 @@ const __default__ = {
|
|
|
3023
3023
|
const {
|
|
3024
3024
|
proxy
|
|
3025
3025
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.getCurrentInstance)();
|
|
3026
|
-
/**
|
|
3027
|
-
* 支持传入属性:
|
|
3028
|
-
* target - viewer对象渲染的div的id
|
|
3029
|
-
* options - 三维球初始化属性设置
|
|
3030
|
-
* scenceUrl - 场景地址
|
|
3031
|
-
* showToolButtons - 是否显示工具栏按钮
|
|
3026
|
+
/**
|
|
3027
|
+
* 支持传入属性:
|
|
3028
|
+
* target - viewer对象渲染的div的id
|
|
3029
|
+
* options - 三维球初始化属性设置
|
|
3030
|
+
* scenceUrl - 场景地址
|
|
3031
|
+
* showToolButtons - 是否显示工具栏按钮
|
|
3032
3032
|
*/
|
|
3033
3033
|
|
|
3034
3034
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
@@ -3064,8 +3064,8 @@ const __default__ = {
|
|
|
3064
3064
|
viewModel = new ScenceViewViewModel(props, _language);
|
|
3065
3065
|
viewModel.initViewer();
|
|
3066
3066
|
});
|
|
3067
|
-
/**
|
|
3068
|
-
* 获取ScenceView的逻辑类
|
|
3067
|
+
/**
|
|
3068
|
+
* 获取ScenceView的逻辑类
|
|
3069
3069
|
*/
|
|
3070
3070
|
|
|
3071
3071
|
function getViewModel() {
|
|
@@ -3809,16 +3809,16 @@ class BaseterrainGalleryViewModel {
|
|
|
3809
3809
|
subdomains: ["8", "9", "10", "11", "12"]
|
|
3810
3810
|
});
|
|
3811
3811
|
}
|
|
3812
|
-
/**
|
|
3813
|
-
* 无地形
|
|
3812
|
+
/**
|
|
3813
|
+
* 无地形
|
|
3814
3814
|
*/
|
|
3815
3815
|
|
|
3816
3816
|
|
|
3817
3817
|
terrainNo() {
|
|
3818
3818
|
this._baseterrainGallery.terrainNo = new window.Cesium.EllipsoidTerrainProvider();
|
|
3819
3819
|
}
|
|
3820
|
-
/**
|
|
3821
|
-
* cesium全球地形
|
|
3820
|
+
/**
|
|
3821
|
+
* cesium全球地形
|
|
3822
3822
|
*/
|
|
3823
3823
|
|
|
3824
3824
|
|
|
@@ -3829,16 +3829,16 @@ class BaseterrainGalleryViewModel {
|
|
|
3829
3829
|
requestWaterMask: true
|
|
3830
3830
|
});
|
|
3831
3831
|
}
|
|
3832
|
-
/**
|
|
3833
|
-
* 清理地图
|
|
3832
|
+
/**
|
|
3833
|
+
* 清理地图
|
|
3834
3834
|
*/
|
|
3835
3835
|
|
|
3836
3836
|
|
|
3837
3837
|
clear() {
|
|
3838
3838
|
this.setTerrainType(2);
|
|
3839
3839
|
}
|
|
3840
|
-
/**
|
|
3841
|
-
* 注销
|
|
3840
|
+
/**
|
|
3841
|
+
* 注销
|
|
3842
3842
|
*/
|
|
3843
3843
|
|
|
3844
3844
|
|
|
@@ -3990,7 +3990,7 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3990
3990
|
span: 24
|
|
3991
3991
|
}, {
|
|
3992
3992
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form, null, {
|
|
3993
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" <kq-row @click=\"clickHandler(0)\" :class=\"currentIndex == 0 ? 'active' : ''\">\n <kq-col :span=\"5\">\n <img :src=\"TDT_TERRAiIN_URL\" alt=\"\" />\n </kq-col>\n <kq-col :span=\"19\">{{ language.tiandituTerrain }} </kq-col>\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
3993
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" <kq-row @click=\"clickHandler(0)\" :class=\"currentIndex == 0 ? 'active' : ''\">\r\n <kq-col :span=\"5\">\r\n <img :src=\"TDT_TERRAiIN_URL\" alt=\"\" />\r\n </kq-col>\r\n <kq-col :span=\"19\">{{ language.tiandituTerrain }} </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
3994
3994
|
onClick: _cache[0] || (_cache[0] = $event => clickHandler(1)),
|
|
3995
3995
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(currentIndex) == 1 ? 'active' : '')
|
|
3996
3996
|
}, {
|
|
@@ -4382,9 +4382,9 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
4382
4382
|
var unit = "°";
|
|
4383
4383
|
return azimuth.toFixed(4) + " " + unit;
|
|
4384
4384
|
}
|
|
4385
|
-
/**
|
|
4386
|
-
* @description 监听单位变化操作
|
|
4387
|
-
* @param {string} unit - 单位
|
|
4385
|
+
/**
|
|
4386
|
+
* @description 监听单位变化操作
|
|
4387
|
+
* @param {string} unit - 单位
|
|
4388
4388
|
*/
|
|
4389
4389
|
|
|
4390
4390
|
|
|
@@ -4392,11 +4392,11 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
4392
4392
|
result.value = convertValueUnitTotal(distanceValue, unit);
|
|
4393
4393
|
viewModel && viewModel.updateDistanceUnit(distanceValue, unit);
|
|
4394
4394
|
}
|
|
4395
|
-
/**
|
|
4396
|
-
* @description 测量距离数值单位换算
|
|
4397
|
-
* @param {string} value - 原始数值
|
|
4398
|
-
* @param {string} unit - 单位
|
|
4399
|
-
* @returns {string} 新数值
|
|
4395
|
+
/**
|
|
4396
|
+
* @description 测量距离数值单位换算
|
|
4397
|
+
* @param {string} value - 原始数值
|
|
4398
|
+
* @param {string} unit - 单位
|
|
4399
|
+
* @returns {string} 新数值
|
|
4400
4400
|
*/
|
|
4401
4401
|
|
|
4402
4402
|
|
|
@@ -4458,8 +4458,8 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
4458
4458
|
break;
|
|
4459
4459
|
}
|
|
4460
4460
|
}
|
|
4461
|
-
/**
|
|
4462
|
-
* 清除测量
|
|
4461
|
+
/**
|
|
4462
|
+
* 清除测量
|
|
4463
4463
|
*/
|
|
4464
4464
|
|
|
4465
4465
|
|
|
@@ -4570,7 +4570,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
4570
4570
|
|
|
4571
4571
|
}, 8
|
|
4572
4572
|
/* PROPS */
|
|
4573
|
-
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" <kq-button @click.stop=\"startMeasure('azimuth')\" :class=\"isActive == 'azimuth' ? 'is-active' : null\" :title=\"language.azimuthMeasure\">\n <kq-icon :size=\"24\">\n <IconMeasureAzimuth />\n </kq-icon>\n </kq-button> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
4573
|
+
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" <kq-button @click.stop=\"startMeasure('azimuth')\" :class=\"isActive == 'azimuth' ? 'is-active' : null\" :title=\"language.azimuthMeasure\">\r\n <kq-icon :size=\"24\">\r\n <IconMeasureAzimuth />\r\n </kq-icon>\r\n </kq-button> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
4574
4574
|
type: "danger",
|
|
4575
4575
|
plain: "",
|
|
4576
4576
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)(clearMeasure, ["stop"]),
|
|
@@ -9669,19 +9669,19 @@ ProfileAnalysis.install = (Vue, opts) => {
|
|
|
9669
9669
|
|
|
9670
9670
|
//天际线分析逻辑类
|
|
9671
9671
|
class SkylineAnalysisViewModel {
|
|
9672
|
-
/**
|
|
9673
|
-
* 天际线分析逻辑类
|
|
9674
|
-
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
9675
|
-
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
9676
|
-
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
9677
|
-
* @param {Object} _options 天际线分析存储参数对象
|
|
9678
|
-
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
9672
|
+
/**
|
|
9673
|
+
* 天际线分析逻辑类
|
|
9674
|
+
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
9675
|
+
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
9676
|
+
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
9677
|
+
* @param {Object} _options 天际线分析存储参数对象
|
|
9678
|
+
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
9679
9679
|
*/
|
|
9680
9680
|
|
|
9681
|
-
/**
|
|
9682
|
-
* 天际线分析逻辑类构造函数
|
|
9683
|
-
* @param {*} viewer 三维对象
|
|
9684
|
-
* @param {*} option 天际线分析参数对象
|
|
9681
|
+
/**
|
|
9682
|
+
* 天际线分析逻辑类构造函数
|
|
9683
|
+
* @param {*} viewer 三维对象
|
|
9684
|
+
* @param {*} option 天际线分析参数对象
|
|
9685
9685
|
*/
|
|
9686
9686
|
constructor(viewer, option) {
|
|
9687
9687
|
_defineProperty(this, "_skylineAnalysis", null);
|
|
@@ -9719,8 +9719,8 @@ class SkylineAnalysisViewModel {
|
|
|
9719
9719
|
|
|
9720
9720
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
9721
9721
|
}
|
|
9722
|
-
/**
|
|
9723
|
-
* 提取天际线
|
|
9722
|
+
/**
|
|
9723
|
+
* 提取天际线
|
|
9724
9724
|
*/
|
|
9725
9725
|
|
|
9726
9726
|
|
|
@@ -9749,8 +9749,8 @@ class SkylineAnalysisViewModel {
|
|
|
9749
9749
|
throw "请添加模型后提取!";
|
|
9750
9750
|
}
|
|
9751
9751
|
}
|
|
9752
|
-
/**
|
|
9753
|
-
* 绘制限高体
|
|
9752
|
+
/**
|
|
9753
|
+
* 绘制限高体
|
|
9754
9754
|
*/
|
|
9755
9755
|
|
|
9756
9756
|
|
|
@@ -9780,8 +9780,8 @@ class SkylineAnalysisViewModel {
|
|
|
9780
9780
|
throw "请添加模型后绘制!";
|
|
9781
9781
|
}
|
|
9782
9782
|
}
|
|
9783
|
-
/**
|
|
9784
|
-
* 展示二维天际线
|
|
9783
|
+
/**
|
|
9784
|
+
* 展示二维天际线
|
|
9785
9785
|
*/
|
|
9786
9786
|
|
|
9787
9787
|
|
|
@@ -9824,8 +9824,8 @@ class SkylineAnalysisViewModel {
|
|
|
9824
9824
|
};
|
|
9825
9825
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
9826
9826
|
}
|
|
9827
|
-
/**
|
|
9828
|
-
* 清除限高体
|
|
9827
|
+
/**
|
|
9828
|
+
* 清除限高体
|
|
9829
9829
|
*/
|
|
9830
9830
|
|
|
9831
9831
|
|
|
@@ -9842,9 +9842,9 @@ class SkylineAnalysisViewModel {
|
|
|
9842
9842
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
9843
9843
|
}
|
|
9844
9844
|
}
|
|
9845
|
-
/**
|
|
9846
|
-
* 设置天际线颜色
|
|
9847
|
-
* @param {String} lineColor 天际线颜色
|
|
9845
|
+
/**
|
|
9846
|
+
* 设置天际线颜色
|
|
9847
|
+
* @param {String} lineColor 天际线颜色
|
|
9848
9848
|
*/
|
|
9849
9849
|
|
|
9850
9850
|
|
|
@@ -9853,10 +9853,10 @@ class SkylineAnalysisViewModel {
|
|
|
9853
9853
|
this._options.lineColor = window.Cesium.Color.fromCssColorString(lineColor);
|
|
9854
9854
|
if (this._skylineAnalysis) this._skylineAnalysis.lineColor = this._options.lineColor;
|
|
9855
9855
|
}
|
|
9856
|
-
/**
|
|
9857
|
-
* 设置限高体颜色
|
|
9858
|
-
* @param {String} faceColor 限高体轮廓颜色
|
|
9859
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9856
|
+
/**
|
|
9857
|
+
* 设置限高体颜色
|
|
9858
|
+
* @param {String} faceColor 限高体轮廓颜色
|
|
9859
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9860
9860
|
*/
|
|
9861
9861
|
|
|
9862
9862
|
|
|
@@ -9865,9 +9865,9 @@ class SkylineAnalysisViewModel {
|
|
|
9865
9865
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
9866
9866
|
if (this._skylineAnalysis && this._showLimitHeightBody) this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
9867
9867
|
}
|
|
9868
|
-
/**
|
|
9869
|
-
* 设置天际线半径
|
|
9870
|
-
* @param {String} radius 天际线半径
|
|
9868
|
+
/**
|
|
9869
|
+
* 设置天际线半径
|
|
9870
|
+
* @param {String} radius 天际线半径
|
|
9871
9871
|
*/
|
|
9872
9872
|
|
|
9873
9873
|
|
|
@@ -9876,10 +9876,10 @@ class SkylineAnalysisViewModel {
|
|
|
9876
9876
|
this._options.radius = radius;
|
|
9877
9877
|
if (this._skylineAnalysis) this._skylineAnalysis.radius = radius;
|
|
9878
9878
|
}
|
|
9879
|
-
/**
|
|
9880
|
-
* 设置限高体透明度
|
|
9881
|
-
* @param {String} faceColor 限高体轮廓颜色
|
|
9882
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9879
|
+
/**
|
|
9880
|
+
* 设置限高体透明度
|
|
9881
|
+
* @param {String} faceColor 限高体轮廓颜色
|
|
9882
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9883
9883
|
*/
|
|
9884
9884
|
|
|
9885
9885
|
|
|
@@ -9888,10 +9888,10 @@ class SkylineAnalysisViewModel {
|
|
|
9888
9888
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
9889
9889
|
if (this._skylineAnalysis && this._showLimitHeightBody) this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
9890
9890
|
}
|
|
9891
|
-
/**
|
|
9892
|
-
* 设置限高体轮廓颜色
|
|
9893
|
-
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
9894
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9891
|
+
/**
|
|
9892
|
+
* 设置限高体轮廓颜色
|
|
9893
|
+
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
9894
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9895
9895
|
*/
|
|
9896
9896
|
|
|
9897
9897
|
|
|
@@ -9903,8 +9903,8 @@ class SkylineAnalysisViewModel {
|
|
|
9903
9903
|
this._skylineAnalysis.faceOutlineColor = this._options.faceOutlineColor;
|
|
9904
9904
|
}
|
|
9905
9905
|
}
|
|
9906
|
-
/*
|
|
9907
|
-
* 清除
|
|
9906
|
+
/*
|
|
9907
|
+
* 清除
|
|
9908
9908
|
*/
|
|
9909
9909
|
|
|
9910
9910
|
|
|
@@ -9917,8 +9917,8 @@ class SkylineAnalysisViewModel {
|
|
|
9917
9917
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
9918
9918
|
}
|
|
9919
9919
|
}
|
|
9920
|
-
/**
|
|
9921
|
-
* 注销
|
|
9920
|
+
/**
|
|
9921
|
+
* 注销
|
|
9922
9922
|
*/
|
|
9923
9923
|
|
|
9924
9924
|
|
|
@@ -13221,8 +13221,8 @@ SlopeAnalysis.install = (Vue, opts) => {
|
|
|
13221
13221
|
;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysisViewModel.js
|
|
13222
13222
|
|
|
13223
13223
|
|
|
13224
|
-
/**
|
|
13225
|
-
* 坡向逻辑类
|
|
13224
|
+
/**
|
|
13225
|
+
* 坡向逻辑类
|
|
13226
13226
|
**/
|
|
13227
13227
|
class AspectAnalysisViewModel {
|
|
13228
13228
|
// 坡向三维对象
|
|
@@ -21199,8 +21199,8 @@ const CompareMapTreevue_type_script_setup_true_lang_js_default_ = {
|
|
|
21199
21199
|
|
|
21200
21200
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
21201
21201
|
let viewModel = null;
|
|
21202
|
-
/**
|
|
21203
|
-
* 勾选图层逻辑
|
|
21202
|
+
/**
|
|
21203
|
+
* 勾选图层逻辑
|
|
21204
21204
|
*/
|
|
21205
21205
|
|
|
21206
21206
|
function changeLayer(values) {
|
|
@@ -22832,14 +22832,14 @@ class StatusBarViewModel {
|
|
|
22832
22832
|
|
|
22833
22833
|
|
|
22834
22834
|
|
|
22835
|
-
/**
|
|
22836
|
-
* 支持传入属性:
|
|
22837
|
-
* hideResolution - 隐藏分辨率
|
|
22838
|
-
* hideScale - 隐藏比例尺
|
|
22839
|
-
* hideLonLat - 隐藏经纬度
|
|
22840
|
-
* hideEyeAlt - 隐藏视点高
|
|
22841
|
-
* hideCopyright - 隐藏版权信息
|
|
22842
|
-
* copyrightText - 版权信息文字
|
|
22835
|
+
/**
|
|
22836
|
+
* 支持传入属性:
|
|
22837
|
+
* hideResolution - 隐藏分辨率
|
|
22838
|
+
* hideScale - 隐藏比例尺
|
|
22839
|
+
* hideLonLat - 隐藏经纬度
|
|
22840
|
+
* hideEyeAlt - 隐藏视点高
|
|
22841
|
+
* hideCopyright - 隐藏版权信息
|
|
22842
|
+
* copyrightText - 版权信息文字
|
|
22843
22843
|
*/
|
|
22844
22844
|
|
|
22845
22845
|
const StatusBarvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -22921,11 +22921,11 @@ StatusBar.install = (Vue, opts) => {
|
|
|
22921
22921
|
|
|
22922
22922
|
|
|
22923
22923
|
;// CONCATENATED MODULE: ./src/webgl/components.js
|
|
22924
|
-
/**
|
|
22925
|
-
* Author: 朱鹏超
|
|
22926
|
-
* Date: 2022-11-23
|
|
22927
|
-
* Description: client3d_webgl_vue 组件入口
|
|
22928
|
-
* LastEditors: 朱鹏超
|
|
22924
|
+
/**
|
|
22925
|
+
* Author: 朱鹏超
|
|
22926
|
+
* Date: 2022-11-23
|
|
22927
|
+
* Description: client3d_webgl_vue 组件入口
|
|
22928
|
+
* LastEditors: 朱鹏超
|
|
22929
22929
|
*/
|
|
22930
22930
|
|
|
22931
22931
|
// 三维地图快捷工具
|
|
@@ -23043,11 +23043,11 @@ const install = function (Vue, opts = {}) {
|
|
|
23043
23043
|
install
|
|
23044
23044
|
});
|
|
23045
23045
|
;// CONCATENATED MODULE: ./src/webgl/index.js
|
|
23046
|
-
/**
|
|
23047
|
-
* Author: 朱鹏超
|
|
23048
|
-
* Date: 2022-11-23
|
|
23049
|
-
* Description: webgl 组件包的总入口文件
|
|
23050
|
-
* LastEditors: 朱鹏超
|
|
23046
|
+
/**
|
|
23047
|
+
* Author: 朱鹏超
|
|
23048
|
+
* Date: 2022-11-23
|
|
23049
|
+
* Description: webgl 组件包的总入口文件
|
|
23050
|
+
* LastEditors: 朱鹏超
|
|
23051
23051
|
*/
|
|
23052
23052
|
// import "@/webgl/style.scss";
|
|
23053
23053
|
|
package/measure/index.js
CHANGED
|
@@ -480,9 +480,9 @@ const __default__ = {
|
|
|
480
480
|
var unit = "°";
|
|
481
481
|
return azimuth.toFixed(4) + " " + unit;
|
|
482
482
|
}
|
|
483
|
-
/**
|
|
484
|
-
* @description 监听单位变化操作
|
|
485
|
-
* @param {string} unit - 单位
|
|
483
|
+
/**
|
|
484
|
+
* @description 监听单位变化操作
|
|
485
|
+
* @param {string} unit - 单位
|
|
486
486
|
*/
|
|
487
487
|
|
|
488
488
|
|
|
@@ -490,11 +490,11 @@ const __default__ = {
|
|
|
490
490
|
result.value = convertValueUnitTotal(distanceValue, unit);
|
|
491
491
|
viewModel && viewModel.updateDistanceUnit(distanceValue, unit);
|
|
492
492
|
}
|
|
493
|
-
/**
|
|
494
|
-
* @description 测量距离数值单位换算
|
|
495
|
-
* @param {string} value - 原始数值
|
|
496
|
-
* @param {string} unit - 单位
|
|
497
|
-
* @returns {string} 新数值
|
|
493
|
+
/**
|
|
494
|
+
* @description 测量距离数值单位换算
|
|
495
|
+
* @param {string} value - 原始数值
|
|
496
|
+
* @param {string} unit - 单位
|
|
497
|
+
* @returns {string} 新数值
|
|
498
498
|
*/
|
|
499
499
|
|
|
500
500
|
|
|
@@ -556,8 +556,8 @@ const __default__ = {
|
|
|
556
556
|
break;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
/**
|
|
560
|
-
* 清除测量
|
|
559
|
+
/**
|
|
560
|
+
* 清除测量
|
|
561
561
|
*/
|
|
562
562
|
|
|
563
563
|
|
|
@@ -668,7 +668,7 @@ const __default__ = {
|
|
|
668
668
|
|
|
669
669
|
}, 8
|
|
670
670
|
/* PROPS */
|
|
671
|
-
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-button @click.stop=\"startMeasure('azimuth')\" :class=\"isActive == 'azimuth' ? 'is-active' : null\" :title=\"language.azimuthMeasure\">\n <kq-icon :size=\"24\">\n <IconMeasureAzimuth />\n </kq-icon>\n </kq-button> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
671
|
+
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-button @click.stop=\"startMeasure('azimuth')\" :class=\"isActive == 'azimuth' ? 'is-active' : null\" :title=\"language.azimuthMeasure\">\r\n <kq-icon :size=\"24\">\r\n <IconMeasureAzimuth />\r\n </kq-icon>\r\n </kq-button> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
672
672
|
type: "danger",
|
|
673
673
|
plain: "",
|
|
674
674
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(clearMeasure, ["stop"]),
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"2.8.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"2.8.9-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"^9.2.0-beta.36","xlsx":"^0.18.5","css-vars-ponyfill":"^2.4.8","html2canvas":"^1.4.1","xe-utils":"^3.5.4"}}
|
package/scenceview/index.js
CHANGED
|
@@ -1535,8 +1535,8 @@ AddData.install = (Vue, opts) => {
|
|
|
1535
1535
|
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
1536
1536
|
|
|
1537
1537
|
|
|
1538
|
-
/**
|
|
1539
|
-
* 坡向逻辑类
|
|
1538
|
+
/**
|
|
1539
|
+
* 坡向逻辑类
|
|
1540
1540
|
**/
|
|
1541
1541
|
class AspectAnalysisViewModel {
|
|
1542
1542
|
// 坡向三维对象
|
|
@@ -2037,16 +2037,16 @@ class BaseterrainGalleryViewModel {
|
|
|
2037
2037
|
subdomains: ["8", "9", "10", "11", "12"]
|
|
2038
2038
|
});
|
|
2039
2039
|
}
|
|
2040
|
-
/**
|
|
2041
|
-
* 无地形
|
|
2040
|
+
/**
|
|
2041
|
+
* 无地形
|
|
2042
2042
|
*/
|
|
2043
2043
|
|
|
2044
2044
|
|
|
2045
2045
|
terrainNo() {
|
|
2046
2046
|
this._baseterrainGallery.terrainNo = new window.Cesium.EllipsoidTerrainProvider();
|
|
2047
2047
|
}
|
|
2048
|
-
/**
|
|
2049
|
-
* cesium全球地形
|
|
2048
|
+
/**
|
|
2049
|
+
* cesium全球地形
|
|
2050
2050
|
*/
|
|
2051
2051
|
|
|
2052
2052
|
|
|
@@ -2057,16 +2057,16 @@ class BaseterrainGalleryViewModel {
|
|
|
2057
2057
|
requestWaterMask: true
|
|
2058
2058
|
});
|
|
2059
2059
|
}
|
|
2060
|
-
/**
|
|
2061
|
-
* 清理地图
|
|
2060
|
+
/**
|
|
2061
|
+
* 清理地图
|
|
2062
2062
|
*/
|
|
2063
2063
|
|
|
2064
2064
|
|
|
2065
2065
|
clear() {
|
|
2066
2066
|
this.setTerrainType(2);
|
|
2067
2067
|
}
|
|
2068
|
-
/**
|
|
2069
|
-
* 注销
|
|
2068
|
+
/**
|
|
2069
|
+
* 注销
|
|
2070
2070
|
*/
|
|
2071
2071
|
|
|
2072
2072
|
|
|
@@ -2240,7 +2240,7 @@ const __default__ = {
|
|
|
2240
2240
|
span: 24
|
|
2241
2241
|
}, {
|
|
2242
2242
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, null, {
|
|
2243
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row @click=\"clickHandler(0)\" :class=\"currentIndex == 0 ? 'active' : ''\">\n <kq-col :span=\"5\">\n <img :src=\"TDT_TERRAiIN_URL\" alt=\"\" />\n </kq-col>\n <kq-col :span=\"19\">{{ language.tiandituTerrain }} </kq-col>\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
2243
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row @click=\"clickHandler(0)\" :class=\"currentIndex == 0 ? 'active' : ''\">\r\n <kq-col :span=\"5\">\r\n <img :src=\"TDT_TERRAiIN_URL\" alt=\"\" />\r\n </kq-col>\r\n <kq-col :span=\"19\">{{ language.tiandituTerrain }} </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
2244
2244
|
onClick: _cache[0] || (_cache[0] = $event => clickHandler(1)),
|
|
2245
2245
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentIndex) == 1 ? 'active' : '')
|
|
2246
2246
|
}, {
|
|
@@ -3513,8 +3513,8 @@ const __default__ = {
|
|
|
3513
3513
|
|
|
3514
3514
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
3515
3515
|
let viewModel = null;
|
|
3516
|
-
/**
|
|
3517
|
-
* 勾选图层逻辑
|
|
3516
|
+
/**
|
|
3517
|
+
* 勾选图层逻辑
|
|
3518
3518
|
*/
|
|
3519
3519
|
|
|
3520
3520
|
function changeLayer(values) {
|
|
@@ -10785,9 +10785,9 @@ const __default__ = {
|
|
|
10785
10785
|
var unit = "°";
|
|
10786
10786
|
return azimuth.toFixed(4) + " " + unit;
|
|
10787
10787
|
}
|
|
10788
|
-
/**
|
|
10789
|
-
* @description 监听单位变化操作
|
|
10790
|
-
* @param {string} unit - 单位
|
|
10788
|
+
/**
|
|
10789
|
+
* @description 监听单位变化操作
|
|
10790
|
+
* @param {string} unit - 单位
|
|
10791
10791
|
*/
|
|
10792
10792
|
|
|
10793
10793
|
|
|
@@ -10795,11 +10795,11 @@ const __default__ = {
|
|
|
10795
10795
|
result.value = convertValueUnitTotal(distanceValue, unit);
|
|
10796
10796
|
viewModel && viewModel.updateDistanceUnit(distanceValue, unit);
|
|
10797
10797
|
}
|
|
10798
|
-
/**
|
|
10799
|
-
* @description 测量距离数值单位换算
|
|
10800
|
-
* @param {string} value - 原始数值
|
|
10801
|
-
* @param {string} unit - 单位
|
|
10802
|
-
* @returns {string} 新数值
|
|
10798
|
+
/**
|
|
10799
|
+
* @description 测量距离数值单位换算
|
|
10800
|
+
* @param {string} value - 原始数值
|
|
10801
|
+
* @param {string} unit - 单位
|
|
10802
|
+
* @returns {string} 新数值
|
|
10803
10803
|
*/
|
|
10804
10804
|
|
|
10805
10805
|
|
|
@@ -10861,8 +10861,8 @@ const __default__ = {
|
|
|
10861
10861
|
break;
|
|
10862
10862
|
}
|
|
10863
10863
|
}
|
|
10864
|
-
/**
|
|
10865
|
-
* 清除测量
|
|
10864
|
+
/**
|
|
10865
|
+
* 清除测量
|
|
10866
10866
|
*/
|
|
10867
10867
|
|
|
10868
10868
|
|
|
@@ -10973,7 +10973,7 @@ const __default__ = {
|
|
|
10973
10973
|
|
|
10974
10974
|
}, 8
|
|
10975
10975
|
/* PROPS */
|
|
10976
|
-
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-button @click.stop=\"startMeasure('azimuth')\" :class=\"isActive == 'azimuth' ? 'is-active' : null\" :title=\"language.azimuthMeasure\">\n <kq-icon :size=\"24\">\n <IconMeasureAzimuth />\n </kq-icon>\n </kq-button> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
10976
|
+
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-button @click.stop=\"startMeasure('azimuth')\" :class=\"isActive == 'azimuth' ? 'is-active' : null\" :title=\"language.azimuthMeasure\">\r\n <kq-icon :size=\"24\">\r\n <IconMeasureAzimuth />\r\n </kq-icon>\r\n </kq-button> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
10977
10977
|
type: "danger",
|
|
10978
10978
|
plain: "",
|
|
10979
10979
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(clearMeasure, ["stop"]),
|
|
@@ -16826,19 +16826,19 @@ SightlineAnalysis.install = (Vue, opts) => {
|
|
|
16826
16826
|
|
|
16827
16827
|
//天际线分析逻辑类
|
|
16828
16828
|
class SkylineAnalysisViewModel {
|
|
16829
|
-
/**
|
|
16830
|
-
* 天际线分析逻辑类
|
|
16831
|
-
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
16832
|
-
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
16833
|
-
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
16834
|
-
* @param {Object} _options 天际线分析存储参数对象
|
|
16835
|
-
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
16829
|
+
/**
|
|
16830
|
+
* 天际线分析逻辑类
|
|
16831
|
+
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
16832
|
+
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
16833
|
+
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
16834
|
+
* @param {Object} _options 天际线分析存储参数对象
|
|
16835
|
+
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
16836
16836
|
*/
|
|
16837
16837
|
|
|
16838
|
-
/**
|
|
16839
|
-
* 天际线分析逻辑类构造函数
|
|
16840
|
-
* @param {*} viewer 三维对象
|
|
16841
|
-
* @param {*} option 天际线分析参数对象
|
|
16838
|
+
/**
|
|
16839
|
+
* 天际线分析逻辑类构造函数
|
|
16840
|
+
* @param {*} viewer 三维对象
|
|
16841
|
+
* @param {*} option 天际线分析参数对象
|
|
16842
16842
|
*/
|
|
16843
16843
|
constructor(viewer, option) {
|
|
16844
16844
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_skylineAnalysis", null);
|
|
@@ -16876,8 +16876,8 @@ class SkylineAnalysisViewModel {
|
|
|
16876
16876
|
|
|
16877
16877
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
16878
16878
|
}
|
|
16879
|
-
/**
|
|
16880
|
-
* 提取天际线
|
|
16879
|
+
/**
|
|
16880
|
+
* 提取天际线
|
|
16881
16881
|
*/
|
|
16882
16882
|
|
|
16883
16883
|
|
|
@@ -16906,8 +16906,8 @@ class SkylineAnalysisViewModel {
|
|
|
16906
16906
|
throw "请添加模型后提取!";
|
|
16907
16907
|
}
|
|
16908
16908
|
}
|
|
16909
|
-
/**
|
|
16910
|
-
* 绘制限高体
|
|
16909
|
+
/**
|
|
16910
|
+
* 绘制限高体
|
|
16911
16911
|
*/
|
|
16912
16912
|
|
|
16913
16913
|
|
|
@@ -16937,8 +16937,8 @@ class SkylineAnalysisViewModel {
|
|
|
16937
16937
|
throw "请添加模型后绘制!";
|
|
16938
16938
|
}
|
|
16939
16939
|
}
|
|
16940
|
-
/**
|
|
16941
|
-
* 展示二维天际线
|
|
16940
|
+
/**
|
|
16941
|
+
* 展示二维天际线
|
|
16942
16942
|
*/
|
|
16943
16943
|
|
|
16944
16944
|
|
|
@@ -16981,8 +16981,8 @@ class SkylineAnalysisViewModel {
|
|
|
16981
16981
|
};
|
|
16982
16982
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
16983
16983
|
}
|
|
16984
|
-
/**
|
|
16985
|
-
* 清除限高体
|
|
16984
|
+
/**
|
|
16985
|
+
* 清除限高体
|
|
16986
16986
|
*/
|
|
16987
16987
|
|
|
16988
16988
|
|
|
@@ -16999,9 +16999,9 @@ class SkylineAnalysisViewModel {
|
|
|
16999
16999
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
17000
17000
|
}
|
|
17001
17001
|
}
|
|
17002
|
-
/**
|
|
17003
|
-
* 设置天际线颜色
|
|
17004
|
-
* @param {String} lineColor 天际线颜色
|
|
17002
|
+
/**
|
|
17003
|
+
* 设置天际线颜色
|
|
17004
|
+
* @param {String} lineColor 天际线颜色
|
|
17005
17005
|
*/
|
|
17006
17006
|
|
|
17007
17007
|
|
|
@@ -17010,10 +17010,10 @@ class SkylineAnalysisViewModel {
|
|
|
17010
17010
|
this._options.lineColor = window.Cesium.Color.fromCssColorString(lineColor);
|
|
17011
17011
|
if (this._skylineAnalysis) this._skylineAnalysis.lineColor = this._options.lineColor;
|
|
17012
17012
|
}
|
|
17013
|
-
/**
|
|
17014
|
-
* 设置限高体颜色
|
|
17015
|
-
* @param {String} faceColor 限高体轮廓颜色
|
|
17016
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
17013
|
+
/**
|
|
17014
|
+
* 设置限高体颜色
|
|
17015
|
+
* @param {String} faceColor 限高体轮廓颜色
|
|
17016
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
17017
17017
|
*/
|
|
17018
17018
|
|
|
17019
17019
|
|
|
@@ -17022,9 +17022,9 @@ class SkylineAnalysisViewModel {
|
|
|
17022
17022
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
17023
17023
|
if (this._skylineAnalysis && this._showLimitHeightBody) this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
17024
17024
|
}
|
|
17025
|
-
/**
|
|
17026
|
-
* 设置天际线半径
|
|
17027
|
-
* @param {String} radius 天际线半径
|
|
17025
|
+
/**
|
|
17026
|
+
* 设置天际线半径
|
|
17027
|
+
* @param {String} radius 天际线半径
|
|
17028
17028
|
*/
|
|
17029
17029
|
|
|
17030
17030
|
|
|
@@ -17033,10 +17033,10 @@ class SkylineAnalysisViewModel {
|
|
|
17033
17033
|
this._options.radius = radius;
|
|
17034
17034
|
if (this._skylineAnalysis) this._skylineAnalysis.radius = radius;
|
|
17035
17035
|
}
|
|
17036
|
-
/**
|
|
17037
|
-
* 设置限高体透明度
|
|
17038
|
-
* @param {String} faceColor 限高体轮廓颜色
|
|
17039
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
17036
|
+
/**
|
|
17037
|
+
* 设置限高体透明度
|
|
17038
|
+
* @param {String} faceColor 限高体轮廓颜色
|
|
17039
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
17040
17040
|
*/
|
|
17041
17041
|
|
|
17042
17042
|
|
|
@@ -17045,10 +17045,10 @@ class SkylineAnalysisViewModel {
|
|
|
17045
17045
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
17046
17046
|
if (this._skylineAnalysis && this._showLimitHeightBody) this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
17047
17047
|
}
|
|
17048
|
-
/**
|
|
17049
|
-
* 设置限高体轮廓颜色
|
|
17050
|
-
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
17051
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
17048
|
+
/**
|
|
17049
|
+
* 设置限高体轮廓颜色
|
|
17050
|
+
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
17051
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
17052
17052
|
*/
|
|
17053
17053
|
|
|
17054
17054
|
|
|
@@ -17060,8 +17060,8 @@ class SkylineAnalysisViewModel {
|
|
|
17060
17060
|
this._skylineAnalysis.faceOutlineColor = this._options.faceOutlineColor;
|
|
17061
17061
|
}
|
|
17062
17062
|
}
|
|
17063
|
-
/*
|
|
17064
|
-
* 清除
|
|
17063
|
+
/*
|
|
17064
|
+
* 清除
|
|
17065
17065
|
*/
|
|
17066
17066
|
|
|
17067
17067
|
|
|
@@ -17074,8 +17074,8 @@ class SkylineAnalysisViewModel {
|
|
|
17074
17074
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
17075
17075
|
}
|
|
17076
17076
|
}
|
|
17077
|
-
/**
|
|
17078
|
-
* 注销
|
|
17077
|
+
/**
|
|
17078
|
+
* 注销
|
|
17079
17079
|
*/
|
|
17080
17080
|
|
|
17081
17081
|
|
|
@@ -18662,14 +18662,14 @@ var StatusBarViewModel = __webpack_require__(6311);
|
|
|
18662
18662
|
|
|
18663
18663
|
|
|
18664
18664
|
|
|
18665
|
-
/**
|
|
18666
|
-
* 支持传入属性:
|
|
18667
|
-
* hideResolution - 隐藏分辨率
|
|
18668
|
-
* hideScale - 隐藏比例尺
|
|
18669
|
-
* hideLonLat - 隐藏经纬度
|
|
18670
|
-
* hideEyeAlt - 隐藏视点高
|
|
18671
|
-
* hideCopyright - 隐藏版权信息
|
|
18672
|
-
* copyrightText - 版权信息文字
|
|
18665
|
+
/**
|
|
18666
|
+
* 支持传入属性:
|
|
18667
|
+
* hideResolution - 隐藏分辨率
|
|
18668
|
+
* hideScale - 隐藏比例尺
|
|
18669
|
+
* hideLonLat - 隐藏经纬度
|
|
18670
|
+
* hideEyeAlt - 隐藏视点高
|
|
18671
|
+
* hideCopyright - 隐藏版权信息
|
|
18672
|
+
* copyrightText - 版权信息文字
|
|
18673
18673
|
*/
|
|
18674
18674
|
|
|
18675
18675
|
const __default__ = {
|
|
@@ -21403,11 +21403,11 @@ var underground = __webpack_require__(8521);
|
|
|
21403
21403
|
// EXTERNAL MODULE: ./src/webgl/statusbar/index.js + 5 modules
|
|
21404
21404
|
var statusbar = __webpack_require__(6466);
|
|
21405
21405
|
;// CONCATENATED MODULE: ./src/webgl/components.js
|
|
21406
|
-
/**
|
|
21407
|
-
* Author: 朱鹏超
|
|
21408
|
-
* Date: 2022-11-23
|
|
21409
|
-
* Description: client3d_webgl_vue 组件入口
|
|
21410
|
-
* LastEditors: 朱鹏超
|
|
21406
|
+
/**
|
|
21407
|
+
* Author: 朱鹏超
|
|
21408
|
+
* Date: 2022-11-23
|
|
21409
|
+
* Description: client3d_webgl_vue 组件入口
|
|
21410
|
+
* LastEditors: 朱鹏超
|
|
21411
21411
|
*/
|
|
21412
21412
|
|
|
21413
21413
|
// 三维地图快捷工具
|
|
@@ -22790,11 +22790,11 @@ class LayerManager {
|
|
|
22790
22790
|
serverType: "3dtiles"
|
|
22791
22791
|
});
|
|
22792
22792
|
}
|
|
22793
|
-
/**
|
|
22794
|
-
* 设置多个图层的显示与隐藏 且控制树的勾选
|
|
22795
|
-
* @param ids 图层的GUID数组
|
|
22796
|
-
* @param visible true, false
|
|
22797
|
-
* @param eventTarget 触发方法的对象。该方法有执行其他监听事件,为防止方法死循环,该参数会传给监听事件
|
|
22793
|
+
/**
|
|
22794
|
+
* 设置多个图层的显示与隐藏 且控制树的勾选
|
|
22795
|
+
* @param ids 图层的GUID数组
|
|
22796
|
+
* @param visible true, false
|
|
22797
|
+
* @param eventTarget 触发方法的对象。该方法有执行其他监听事件,为防止方法死循环,该参数会传给监听事件
|
|
22798
22798
|
*/
|
|
22799
22799
|
|
|
22800
22800
|
|
|
@@ -23072,8 +23072,8 @@ class LayerManager {
|
|
|
23072
23072
|
|
|
23073
23073
|
return checkedKeys;
|
|
23074
23074
|
}
|
|
23075
|
-
/**
|
|
23076
|
-
* 获取勾选图层的图层数据,如果是有融合图层,则只返回融合图层的子图层
|
|
23075
|
+
/**
|
|
23076
|
+
* 获取勾选图层的图层数据,如果是有融合图层,则只返回融合图层的子图层
|
|
23077
23077
|
*/
|
|
23078
23078
|
|
|
23079
23079
|
|
|
@@ -23347,12 +23347,12 @@ class LayerManager {
|
|
|
23347
23347
|
|
|
23348
23348
|
this._viewer.terrainProvider = terrainProvider;
|
|
23349
23349
|
}
|
|
23350
|
-
/**
|
|
23351
|
-
* 删除临时添加数据
|
|
23352
|
-
* 移除渲染图层
|
|
23353
|
-
* 删除 _layerTreeData的临时图层数据
|
|
23354
|
-
* 删除 _layerListData的临时图层数据
|
|
23355
|
-
* @param guid
|
|
23350
|
+
/**
|
|
23351
|
+
* 删除临时添加数据
|
|
23352
|
+
* 移除渲染图层
|
|
23353
|
+
* 删除 _layerTreeData的临时图层数据
|
|
23354
|
+
* 删除 _layerListData的临时图层数据
|
|
23355
|
+
* @param guid
|
|
23356
23356
|
*/
|
|
23357
23357
|
|
|
23358
23358
|
|
|
@@ -23438,10 +23438,10 @@ class LayerManager {
|
|
|
23438
23438
|
}
|
|
23439
23439
|
|
|
23440
23440
|
}
|
|
23441
|
-
/**
|
|
23442
|
-
* 根据guid获取子节点guid集合
|
|
23443
|
-
* @param data
|
|
23444
|
-
* @param guid
|
|
23441
|
+
/**
|
|
23442
|
+
* 根据guid获取子节点guid集合
|
|
23443
|
+
* @param data
|
|
23444
|
+
* @param guid
|
|
23445
23445
|
*/
|
|
23446
23446
|
|
|
23447
23447
|
function getChildrenByGuid(data, guid, guids, addChildren = false) {
|
|
@@ -23459,10 +23459,10 @@ function getChildrenByGuid(data, guid, guids, addChildren = false) {
|
|
|
23459
23459
|
}
|
|
23460
23460
|
}
|
|
23461
23461
|
}
|
|
23462
|
-
/**
|
|
23463
|
-
* 根据guid删除树节点数据,包含子节点也删除
|
|
23464
|
-
* @param data
|
|
23465
|
-
* @param guid
|
|
23462
|
+
/**
|
|
23463
|
+
* 根据guid删除树节点数据,包含子节点也删除
|
|
23464
|
+
* @param data
|
|
23465
|
+
* @param guid
|
|
23466
23466
|
*/
|
|
23467
23467
|
|
|
23468
23468
|
|
|
@@ -23707,11 +23707,11 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
23707
23707
|
|
|
23708
23708
|
return layer;
|
|
23709
23709
|
}
|
|
23710
|
-
/**
|
|
23711
|
-
* 操作底图显隐的方法
|
|
23712
|
-
* @param layerKey 存储图层信息的key
|
|
23713
|
-
* @param layerInfo 创建图层的参数信息对象
|
|
23714
|
-
* @param visible 显隐
|
|
23710
|
+
/**
|
|
23711
|
+
* 操作底图显隐的方法
|
|
23712
|
+
* @param layerKey 存储图层信息的key
|
|
23713
|
+
* @param layerInfo 创建图层的参数信息对象
|
|
23714
|
+
* @param visible 显隐
|
|
23715
23715
|
*/
|
|
23716
23716
|
|
|
23717
23717
|
|
|
@@ -23838,10 +23838,10 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
23838
23838
|
|
|
23839
23839
|
return layer;
|
|
23840
23840
|
}
|
|
23841
|
-
/**
|
|
23842
|
-
* 操作在线底图,添加显示隐藏图层
|
|
23843
|
-
* @param {Object} layerConfig 图层数据
|
|
23844
|
-
* @param {boolean} visible 显隐
|
|
23841
|
+
/**
|
|
23842
|
+
* 操作在线底图,添加显示隐藏图层
|
|
23843
|
+
* @param {Object} layerConfig 图层数据
|
|
23844
|
+
* @param {boolean} visible 显隐
|
|
23845
23845
|
*/
|
|
23846
23846
|
|
|
23847
23847
|
|
|
@@ -23866,8 +23866,8 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
23866
23866
|
}
|
|
23867
23867
|
}
|
|
23868
23868
|
}
|
|
23869
|
-
/**
|
|
23870
|
-
* 移除所有在线底图在地图中的显示
|
|
23869
|
+
/**
|
|
23870
|
+
* 移除所有在线底图在地图中的显示
|
|
23871
23871
|
*/
|
|
23872
23872
|
|
|
23873
23873
|
|
|
@@ -23944,17 +23944,17 @@ const __default__ = {
|
|
|
23944
23944
|
},
|
|
23945
23945
|
options: Object,
|
|
23946
23946
|
|
|
23947
|
-
/**
|
|
23948
|
-
* 图层数据源
|
|
23949
|
-
* 事例:
|
|
23950
|
-
* {
|
|
23951
|
-
name: null,// 服务名称
|
|
23952
|
-
url: null,//服务地址
|
|
23953
|
-
token: null,//服务token
|
|
23954
|
-
type: "kqmapserver", //服务类型 kqmapserver或者kq3dserver
|
|
23955
|
-
isShowAllLayers: true,
|
|
23956
|
-
defaultShowLayerNames: []
|
|
23957
|
-
}
|
|
23947
|
+
/**
|
|
23948
|
+
* 图层数据源
|
|
23949
|
+
* 事例:
|
|
23950
|
+
* {
|
|
23951
|
+
name: null,// 服务名称
|
|
23952
|
+
url: null,//服务地址
|
|
23953
|
+
token: null,//服务token
|
|
23954
|
+
type: "kqmapserver", //服务类型 kqmapserver或者kq3dserver
|
|
23955
|
+
isShowAllLayers: true,
|
|
23956
|
+
defaultShowLayerNames: []
|
|
23957
|
+
}
|
|
23958
23958
|
*/
|
|
23959
23959
|
service: Object,
|
|
23960
23960
|
// ScenceView初始化的参数对象,包含初始化范围和layer信息。
|
|
@@ -23966,9 +23966,9 @@ const __default__ = {
|
|
|
23966
23966
|
default: true
|
|
23967
23967
|
},
|
|
23968
23968
|
|
|
23969
|
-
/**
|
|
23970
|
-
* 例:"top-left","top-right","bottom-left","bottom-right","left","right","bottom"
|
|
23971
|
-
* {top:'16px',left:'16px'}, {top:16,left:16}
|
|
23969
|
+
/**
|
|
23970
|
+
* 例:"top-left","top-right","bottom-left","bottom-right","left","right","bottom"
|
|
23971
|
+
* {top:'16px',left:'16px'}, {top:16,left:16}
|
|
23972
23972
|
*/
|
|
23973
23973
|
toolButtonsPosition: [String, Object],
|
|
23974
23974
|
showLogo: {
|
|
@@ -23989,12 +23989,12 @@ const __default__ = {
|
|
|
23989
23989
|
const {
|
|
23990
23990
|
proxy
|
|
23991
23991
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
23992
|
-
/**
|
|
23993
|
-
* 支持传入属性:
|
|
23994
|
-
* target - viewer对象渲染的div的id
|
|
23995
|
-
* options - 三维球初始化属性设置
|
|
23996
|
-
* scenceUrl - 场景地址
|
|
23997
|
-
* showToolButtons - 是否显示工具栏按钮
|
|
23992
|
+
/**
|
|
23993
|
+
* 支持传入属性:
|
|
23994
|
+
* target - viewer对象渲染的div的id
|
|
23995
|
+
* options - 三维球初始化属性设置
|
|
23996
|
+
* scenceUrl - 场景地址
|
|
23997
|
+
* showToolButtons - 是否显示工具栏按钮
|
|
23998
23998
|
*/
|
|
23999
23999
|
|
|
24000
24000
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
@@ -24030,8 +24030,8 @@ const __default__ = {
|
|
|
24030
24030
|
viewModel = new ScenceViewViewModel(props, _language);
|
|
24031
24031
|
viewModel.initViewer();
|
|
24032
24032
|
});
|
|
24033
|
-
/**
|
|
24034
|
-
* 获取ScenceView的逻辑类
|
|
24033
|
+
/**
|
|
24034
|
+
* 获取ScenceView的逻辑类
|
|
24035
24035
|
*/
|
|
24036
24036
|
|
|
24037
24037
|
function getViewModel() {
|
package/skylineanalysis/index.js
CHANGED
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
|
|
13
13
|
//天际线分析逻辑类
|
|
14
14
|
class SkylineAnalysisViewModel {
|
|
15
|
-
/**
|
|
16
|
-
* 天际线分析逻辑类
|
|
17
|
-
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
18
|
-
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
19
|
-
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
20
|
-
* @param {Object} _options 天际线分析存储参数对象
|
|
21
|
-
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
15
|
+
/**
|
|
16
|
+
* 天际线分析逻辑类
|
|
17
|
+
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
18
|
+
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
19
|
+
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
20
|
+
* @param {Object} _options 天际线分析存储参数对象
|
|
21
|
+
* @param {Object} _showLimitHeightBody 限高体是否显示
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
* 天际线分析逻辑类构造函数
|
|
26
|
-
* @param {*} viewer 三维对象
|
|
27
|
-
* @param {*} option 天际线分析参数对象
|
|
24
|
+
/**
|
|
25
|
+
* 天际线分析逻辑类构造函数
|
|
26
|
+
* @param {*} viewer 三维对象
|
|
27
|
+
* @param {*} option 天际线分析参数对象
|
|
28
28
|
*/
|
|
29
29
|
constructor(viewer, option) {
|
|
30
30
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_skylineAnalysis", null);
|
|
@@ -62,8 +62,8 @@ class SkylineAnalysisViewModel {
|
|
|
62
62
|
|
|
63
63
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
64
64
|
}
|
|
65
|
-
/**
|
|
66
|
-
* 提取天际线
|
|
65
|
+
/**
|
|
66
|
+
* 提取天际线
|
|
67
67
|
*/
|
|
68
68
|
|
|
69
69
|
|
|
@@ -92,8 +92,8 @@ class SkylineAnalysisViewModel {
|
|
|
92
92
|
throw "请添加模型后提取!";
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
/**
|
|
96
|
-
* 绘制限高体
|
|
95
|
+
/**
|
|
96
|
+
* 绘制限高体
|
|
97
97
|
*/
|
|
98
98
|
|
|
99
99
|
|
|
@@ -123,8 +123,8 @@ class SkylineAnalysisViewModel {
|
|
|
123
123
|
throw "请添加模型后绘制!";
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
/**
|
|
127
|
-
* 展示二维天际线
|
|
126
|
+
/**
|
|
127
|
+
* 展示二维天际线
|
|
128
128
|
*/
|
|
129
129
|
|
|
130
130
|
|
|
@@ -167,8 +167,8 @@ class SkylineAnalysisViewModel {
|
|
|
167
167
|
};
|
|
168
168
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
169
169
|
}
|
|
170
|
-
/**
|
|
171
|
-
* 清除限高体
|
|
170
|
+
/**
|
|
171
|
+
* 清除限高体
|
|
172
172
|
*/
|
|
173
173
|
|
|
174
174
|
|
|
@@ -185,9 +185,9 @@ class SkylineAnalysisViewModel {
|
|
|
185
185
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
/**
|
|
189
|
-
* 设置天际线颜色
|
|
190
|
-
* @param {String} lineColor 天际线颜色
|
|
188
|
+
/**
|
|
189
|
+
* 设置天际线颜色
|
|
190
|
+
* @param {String} lineColor 天际线颜色
|
|
191
191
|
*/
|
|
192
192
|
|
|
193
193
|
|
|
@@ -196,10 +196,10 @@ class SkylineAnalysisViewModel {
|
|
|
196
196
|
this._options.lineColor = window.Cesium.Color.fromCssColorString(lineColor);
|
|
197
197
|
if (this._skylineAnalysis) this._skylineAnalysis.lineColor = this._options.lineColor;
|
|
198
198
|
}
|
|
199
|
-
/**
|
|
200
|
-
* 设置限高体颜色
|
|
201
|
-
* @param {String} faceColor 限高体轮廓颜色
|
|
202
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
199
|
+
/**
|
|
200
|
+
* 设置限高体颜色
|
|
201
|
+
* @param {String} faceColor 限高体轮廓颜色
|
|
202
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
203
203
|
*/
|
|
204
204
|
|
|
205
205
|
|
|
@@ -208,9 +208,9 @@ class SkylineAnalysisViewModel {
|
|
|
208
208
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
209
209
|
if (this._skylineAnalysis && this._showLimitHeightBody) this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
210
210
|
}
|
|
211
|
-
/**
|
|
212
|
-
* 设置天际线半径
|
|
213
|
-
* @param {String} radius 天际线半径
|
|
211
|
+
/**
|
|
212
|
+
* 设置天际线半径
|
|
213
|
+
* @param {String} radius 天际线半径
|
|
214
214
|
*/
|
|
215
215
|
|
|
216
216
|
|
|
@@ -219,10 +219,10 @@ class SkylineAnalysisViewModel {
|
|
|
219
219
|
this._options.radius = radius;
|
|
220
220
|
if (this._skylineAnalysis) this._skylineAnalysis.radius = radius;
|
|
221
221
|
}
|
|
222
|
-
/**
|
|
223
|
-
* 设置限高体透明度
|
|
224
|
-
* @param {String} faceColor 限高体轮廓颜色
|
|
225
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
222
|
+
/**
|
|
223
|
+
* 设置限高体透明度
|
|
224
|
+
* @param {String} faceColor 限高体轮廓颜色
|
|
225
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
226
226
|
*/
|
|
227
227
|
|
|
228
228
|
|
|
@@ -231,10 +231,10 @@ class SkylineAnalysisViewModel {
|
|
|
231
231
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
232
232
|
if (this._skylineAnalysis && this._showLimitHeightBody) this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
233
233
|
}
|
|
234
|
-
/**
|
|
235
|
-
* 设置限高体轮廓颜色
|
|
236
|
-
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
237
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
234
|
+
/**
|
|
235
|
+
* 设置限高体轮廓颜色
|
|
236
|
+
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
237
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
238
238
|
*/
|
|
239
239
|
|
|
240
240
|
|
|
@@ -246,8 +246,8 @@ class SkylineAnalysisViewModel {
|
|
|
246
246
|
this._skylineAnalysis.faceOutlineColor = this._options.faceOutlineColor;
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
|
-
/*
|
|
250
|
-
* 清除
|
|
249
|
+
/*
|
|
250
|
+
* 清除
|
|
251
251
|
*/
|
|
252
252
|
|
|
253
253
|
|
|
@@ -260,8 +260,8 @@ class SkylineAnalysisViewModel {
|
|
|
260
260
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
/**
|
|
264
|
-
* 注销
|
|
263
|
+
/**
|
|
264
|
+
* 注销
|
|
265
265
|
*/
|
|
266
266
|
|
|
267
267
|
|
package/statusbar/index.js
CHANGED
|
@@ -525,14 +525,14 @@ var StatusBarViewModel = __webpack_require__(6311);
|
|
|
525
525
|
|
|
526
526
|
|
|
527
527
|
|
|
528
|
-
/**
|
|
529
|
-
* 支持传入属性:
|
|
530
|
-
* hideResolution - 隐藏分辨率
|
|
531
|
-
* hideScale - 隐藏比例尺
|
|
532
|
-
* hideLonLat - 隐藏经纬度
|
|
533
|
-
* hideEyeAlt - 隐藏视点高
|
|
534
|
-
* hideCopyright - 隐藏版权信息
|
|
535
|
-
* copyrightText - 版权信息文字
|
|
528
|
+
/**
|
|
529
|
+
* 支持传入属性:
|
|
530
|
+
* hideResolution - 隐藏分辨率
|
|
531
|
+
* hideScale - 隐藏比例尺
|
|
532
|
+
* hideLonLat - 隐藏经纬度
|
|
533
|
+
* hideEyeAlt - 隐藏视点高
|
|
534
|
+
* hideCopyright - 隐藏版权信息
|
|
535
|
+
* copyrightText - 版权信息文字
|
|
536
536
|
*/
|
|
537
537
|
|
|
538
538
|
const __default__ = {
|