@kq_npm/client3d_webgl_vue 2.8.7-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 +140 -138
- package/measure/index.js +11 -11
- package/package.json +1 -1
- package/scenceview/index.js +135 -133
- 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
|
@@ -853,6 +853,8 @@ class DrawManager {
|
|
|
853
853
|
steps: 64,
|
|
854
854
|
units: "meters"
|
|
855
855
|
});
|
|
856
|
+
geoFeature.geometry.radius = shape.radius;
|
|
857
|
+
geoFeature.geometry.center = Cesium.Utils.cartesian2Lonlat(shape.center);
|
|
856
858
|
} else if (shape.type === that._drawHandler.ShapeTypes.POLYLINE.type) {
|
|
857
859
|
let position = [[]];
|
|
858
860
|
shape.controlPoints.forEach(function (val) {
|
|
@@ -905,7 +907,7 @@ class DrawManager {
|
|
|
905
907
|
|
|
906
908
|
for (var type in style) {
|
|
907
909
|
if (style[type].hasOwnProperty("color")) {
|
|
908
|
-
style[type].material = Cesium.Color.fromCssColorString(style[type].color).withAlpha(style[type].opacity);
|
|
910
|
+
if (!style[type].material) style[type].material = Cesium.Color.fromCssColorString(style[type].color).withAlpha(style[type].opacity);
|
|
909
911
|
}
|
|
910
912
|
|
|
911
913
|
if (style[type].hasOwnProperty("fillColor")) {
|
|
@@ -1822,11 +1824,11 @@ class LayerManager {
|
|
|
1822
1824
|
serverType: "3dtiles"
|
|
1823
1825
|
});
|
|
1824
1826
|
}
|
|
1825
|
-
/**
|
|
1826
|
-
* 设置多个图层的显示与隐藏 且控制树的勾选
|
|
1827
|
-
* @param ids 图层的GUID数组
|
|
1828
|
-
* @param visible true, false
|
|
1829
|
-
* @param eventTarget 触发方法的对象。该方法有执行其他监听事件,为防止方法死循环,该参数会传给监听事件
|
|
1827
|
+
/**
|
|
1828
|
+
* 设置多个图层的显示与隐藏 且控制树的勾选
|
|
1829
|
+
* @param ids 图层的GUID数组
|
|
1830
|
+
* @param visible true, false
|
|
1831
|
+
* @param eventTarget 触发方法的对象。该方法有执行其他监听事件,为防止方法死循环,该参数会传给监听事件
|
|
1830
1832
|
*/
|
|
1831
1833
|
|
|
1832
1834
|
|
|
@@ -2104,8 +2106,8 @@ class LayerManager {
|
|
|
2104
2106
|
|
|
2105
2107
|
return checkedKeys;
|
|
2106
2108
|
}
|
|
2107
|
-
/**
|
|
2108
|
-
* 获取勾选图层的图层数据,如果是有融合图层,则只返回融合图层的子图层
|
|
2109
|
+
/**
|
|
2110
|
+
* 获取勾选图层的图层数据,如果是有融合图层,则只返回融合图层的子图层
|
|
2109
2111
|
*/
|
|
2110
2112
|
|
|
2111
2113
|
|
|
@@ -2379,12 +2381,12 @@ class LayerManager {
|
|
|
2379
2381
|
|
|
2380
2382
|
this._viewer.terrainProvider = terrainProvider;
|
|
2381
2383
|
}
|
|
2382
|
-
/**
|
|
2383
|
-
* 删除临时添加数据
|
|
2384
|
-
* 移除渲染图层
|
|
2385
|
-
* 删除 _layerTreeData的临时图层数据
|
|
2386
|
-
* 删除 _layerListData的临时图层数据
|
|
2387
|
-
* @param guid
|
|
2384
|
+
/**
|
|
2385
|
+
* 删除临时添加数据
|
|
2386
|
+
* 移除渲染图层
|
|
2387
|
+
* 删除 _layerTreeData的临时图层数据
|
|
2388
|
+
* 删除 _layerListData的临时图层数据
|
|
2389
|
+
* @param guid
|
|
2388
2390
|
*/
|
|
2389
2391
|
|
|
2390
2392
|
|
|
@@ -2470,10 +2472,10 @@ class LayerManager {
|
|
|
2470
2472
|
}
|
|
2471
2473
|
|
|
2472
2474
|
}
|
|
2473
|
-
/**
|
|
2474
|
-
* 根据guid获取子节点guid集合
|
|
2475
|
-
* @param data
|
|
2476
|
-
* @param guid
|
|
2475
|
+
/**
|
|
2476
|
+
* 根据guid获取子节点guid集合
|
|
2477
|
+
* @param data
|
|
2478
|
+
* @param guid
|
|
2477
2479
|
*/
|
|
2478
2480
|
|
|
2479
2481
|
function getChildrenByGuid(data, guid, guids, addChildren = false) {
|
|
@@ -2491,10 +2493,10 @@ function getChildrenByGuid(data, guid, guids, addChildren = false) {
|
|
|
2491
2493
|
}
|
|
2492
2494
|
}
|
|
2493
2495
|
}
|
|
2494
|
-
/**
|
|
2495
|
-
* 根据guid删除树节点数据,包含子节点也删除
|
|
2496
|
-
* @param data
|
|
2497
|
-
* @param guid
|
|
2496
|
+
/**
|
|
2497
|
+
* 根据guid删除树节点数据,包含子节点也删除
|
|
2498
|
+
* @param data
|
|
2499
|
+
* @param guid
|
|
2498
2500
|
*/
|
|
2499
2501
|
|
|
2500
2502
|
|
|
@@ -2739,11 +2741,11 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
2739
2741
|
|
|
2740
2742
|
return layer;
|
|
2741
2743
|
}
|
|
2742
|
-
/**
|
|
2743
|
-
* 操作底图显隐的方法
|
|
2744
|
-
* @param layerKey 存储图层信息的key
|
|
2745
|
-
* @param layerInfo 创建图层的参数信息对象
|
|
2746
|
-
* @param visible 显隐
|
|
2744
|
+
/**
|
|
2745
|
+
* 操作底图显隐的方法
|
|
2746
|
+
* @param layerKey 存储图层信息的key
|
|
2747
|
+
* @param layerInfo 创建图层的参数信息对象
|
|
2748
|
+
* @param visible 显隐
|
|
2747
2749
|
*/
|
|
2748
2750
|
|
|
2749
2751
|
|
|
@@ -2870,10 +2872,10 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
2870
2872
|
|
|
2871
2873
|
return layer;
|
|
2872
2874
|
}
|
|
2873
|
-
/**
|
|
2874
|
-
* 操作在线底图,添加显示隐藏图层
|
|
2875
|
-
* @param {Object} layerConfig 图层数据
|
|
2876
|
-
* @param {boolean} visible 显隐
|
|
2875
|
+
/**
|
|
2876
|
+
* 操作在线底图,添加显示隐藏图层
|
|
2877
|
+
* @param {Object} layerConfig 图层数据
|
|
2878
|
+
* @param {boolean} visible 显隐
|
|
2877
2879
|
*/
|
|
2878
2880
|
|
|
2879
2881
|
|
|
@@ -2898,8 +2900,8 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
2898
2900
|
}
|
|
2899
2901
|
}
|
|
2900
2902
|
}
|
|
2901
|
-
/**
|
|
2902
|
-
* 移除所有在线底图在地图中的显示
|
|
2903
|
+
/**
|
|
2904
|
+
* 移除所有在线底图在地图中的显示
|
|
2903
2905
|
*/
|
|
2904
2906
|
|
|
2905
2907
|
|
|
@@ -2976,17 +2978,17 @@ const __default__ = {
|
|
|
2976
2978
|
},
|
|
2977
2979
|
options: Object,
|
|
2978
2980
|
|
|
2979
|
-
/**
|
|
2980
|
-
* 图层数据源
|
|
2981
|
-
* 事例:
|
|
2982
|
-
* {
|
|
2983
|
-
name: null,// 服务名称
|
|
2984
|
-
url: null,//服务地址
|
|
2985
|
-
token: null,//服务token
|
|
2986
|
-
type: "kqmapserver", //服务类型 kqmapserver或者kq3dserver
|
|
2987
|
-
isShowAllLayers: true,
|
|
2988
|
-
defaultShowLayerNames: []
|
|
2989
|
-
}
|
|
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
|
+
}
|
|
2990
2992
|
*/
|
|
2991
2993
|
service: Object,
|
|
2992
2994
|
// ScenceView初始化的参数对象,包含初始化范围和layer信息。
|
|
@@ -2998,9 +3000,9 @@ const __default__ = {
|
|
|
2998
3000
|
default: true
|
|
2999
3001
|
},
|
|
3000
3002
|
|
|
3001
|
-
/**
|
|
3002
|
-
* 例:"top-left","top-right","bottom-left","bottom-right","left","right","bottom"
|
|
3003
|
-
* {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}
|
|
3004
3006
|
*/
|
|
3005
3007
|
toolButtonsPosition: [String, Object],
|
|
3006
3008
|
showLogo: {
|
|
@@ -3021,12 +3023,12 @@ const __default__ = {
|
|
|
3021
3023
|
const {
|
|
3022
3024
|
proxy
|
|
3023
3025
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.getCurrentInstance)();
|
|
3024
|
-
/**
|
|
3025
|
-
* 支持传入属性:
|
|
3026
|
-
* target - viewer对象渲染的div的id
|
|
3027
|
-
* options - 三维球初始化属性设置
|
|
3028
|
-
* scenceUrl - 场景地址
|
|
3029
|
-
* showToolButtons - 是否显示工具栏按钮
|
|
3026
|
+
/**
|
|
3027
|
+
* 支持传入属性:
|
|
3028
|
+
* target - viewer对象渲染的div的id
|
|
3029
|
+
* options - 三维球初始化属性设置
|
|
3030
|
+
* scenceUrl - 场景地址
|
|
3031
|
+
* showToolButtons - 是否显示工具栏按钮
|
|
3030
3032
|
*/
|
|
3031
3033
|
|
|
3032
3034
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
@@ -3062,8 +3064,8 @@ const __default__ = {
|
|
|
3062
3064
|
viewModel = new ScenceViewViewModel(props, _language);
|
|
3063
3065
|
viewModel.initViewer();
|
|
3064
3066
|
});
|
|
3065
|
-
/**
|
|
3066
|
-
* 获取ScenceView的逻辑类
|
|
3067
|
+
/**
|
|
3068
|
+
* 获取ScenceView的逻辑类
|
|
3067
3069
|
*/
|
|
3068
3070
|
|
|
3069
3071
|
function getViewModel() {
|
|
@@ -3807,16 +3809,16 @@ class BaseterrainGalleryViewModel {
|
|
|
3807
3809
|
subdomains: ["8", "9", "10", "11", "12"]
|
|
3808
3810
|
});
|
|
3809
3811
|
}
|
|
3810
|
-
/**
|
|
3811
|
-
* 无地形
|
|
3812
|
+
/**
|
|
3813
|
+
* 无地形
|
|
3812
3814
|
*/
|
|
3813
3815
|
|
|
3814
3816
|
|
|
3815
3817
|
terrainNo() {
|
|
3816
3818
|
this._baseterrainGallery.terrainNo = new window.Cesium.EllipsoidTerrainProvider();
|
|
3817
3819
|
}
|
|
3818
|
-
/**
|
|
3819
|
-
* cesium全球地形
|
|
3820
|
+
/**
|
|
3821
|
+
* cesium全球地形
|
|
3820
3822
|
*/
|
|
3821
3823
|
|
|
3822
3824
|
|
|
@@ -3827,16 +3829,16 @@ class BaseterrainGalleryViewModel {
|
|
|
3827
3829
|
requestWaterMask: true
|
|
3828
3830
|
});
|
|
3829
3831
|
}
|
|
3830
|
-
/**
|
|
3831
|
-
* 清理地图
|
|
3832
|
+
/**
|
|
3833
|
+
* 清理地图
|
|
3832
3834
|
*/
|
|
3833
3835
|
|
|
3834
3836
|
|
|
3835
3837
|
clear() {
|
|
3836
3838
|
this.setTerrainType(2);
|
|
3837
3839
|
}
|
|
3838
|
-
/**
|
|
3839
|
-
* 注销
|
|
3840
|
+
/**
|
|
3841
|
+
* 注销
|
|
3840
3842
|
*/
|
|
3841
3843
|
|
|
3842
3844
|
|
|
@@ -3988,7 +3990,7 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
|
|
|
3988
3990
|
span: 24
|
|
3989
3991
|
}, {
|
|
3990
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, {
|
|
3991
|
-
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, {
|
|
3992
3994
|
onClick: _cache[0] || (_cache[0] = $event => clickHandler(1)),
|
|
3993
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' : '')
|
|
3994
3996
|
}, {
|
|
@@ -4380,9 +4382,9 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
4380
4382
|
var unit = "°";
|
|
4381
4383
|
return azimuth.toFixed(4) + " " + unit;
|
|
4382
4384
|
}
|
|
4383
|
-
/**
|
|
4384
|
-
* @description 监听单位变化操作
|
|
4385
|
-
* @param {string} unit - 单位
|
|
4385
|
+
/**
|
|
4386
|
+
* @description 监听单位变化操作
|
|
4387
|
+
* @param {string} unit - 单位
|
|
4386
4388
|
*/
|
|
4387
4389
|
|
|
4388
4390
|
|
|
@@ -4390,11 +4392,11 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
4390
4392
|
result.value = convertValueUnitTotal(distanceValue, unit);
|
|
4391
4393
|
viewModel && viewModel.updateDistanceUnit(distanceValue, unit);
|
|
4392
4394
|
}
|
|
4393
|
-
/**
|
|
4394
|
-
* @description 测量距离数值单位换算
|
|
4395
|
-
* @param {string} value - 原始数值
|
|
4396
|
-
* @param {string} unit - 单位
|
|
4397
|
-
* @returns {string} 新数值
|
|
4395
|
+
/**
|
|
4396
|
+
* @description 测量距离数值单位换算
|
|
4397
|
+
* @param {string} value - 原始数值
|
|
4398
|
+
* @param {string} unit - 单位
|
|
4399
|
+
* @returns {string} 新数值
|
|
4398
4400
|
*/
|
|
4399
4401
|
|
|
4400
4402
|
|
|
@@ -4456,8 +4458,8 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
4456
4458
|
break;
|
|
4457
4459
|
}
|
|
4458
4460
|
}
|
|
4459
|
-
/**
|
|
4460
|
-
* 清除测量
|
|
4461
|
+
/**
|
|
4462
|
+
* 清除测量
|
|
4461
4463
|
*/
|
|
4462
4464
|
|
|
4463
4465
|
|
|
@@ -4568,7 +4570,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
4568
4570
|
|
|
4569
4571
|
}, 8
|
|
4570
4572
|
/* PROPS */
|
|
4571
|
-
, ["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, {
|
|
4572
4574
|
type: "danger",
|
|
4573
4575
|
plain: "",
|
|
4574
4576
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)(clearMeasure, ["stop"]),
|
|
@@ -9667,19 +9669,19 @@ ProfileAnalysis.install = (Vue, opts) => {
|
|
|
9667
9669
|
|
|
9668
9670
|
//天际线分析逻辑类
|
|
9669
9671
|
class SkylineAnalysisViewModel {
|
|
9670
|
-
/**
|
|
9671
|
-
* 天际线分析逻辑类
|
|
9672
|
-
* @param {Object} _skylineAnalysis 天际线分析三维对象
|
|
9673
|
-
* @param {Object} _skylineAnalysisChart 二维天际线折线图表(外部生成)
|
|
9674
|
-
* @param {String} _skylineAnalysisChartTitle 二维天际线折线图表标题(中英文适配)
|
|
9675
|
-
* @param {Object} _options 天际线分析存储参数对象
|
|
9676
|
-
* @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 限高体是否显示
|
|
9677
9679
|
*/
|
|
9678
9680
|
|
|
9679
|
-
/**
|
|
9680
|
-
* 天际线分析逻辑类构造函数
|
|
9681
|
-
* @param {*} viewer 三维对象
|
|
9682
|
-
* @param {*} option 天际线分析参数对象
|
|
9681
|
+
/**
|
|
9682
|
+
* 天际线分析逻辑类构造函数
|
|
9683
|
+
* @param {*} viewer 三维对象
|
|
9684
|
+
* @param {*} option 天际线分析参数对象
|
|
9683
9685
|
*/
|
|
9684
9686
|
constructor(viewer, option) {
|
|
9685
9687
|
_defineProperty(this, "_skylineAnalysis", null);
|
|
@@ -9717,8 +9719,8 @@ class SkylineAnalysisViewModel {
|
|
|
9717
9719
|
|
|
9718
9720
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
9719
9721
|
}
|
|
9720
|
-
/**
|
|
9721
|
-
* 提取天际线
|
|
9722
|
+
/**
|
|
9723
|
+
* 提取天际线
|
|
9722
9724
|
*/
|
|
9723
9725
|
|
|
9724
9726
|
|
|
@@ -9747,8 +9749,8 @@ class SkylineAnalysisViewModel {
|
|
|
9747
9749
|
throw "请添加模型后提取!";
|
|
9748
9750
|
}
|
|
9749
9751
|
}
|
|
9750
|
-
/**
|
|
9751
|
-
* 绘制限高体
|
|
9752
|
+
/**
|
|
9753
|
+
* 绘制限高体
|
|
9752
9754
|
*/
|
|
9753
9755
|
|
|
9754
9756
|
|
|
@@ -9778,8 +9780,8 @@ class SkylineAnalysisViewModel {
|
|
|
9778
9780
|
throw "请添加模型后绘制!";
|
|
9779
9781
|
}
|
|
9780
9782
|
}
|
|
9781
|
-
/**
|
|
9782
|
-
* 展示二维天际线
|
|
9783
|
+
/**
|
|
9784
|
+
* 展示二维天际线
|
|
9783
9785
|
*/
|
|
9784
9786
|
|
|
9785
9787
|
|
|
@@ -9822,8 +9824,8 @@ class SkylineAnalysisViewModel {
|
|
|
9822
9824
|
};
|
|
9823
9825
|
this._skylineAnalysisChart && this._skylineAnalysisChart.setOption(option);
|
|
9824
9826
|
}
|
|
9825
|
-
/**
|
|
9826
|
-
* 清除限高体
|
|
9827
|
+
/**
|
|
9828
|
+
* 清除限高体
|
|
9827
9829
|
*/
|
|
9828
9830
|
|
|
9829
9831
|
|
|
@@ -9840,9 +9842,9 @@ class SkylineAnalysisViewModel {
|
|
|
9840
9842
|
this._skylineAnalysis.removeCzmlJsonDataSource();
|
|
9841
9843
|
}
|
|
9842
9844
|
}
|
|
9843
|
-
/**
|
|
9844
|
-
* 设置天际线颜色
|
|
9845
|
-
* @param {String} lineColor 天际线颜色
|
|
9845
|
+
/**
|
|
9846
|
+
* 设置天际线颜色
|
|
9847
|
+
* @param {String} lineColor 天际线颜色
|
|
9846
9848
|
*/
|
|
9847
9849
|
|
|
9848
9850
|
|
|
@@ -9851,10 +9853,10 @@ class SkylineAnalysisViewModel {
|
|
|
9851
9853
|
this._options.lineColor = window.Cesium.Color.fromCssColorString(lineColor);
|
|
9852
9854
|
if (this._skylineAnalysis) this._skylineAnalysis.lineColor = this._options.lineColor;
|
|
9853
9855
|
}
|
|
9854
|
-
/**
|
|
9855
|
-
* 设置限高体颜色
|
|
9856
|
-
* @param {String} faceColor 限高体轮廓颜色
|
|
9857
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9856
|
+
/**
|
|
9857
|
+
* 设置限高体颜色
|
|
9858
|
+
* @param {String} faceColor 限高体轮廓颜色
|
|
9859
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9858
9860
|
*/
|
|
9859
9861
|
|
|
9860
9862
|
|
|
@@ -9863,9 +9865,9 @@ class SkylineAnalysisViewModel {
|
|
|
9863
9865
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
9864
9866
|
if (this._skylineAnalysis && this._showLimitHeightBody) this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
9865
9867
|
}
|
|
9866
|
-
/**
|
|
9867
|
-
* 设置天际线半径
|
|
9868
|
-
* @param {String} radius 天际线半径
|
|
9868
|
+
/**
|
|
9869
|
+
* 设置天际线半径
|
|
9870
|
+
* @param {String} radius 天际线半径
|
|
9869
9871
|
*/
|
|
9870
9872
|
|
|
9871
9873
|
|
|
@@ -9874,10 +9876,10 @@ class SkylineAnalysisViewModel {
|
|
|
9874
9876
|
this._options.radius = radius;
|
|
9875
9877
|
if (this._skylineAnalysis) this._skylineAnalysis.radius = radius;
|
|
9876
9878
|
}
|
|
9877
|
-
/**
|
|
9878
|
-
* 设置限高体透明度
|
|
9879
|
-
* @param {String} faceColor 限高体轮廓颜色
|
|
9880
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9879
|
+
/**
|
|
9880
|
+
* 设置限高体透明度
|
|
9881
|
+
* @param {String} faceColor 限高体轮廓颜色
|
|
9882
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9881
9883
|
*/
|
|
9882
9884
|
|
|
9883
9885
|
|
|
@@ -9886,10 +9888,10 @@ class SkylineAnalysisViewModel {
|
|
|
9886
9888
|
this._options.faceColor = window.Cesium.Color.fromCssColorString(faceColor).withAlpha(alpha || 1);
|
|
9887
9889
|
if (this._skylineAnalysis && this._showLimitHeightBody) this._skylineAnalysis.faceColor = this._options.faceColor;
|
|
9888
9890
|
}
|
|
9889
|
-
/**
|
|
9890
|
-
* 设置限高体轮廓颜色
|
|
9891
|
-
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
9892
|
-
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9891
|
+
/**
|
|
9892
|
+
* 设置限高体轮廓颜色
|
|
9893
|
+
* @param {String} faceOutlineColor 限高体轮廓颜色
|
|
9894
|
+
* @param {String} alpha 限高体轮廓颜色透明度
|
|
9893
9895
|
*/
|
|
9894
9896
|
|
|
9895
9897
|
|
|
@@ -9901,8 +9903,8 @@ class SkylineAnalysisViewModel {
|
|
|
9901
9903
|
this._skylineAnalysis.faceOutlineColor = this._options.faceOutlineColor;
|
|
9902
9904
|
}
|
|
9903
9905
|
}
|
|
9904
|
-
/*
|
|
9905
|
-
* 清除
|
|
9906
|
+
/*
|
|
9907
|
+
* 清除
|
|
9906
9908
|
*/
|
|
9907
9909
|
|
|
9908
9910
|
|
|
@@ -9915,8 +9917,8 @@ class SkylineAnalysisViewModel {
|
|
|
9915
9917
|
this._skylineAnalysis = new window.Cesium.Kq3dSkyline(this._options);
|
|
9916
9918
|
}
|
|
9917
9919
|
}
|
|
9918
|
-
/**
|
|
9919
|
-
* 注销
|
|
9920
|
+
/**
|
|
9921
|
+
* 注销
|
|
9920
9922
|
*/
|
|
9921
9923
|
|
|
9922
9924
|
|
|
@@ -13219,8 +13221,8 @@ SlopeAnalysis.install = (Vue, opts) => {
|
|
|
13219
13221
|
;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysisViewModel.js
|
|
13220
13222
|
|
|
13221
13223
|
|
|
13222
|
-
/**
|
|
13223
|
-
* 坡向逻辑类
|
|
13224
|
+
/**
|
|
13225
|
+
* 坡向逻辑类
|
|
13224
13226
|
**/
|
|
13225
13227
|
class AspectAnalysisViewModel {
|
|
13226
13228
|
// 坡向三维对象
|
|
@@ -21197,8 +21199,8 @@ const CompareMapTreevue_type_script_setup_true_lang_js_default_ = {
|
|
|
21197
21199
|
|
|
21198
21200
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
21199
21201
|
let viewModel = null;
|
|
21200
|
-
/**
|
|
21201
|
-
* 勾选图层逻辑
|
|
21202
|
+
/**
|
|
21203
|
+
* 勾选图层逻辑
|
|
21202
21204
|
*/
|
|
21203
21205
|
|
|
21204
21206
|
function changeLayer(values) {
|
|
@@ -22830,14 +22832,14 @@ class StatusBarViewModel {
|
|
|
22830
22832
|
|
|
22831
22833
|
|
|
22832
22834
|
|
|
22833
|
-
/**
|
|
22834
|
-
* 支持传入属性:
|
|
22835
|
-
* hideResolution - 隐藏分辨率
|
|
22836
|
-
* hideScale - 隐藏比例尺
|
|
22837
|
-
* hideLonLat - 隐藏经纬度
|
|
22838
|
-
* hideEyeAlt - 隐藏视点高
|
|
22839
|
-
* hideCopyright - 隐藏版权信息
|
|
22840
|
-
* copyrightText - 版权信息文字
|
|
22835
|
+
/**
|
|
22836
|
+
* 支持传入属性:
|
|
22837
|
+
* hideResolution - 隐藏分辨率
|
|
22838
|
+
* hideScale - 隐藏比例尺
|
|
22839
|
+
* hideLonLat - 隐藏经纬度
|
|
22840
|
+
* hideEyeAlt - 隐藏视点高
|
|
22841
|
+
* hideCopyright - 隐藏版权信息
|
|
22842
|
+
* copyrightText - 版权信息文字
|
|
22841
22843
|
*/
|
|
22842
22844
|
|
|
22843
22845
|
const StatusBarvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -22919,11 +22921,11 @@ StatusBar.install = (Vue, opts) => {
|
|
|
22919
22921
|
|
|
22920
22922
|
|
|
22921
22923
|
;// CONCATENATED MODULE: ./src/webgl/components.js
|
|
22922
|
-
/**
|
|
22923
|
-
* Author: 朱鹏超
|
|
22924
|
-
* Date: 2022-11-23
|
|
22925
|
-
* Description: client3d_webgl_vue 组件入口
|
|
22926
|
-
* LastEditors: 朱鹏超
|
|
22924
|
+
/**
|
|
22925
|
+
* Author: 朱鹏超
|
|
22926
|
+
* Date: 2022-11-23
|
|
22927
|
+
* Description: client3d_webgl_vue 组件入口
|
|
22928
|
+
* LastEditors: 朱鹏超
|
|
22927
22929
|
*/
|
|
22928
22930
|
|
|
22929
22931
|
// 三维地图快捷工具
|
|
@@ -23041,11 +23043,11 @@ const install = function (Vue, opts = {}) {
|
|
|
23041
23043
|
install
|
|
23042
23044
|
});
|
|
23043
23045
|
;// CONCATENATED MODULE: ./src/webgl/index.js
|
|
23044
|
-
/**
|
|
23045
|
-
* Author: 朱鹏超
|
|
23046
|
-
* Date: 2022-11-23
|
|
23047
|
-
* Description: webgl 组件包的总入口文件
|
|
23048
|
-
* LastEditors: 朱鹏超
|
|
23046
|
+
/**
|
|
23047
|
+
* Author: 朱鹏超
|
|
23048
|
+
* Date: 2022-11-23
|
|
23049
|
+
* Description: webgl 组件包的总入口文件
|
|
23050
|
+
* LastEditors: 朱鹏超
|
|
23049
23051
|
*/
|
|
23050
23052
|
// import "@/webgl/style.scss";
|
|
23051
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"}}
|