@kq_npm/client3d_webgl_vue 0.9.5-beta → 0.9.7-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 +35 -26
- package/index.js +54 -44
- package/package.json +1 -1
- package/scenceview/index.js +19 -6
package/aspectanalysis/index.js
CHANGED
|
@@ -88,17 +88,16 @@ class AspectAnalysisViewModels {
|
|
|
88
88
|
_defineProperty(this, "_globaOptions", {
|
|
89
89
|
//全局参数
|
|
90
90
|
viewer: null,
|
|
91
|
-
_drawManager: null
|
|
92
|
-
viewModel: null
|
|
91
|
+
_drawManager: null
|
|
93
92
|
});
|
|
94
93
|
|
|
95
94
|
this._globaOptions.viewer = scenceView._viewer;
|
|
96
|
-
|
|
95
|
+
let options = {
|
|
97
96
|
interval: aspect.interval || 500,
|
|
98
|
-
|
|
97
|
+
// 采样间隔
|
|
99
98
|
width: aspect.arrowWidth || 20,
|
|
100
99
|
// 箭头宽度
|
|
101
|
-
color: Cesium.Color.fromCssColorString(aspect.color ||
|
|
100
|
+
color: Cesium.Color.fromCssColorString(aspect.color || "#FFFF00"),
|
|
102
101
|
// 箭头颜色
|
|
103
102
|
viewer: scenceView._viewer
|
|
104
103
|
};
|
|
@@ -106,12 +105,11 @@ class AspectAnalysisViewModels {
|
|
|
106
105
|
|
|
107
106
|
this._globaOptions.viewer.scene.globe.enableLighting = true;
|
|
108
107
|
this._globaOptions._drawManager = scenceView._drawManager;
|
|
109
|
-
|
|
110
|
-
this._aspectAnalysis = new Cesium.Kq3dAspect(
|
|
108
|
+
var that = this;
|
|
109
|
+
this._aspectAnalysis = new Cesium.Kq3dAspect(options);
|
|
111
110
|
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
112
111
|
if (shape) {
|
|
113
|
-
that.
|
|
114
|
-
that._aspectAnalysis.positions = positions;
|
|
112
|
+
that._aspectAnalysis.positions = shape._controlPoints;
|
|
115
113
|
|
|
116
114
|
that._globaOptions._drawManager.clear();
|
|
117
115
|
}
|
|
@@ -121,8 +119,10 @@ class AspectAnalysisViewModels {
|
|
|
121
119
|
|
|
122
120
|
start() {
|
|
123
121
|
// 判断是否添加了地形
|
|
124
|
-
if (this._globaOptions.
|
|
122
|
+
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
125
123
|
if (this._globaOptions._drawManager) {
|
|
124
|
+
this.clear();
|
|
125
|
+
|
|
126
126
|
this._globaOptions._drawManager.startDraw("polygon", {
|
|
127
127
|
clampToGround: true
|
|
128
128
|
});
|
|
@@ -130,19 +130,27 @@ class AspectAnalysisViewModels {
|
|
|
130
130
|
} else {
|
|
131
131
|
throw "请加载地形后分析!";
|
|
132
132
|
}
|
|
133
|
-
} //
|
|
133
|
+
} // 设置采样间隔
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
setInterval(newValue) {
|
|
137
|
+
if (this._aspectAnalysis) this._aspectAnalysis._interval = newValue;
|
|
138
|
+
} // 设置箭头宽度
|
|
134
139
|
|
|
135
140
|
|
|
136
|
-
|
|
137
|
-
this.
|
|
138
|
-
|
|
141
|
+
setArrowWidth(newValue) {
|
|
142
|
+
if (this._aspectAnalysis) this._aspectAnalysis._width = newValue;
|
|
143
|
+
} // 设置箭头颜色
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
setArrowColor(newValue) {
|
|
147
|
+
if (this._aspectAnalysis) this._aspectAnalysis._color = Cesium.Color.fromCssColorString(newValue);
|
|
139
148
|
} // 清除全部结果
|
|
140
149
|
|
|
141
150
|
|
|
142
151
|
clear() {
|
|
143
152
|
this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
|
|
144
|
-
this._aspectAnalysis && this._aspectAnalysis.
|
|
145
|
-
this._aspectAnalysis = null;
|
|
153
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
146
154
|
} // 销毁
|
|
147
155
|
|
|
148
156
|
|
|
@@ -150,7 +158,7 @@ class AspectAnalysisViewModels {
|
|
|
150
158
|
// 移除监听事件
|
|
151
159
|
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
152
160
|
this._globaOptions._drawFinishedEventListener = null;
|
|
153
|
-
this._aspectAnalysis && this._aspectAnalysis.
|
|
161
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
154
162
|
this._aspectAnalysis = null;
|
|
155
163
|
}
|
|
156
164
|
|
|
@@ -185,8 +193,7 @@ const __default__ = {
|
|
|
185
193
|
proxy
|
|
186
194
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.getCurrentInstance)();
|
|
187
195
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("");
|
|
188
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
189
|
-
// 获取组件传参
|
|
196
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); // 获取组件传参
|
|
190
197
|
// 分析类
|
|
191
198
|
|
|
192
199
|
let viewModel = null; // 默认参数
|
|
@@ -194,7 +201,7 @@ const __default__ = {
|
|
|
194
201
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
195
202
|
interval: props.settingParams && props.settingParams.interval || 500,
|
|
196
203
|
arrowWidth: props.settingParams && props.settingParams.arrowWidth || 20,
|
|
197
|
-
arrowColor: props.settingParams && props.settingParams.arrowColor || "#
|
|
204
|
+
arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00"
|
|
198
205
|
});
|
|
199
206
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
200
207
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
@@ -210,15 +217,18 @@ const __default__ = {
|
|
|
210
217
|
function paramsChanged(key) {
|
|
211
218
|
switch (key) {
|
|
212
219
|
case "interval":
|
|
213
|
-
//
|
|
220
|
+
// 采样间隔
|
|
221
|
+
viewModel.setInterval(formItem.interval);
|
|
214
222
|
break;
|
|
215
223
|
|
|
216
224
|
case "arrowWidth":
|
|
217
|
-
//
|
|
225
|
+
// 箭头间隔
|
|
226
|
+
viewModel.setArrowWidth(formItem.arrowWidth);
|
|
218
227
|
break;
|
|
219
228
|
|
|
220
229
|
case "arrowColor":
|
|
221
|
-
//
|
|
230
|
+
// 箭头颜色
|
|
231
|
+
viewModel.setArrowColor(formItem.arrowColor);
|
|
222
232
|
break;
|
|
223
233
|
|
|
224
234
|
default:
|
|
@@ -228,7 +238,6 @@ const __default__ = {
|
|
|
228
238
|
|
|
229
239
|
|
|
230
240
|
function startAnalysis() {
|
|
231
|
-
clearResult();
|
|
232
241
|
viewModel && viewModel.start();
|
|
233
242
|
} //清除结果
|
|
234
243
|
|
|
@@ -401,12 +410,12 @@ const __default__ = {
|
|
|
401
410
|
|
|
402
411
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
403
412
|
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_item, {
|
|
404
|
-
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).
|
|
413
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).arrowColor
|
|
405
414
|
}, {
|
|
406
415
|
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_color_picker, {
|
|
407
416
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).arrowColor,
|
|
408
417
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).arrowColor = $event),
|
|
409
|
-
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('
|
|
418
|
+
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('arrowColor'))
|
|
410
419
|
}, null, 8
|
|
411
420
|
/* PROPS */
|
|
412
421
|
, ["modelValue"])]),
|
package/index.js
CHANGED
|
@@ -651,7 +651,7 @@ class DrawManager {
|
|
|
651
651
|
outlineColor: "#ff0000",
|
|
652
652
|
outlineWidth: 1,
|
|
653
653
|
outlineDash: false,
|
|
654
|
-
fill:
|
|
654
|
+
fill: true,
|
|
655
655
|
fillStyle: null
|
|
656
656
|
}
|
|
657
657
|
});
|
|
@@ -899,7 +899,7 @@ class DrawManager {
|
|
|
899
899
|
});
|
|
900
900
|
}
|
|
901
901
|
|
|
902
|
-
if (type === "polygon" && style.polygon.
|
|
902
|
+
if (type === "polygon" && style.polygon.fillStyle) {
|
|
903
903
|
style.polygon.material = this.getFillStyle(style.polygon.fillStyle);
|
|
904
904
|
}
|
|
905
905
|
}
|
|
@@ -981,6 +981,21 @@ class DrawManager {
|
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
}
|
|
984
|
+
;// CONCATENATED MODULE: external "element-plus/es"
|
|
985
|
+
var es_namespaceObject = require("element-plus/es");
|
|
986
|
+
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
987
|
+
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
988
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
989
|
+
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
994
|
+
init_js_default()(Vue, opts);
|
|
995
|
+
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
984
999
|
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/webmapservice"
|
|
985
1000
|
var webmapservice_namespaceObject = require("@kq_npm/client_common_vue/_utils/webmapservice");
|
|
986
1001
|
var webmapservice_default = /*#__PURE__*/__webpack_require__.n(webmapservice_namespaceObject);
|
|
@@ -994,6 +1009,7 @@ var global_event_default = /*#__PURE__*/__webpack_require__.n(global_event_names
|
|
|
994
1009
|
|
|
995
1010
|
|
|
996
1011
|
|
|
1012
|
+
|
|
997
1013
|
//图层管理类
|
|
998
1014
|
|
|
999
1015
|
class LayerManager {
|
|
@@ -1111,7 +1127,7 @@ class LayerManager {
|
|
|
1111
1127
|
});
|
|
1112
1128
|
var sourcePromise = webMapService.getMapInfo().then(mapInfo => {
|
|
1113
1129
|
if (mapInfo.resultcode === "error") {
|
|
1114
|
-
|
|
1130
|
+
message({
|
|
1115
1131
|
message: mapInfo.message,
|
|
1116
1132
|
type: "error"
|
|
1117
1133
|
});
|
|
@@ -2830,9 +2846,6 @@ const __default__ = {
|
|
|
2830
2846
|
const __exports__ = ScenceViewvue_type_script_setup_true_lang_js;
|
|
2831
2847
|
|
|
2832
2848
|
/* harmony default export */ var ScenceView = (__exports__);
|
|
2833
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
2834
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
2835
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
2836
2849
|
;// CONCATENATED MODULE: ./src/webgl/scenceview/index.js
|
|
2837
2850
|
|
|
2838
2851
|
|
|
@@ -4066,18 +4079,6 @@ Measure.install = (Vue, opts) => {
|
|
|
4066
4079
|
};
|
|
4067
4080
|
|
|
4068
4081
|
|
|
4069
|
-
;// CONCATENATED MODULE: external "element-plus/es"
|
|
4070
|
-
var es_namespaceObject = require("element-plus/es");
|
|
4071
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
4076
|
-
init_js_default()(Vue, opts);
|
|
4077
|
-
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
4078
|
-
};
|
|
4079
|
-
|
|
4080
|
-
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
4081
4082
|
;// CONCATENATED MODULE: ./src/webgl/flight/FlightViewModel.js
|
|
4082
4083
|
|
|
4083
4084
|
//飞行操作类
|
|
@@ -12446,17 +12447,16 @@ class AspectAnalysisViewModels {
|
|
|
12446
12447
|
_defineProperty(this, "_globaOptions", {
|
|
12447
12448
|
//全局参数
|
|
12448
12449
|
viewer: null,
|
|
12449
|
-
_drawManager: null
|
|
12450
|
-
viewModel: null
|
|
12450
|
+
_drawManager: null
|
|
12451
12451
|
});
|
|
12452
12452
|
|
|
12453
12453
|
this._globaOptions.viewer = scenceView._viewer;
|
|
12454
|
-
|
|
12454
|
+
let options = {
|
|
12455
12455
|
interval: aspect.interval || 500,
|
|
12456
|
-
|
|
12456
|
+
// 采样间隔
|
|
12457
12457
|
width: aspect.arrowWidth || 20,
|
|
12458
12458
|
// 箭头宽度
|
|
12459
|
-
color: Cesium.Color.fromCssColorString(aspect.color ||
|
|
12459
|
+
color: Cesium.Color.fromCssColorString(aspect.color || "#FFFF00"),
|
|
12460
12460
|
// 箭头颜色
|
|
12461
12461
|
viewer: scenceView._viewer
|
|
12462
12462
|
};
|
|
@@ -12464,12 +12464,11 @@ class AspectAnalysisViewModels {
|
|
|
12464
12464
|
|
|
12465
12465
|
this._globaOptions.viewer.scene.globe.enableLighting = true;
|
|
12466
12466
|
this._globaOptions._drawManager = scenceView._drawManager;
|
|
12467
|
-
|
|
12468
|
-
this._aspectAnalysis = new Cesium.Kq3dAspect(
|
|
12467
|
+
var that = this;
|
|
12468
|
+
this._aspectAnalysis = new Cesium.Kq3dAspect(options);
|
|
12469
12469
|
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
12470
12470
|
if (shape) {
|
|
12471
|
-
that.
|
|
12472
|
-
that._aspectAnalysis.positions = positions;
|
|
12471
|
+
that._aspectAnalysis.positions = shape._controlPoints;
|
|
12473
12472
|
|
|
12474
12473
|
that._globaOptions._drawManager.clear();
|
|
12475
12474
|
}
|
|
@@ -12479,8 +12478,10 @@ class AspectAnalysisViewModels {
|
|
|
12479
12478
|
|
|
12480
12479
|
start() {
|
|
12481
12480
|
// 判断是否添加了地形
|
|
12482
|
-
if (this._globaOptions.
|
|
12481
|
+
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
12483
12482
|
if (this._globaOptions._drawManager) {
|
|
12483
|
+
this.clear();
|
|
12484
|
+
|
|
12484
12485
|
this._globaOptions._drawManager.startDraw("polygon", {
|
|
12485
12486
|
clampToGround: true
|
|
12486
12487
|
});
|
|
@@ -12488,19 +12489,27 @@ class AspectAnalysisViewModels {
|
|
|
12488
12489
|
} else {
|
|
12489
12490
|
throw "请加载地形后分析!";
|
|
12490
12491
|
}
|
|
12491
|
-
} //
|
|
12492
|
+
} // 设置采样间隔
|
|
12492
12493
|
|
|
12493
12494
|
|
|
12494
|
-
|
|
12495
|
-
this.
|
|
12496
|
-
|
|
12495
|
+
setInterval(newValue) {
|
|
12496
|
+
if (this._aspectAnalysis) this._aspectAnalysis._interval = newValue;
|
|
12497
|
+
} // 设置箭头宽度
|
|
12498
|
+
|
|
12499
|
+
|
|
12500
|
+
setArrowWidth(newValue) {
|
|
12501
|
+
if (this._aspectAnalysis) this._aspectAnalysis._width = newValue;
|
|
12502
|
+
} // 设置箭头颜色
|
|
12503
|
+
|
|
12504
|
+
|
|
12505
|
+
setArrowColor(newValue) {
|
|
12506
|
+
if (this._aspectAnalysis) this._aspectAnalysis._color = Cesium.Color.fromCssColorString(newValue);
|
|
12497
12507
|
} // 清除全部结果
|
|
12498
12508
|
|
|
12499
12509
|
|
|
12500
12510
|
clear() {
|
|
12501
12511
|
this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
|
|
12502
|
-
this._aspectAnalysis && this._aspectAnalysis.
|
|
12503
|
-
this._aspectAnalysis = null;
|
|
12512
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
12504
12513
|
} // 销毁
|
|
12505
12514
|
|
|
12506
12515
|
|
|
@@ -12508,7 +12517,7 @@ class AspectAnalysisViewModels {
|
|
|
12508
12517
|
// 移除监听事件
|
|
12509
12518
|
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
12510
12519
|
this._globaOptions._drawFinishedEventListener = null;
|
|
12511
|
-
this._aspectAnalysis && this._aspectAnalysis.
|
|
12520
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
12512
12521
|
this._aspectAnalysis = null;
|
|
12513
12522
|
}
|
|
12514
12523
|
|
|
@@ -12543,8 +12552,7 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12543
12552
|
proxy
|
|
12544
12553
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.getCurrentInstance)();
|
|
12545
12554
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("");
|
|
12546
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
12547
|
-
// 获取组件传参
|
|
12555
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); // 获取组件传参
|
|
12548
12556
|
// 分析类
|
|
12549
12557
|
|
|
12550
12558
|
let viewModel = null; // 默认参数
|
|
@@ -12552,7 +12560,7 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12552
12560
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
12553
12561
|
interval: props.settingParams && props.settingParams.interval || 500,
|
|
12554
12562
|
arrowWidth: props.settingParams && props.settingParams.arrowWidth || 20,
|
|
12555
|
-
arrowColor: props.settingParams && props.settingParams.arrowColor || "#
|
|
12563
|
+
arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00"
|
|
12556
12564
|
});
|
|
12557
12565
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
12558
12566
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
@@ -12568,15 +12576,18 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12568
12576
|
function paramsChanged(key) {
|
|
12569
12577
|
switch (key) {
|
|
12570
12578
|
case "interval":
|
|
12571
|
-
//
|
|
12579
|
+
// 采样间隔
|
|
12580
|
+
viewModel.setInterval(formItem.interval);
|
|
12572
12581
|
break;
|
|
12573
12582
|
|
|
12574
12583
|
case "arrowWidth":
|
|
12575
|
-
//
|
|
12584
|
+
// 箭头间隔
|
|
12585
|
+
viewModel.setArrowWidth(formItem.arrowWidth);
|
|
12576
12586
|
break;
|
|
12577
12587
|
|
|
12578
12588
|
case "arrowColor":
|
|
12579
|
-
//
|
|
12589
|
+
// 箭头颜色
|
|
12590
|
+
viewModel.setArrowColor(formItem.arrowColor);
|
|
12580
12591
|
break;
|
|
12581
12592
|
|
|
12582
12593
|
default:
|
|
@@ -12586,7 +12597,6 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12586
12597
|
|
|
12587
12598
|
|
|
12588
12599
|
function startAnalysis() {
|
|
12589
|
-
clearResult();
|
|
12590
12600
|
viewModel && viewModel.start();
|
|
12591
12601
|
} //清除结果
|
|
12592
12602
|
|
|
@@ -12759,12 +12769,12 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
12759
12769
|
|
|
12760
12770
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
12761
12771
|
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_item, {
|
|
12762
|
-
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).
|
|
12772
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).arrowColor
|
|
12763
12773
|
}, {
|
|
12764
12774
|
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_color_picker, {
|
|
12765
12775
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).arrowColor,
|
|
12766
12776
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).arrowColor = $event),
|
|
12767
|
-
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('
|
|
12777
|
+
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('arrowColor'))
|
|
12768
12778
|
}, null, 8
|
|
12769
12779
|
/* PROPS */
|
|
12770
12780
|
, ["modelValue"])]),
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"0.9.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"0.9.7-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","xe-utils":"^3.5.4"}}
|
package/scenceview/index.js
CHANGED
|
@@ -196,7 +196,7 @@ class DrawManager {
|
|
|
196
196
|
outlineColor: "#ff0000",
|
|
197
197
|
outlineWidth: 1,
|
|
198
198
|
outlineDash: false,
|
|
199
|
-
fill:
|
|
199
|
+
fill: true,
|
|
200
200
|
fillStyle: null
|
|
201
201
|
}
|
|
202
202
|
});
|
|
@@ -444,7 +444,7 @@ class DrawManager {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
if (type === "polygon" && style.polygon.
|
|
447
|
+
if (type === "polygon" && style.polygon.fillStyle) {
|
|
448
448
|
style.polygon.material = this.getFillStyle(style.polygon.fillStyle);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -526,6 +526,21 @@ class DrawManager {
|
|
|
526
526
|
}
|
|
527
527
|
|
|
528
528
|
}
|
|
529
|
+
;// CONCATENATED MODULE: external "element-plus/es"
|
|
530
|
+
var es_namespaceObject = require("element-plus/es");
|
|
531
|
+
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
532
|
+
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
533
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
534
|
+
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
539
|
+
init_js_default()(Vue, opts);
|
|
540
|
+
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
529
544
|
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/webmapservice"
|
|
530
545
|
var webmapservice_namespaceObject = require("@kq_npm/client_common_vue/_utils/webmapservice");
|
|
531
546
|
var webmapservice_default = /*#__PURE__*/__webpack_require__.n(webmapservice_namespaceObject);
|
|
@@ -539,6 +554,7 @@ var global_event_default = /*#__PURE__*/__webpack_require__.n(global_event_names
|
|
|
539
554
|
|
|
540
555
|
|
|
541
556
|
|
|
557
|
+
|
|
542
558
|
//图层管理类
|
|
543
559
|
|
|
544
560
|
class LayerManager {
|
|
@@ -656,7 +672,7 @@ class LayerManager {
|
|
|
656
672
|
});
|
|
657
673
|
var sourcePromise = webMapService.getMapInfo().then(mapInfo => {
|
|
658
674
|
if (mapInfo.resultcode === "error") {
|
|
659
|
-
|
|
675
|
+
message({
|
|
660
676
|
message: mapInfo.message,
|
|
661
677
|
type: "error"
|
|
662
678
|
});
|
|
@@ -2375,9 +2391,6 @@ const __default__ = {
|
|
|
2375
2391
|
const __exports__ = ScenceViewvue_type_script_setup_true_lang_js;
|
|
2376
2392
|
|
|
2377
2393
|
/* harmony default export */ var ScenceView = (__exports__);
|
|
2378
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
2379
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
2380
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
2381
2394
|
;// CONCATENATED MODULE: ./src/webgl/scenceview/index.js
|
|
2382
2395
|
|
|
2383
2396
|
|