@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-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/adddata/index.js +355 -538
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +172 -239
- package/baseterraingallery/index.js +124 -145
- package/boxclip/index.js +300 -481
- package/clientPrint/index.js +335 -898
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +226 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +193 -263
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +311 -415
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +255 -393
- package/geologicalbodyanalysis/index.js +215 -298
- package/gpuspatialquery/index.js +260 -402
- package/hawkeye/index.js +141 -103
- package/headertemp/index.js +25 -34
- package/heatmap3d/index.js +451 -763
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20826 -17774
- package/isolineanalysis/index.js +566 -1243
- package/light/index.js +353 -488
- package/limitheightanalysis/index.js +251 -312
- package/measure/index.js +350 -504
- package/modelFlat/index.js +214 -234
- package/modelexcavate/index.js +206 -262
- package/modelfilter/index.js +229 -308
- package/modelprofileanalysis/index.js +356 -465
- package/modelselect/index.js +192 -184
- package/package.json +1 -1
- package/particleeffect/index.js +259 -430
- package/planeclip/index.js +249 -339
- package/resetview/index.js +89 -69
- package/roller/index.js +307 -363
- package/scaneffect/index.js +285 -582
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +11149 -0
- package/sceneset/index.js +393 -885
- package/scenetohdimage/index.js +214 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +22780 -19540
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +275 -312
- package/shadowanalysis/index.js +269 -448
- package/sightlineanalysis/index.js +231 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +213 -351
- package/slopeanalysis/index.js +282 -444
- package/slopeaspectanalysis/index.js +315 -534
- package/statusbar/index.js +194 -164
- package/style.css +1 -1
- package/terrainoperation/index.js +230 -280
- package/terrainprofileanalysis/index.js +174 -182
- package/underground/index.js +98 -82
- package/videofusion/index.js +319 -532
- package/videoproject/index.js +325 -534
- package/viewshedanalysis/index.js +178 -275
- package/weathereffect/index.js +199 -343
- package/wireframesketch/index.js +146 -150
|
@@ -7,33 +7,35 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__4822__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 7938:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
18
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */
|
|
19
|
+
/* harmony export */ A: function() { return /* binding */ BaseterrainGalleryViewModel; }
|
|
20
20
|
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
21
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6913);
|
|
22
22
|
|
|
23
|
+
/*
|
|
24
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
25
|
+
* All rights reserved.
|
|
26
|
+
*/
|
|
23
27
|
//在线地形逻辑类
|
|
24
28
|
class BaseterrainGalleryViewModel {
|
|
25
29
|
//基本地形对象
|
|
26
30
|
constructor(viewer) {
|
|
27
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .
|
|
28
|
-
|
|
31
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_baseterrainGallery", {});
|
|
29
32
|
this._baseterrainGallery.viewer = viewer;
|
|
30
33
|
this._baseterrainGallery.viewer.scene.globe.depthTestAgainstTerrain = false;
|
|
31
|
-
this._baseterrainGallery.viewer.scene.postProcessStages.fxaa.enabled = false;
|
|
32
|
-
|
|
34
|
+
this._baseterrainGallery.viewer.scene.postProcessStages.fxaa.enabled = false;
|
|
35
|
+
//this.terrainTDT();
|
|
33
36
|
this.terrainNo();
|
|
34
37
|
this.terrainCesium();
|
|
35
38
|
}
|
|
36
|
-
|
|
37
39
|
setTerrainType(inx) {
|
|
38
40
|
if (inx === 0) {
|
|
39
41
|
this._baseterrainGallery.viewer.terrainProvider = this._baseterrainGallery.terrainTDT;
|
|
@@ -42,9 +44,8 @@ class BaseterrainGalleryViewModel {
|
|
|
42
44
|
} else if (inx === 2) {
|
|
43
45
|
this._baseterrainGallery.viewer.terrainProvider = this._baseterrainGallery.terrainNo;
|
|
44
46
|
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
}
|
|
48
|
+
//天地图地形
|
|
48
49
|
terrainTDT() {
|
|
49
50
|
this._baseterrainGallery.terrainTDT = new window.Cesium.TiandituTerrainProvider({
|
|
50
51
|
url: "https://t{s}.tianditu.gov.cn/DEM90M/DataServer?T=elv_c",
|
|
@@ -54,16 +55,12 @@ class BaseterrainGalleryViewModel {
|
|
|
54
55
|
/**
|
|
55
56
|
* 无地形
|
|
56
57
|
*/
|
|
57
|
-
|
|
58
|
-
|
|
59
58
|
terrainNo() {
|
|
60
59
|
this._baseterrainGallery.terrainNo = new window.Cesium.EllipsoidTerrainProvider();
|
|
61
60
|
}
|
|
62
61
|
/**
|
|
63
62
|
* cesium全球地形
|
|
64
63
|
*/
|
|
65
|
-
|
|
66
|
-
|
|
67
64
|
terrainCesium() {
|
|
68
65
|
window.Cesium.Ion.defaultAccessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwMTY2NmY5Yi05OTM4LTQzMDAtOWFiNS00NTFlZmVkYWE2OTMiLCJpZCI6Nzc1NDAsImlhdCI6MTY0MDMzNzc2MH0.V6JP-o1fF5PQZ6BQzo5vS1SATDid7sM0NjOtQuRULjU";
|
|
69
66
|
this._baseterrainGallery.terrainCesium = new window.Cesium.createWorldTerrain({
|
|
@@ -74,94 +71,121 @@ class BaseterrainGalleryViewModel {
|
|
|
74
71
|
/**
|
|
75
72
|
* 清理地图
|
|
76
73
|
*/
|
|
77
|
-
|
|
78
|
-
|
|
79
74
|
clear() {
|
|
80
75
|
this.setTerrainType(2);
|
|
81
76
|
}
|
|
82
77
|
/**
|
|
83
78
|
* 注销
|
|
84
79
|
*/
|
|
85
|
-
|
|
86
|
-
|
|
87
80
|
destroy() {
|
|
88
81
|
this.clear();
|
|
89
82
|
}
|
|
90
|
-
|
|
91
83
|
}
|
|
92
84
|
|
|
93
85
|
/***/ }),
|
|
94
86
|
|
|
95
|
-
/***/
|
|
87
|
+
/***/ 5698:
|
|
96
88
|
/***/ (function(module) {
|
|
97
89
|
|
|
98
90
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
99
91
|
|
|
100
92
|
/***/ }),
|
|
101
93
|
|
|
102
|
-
/***/
|
|
94
|
+
/***/ 3579:
|
|
103
95
|
/***/ (function(module) {
|
|
104
96
|
|
|
105
97
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
106
98
|
|
|
107
99
|
/***/ }),
|
|
108
100
|
|
|
109
|
-
/***/
|
|
101
|
+
/***/ 4822:
|
|
110
102
|
/***/ (function(module) {
|
|
111
103
|
|
|
112
|
-
module.exports =
|
|
104
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4822__;
|
|
113
105
|
|
|
114
106
|
/***/ }),
|
|
115
107
|
|
|
116
|
-
/***/
|
|
108
|
+
/***/ 64:
|
|
117
109
|
/***/ (function(module) {
|
|
118
110
|
|
|
119
|
-
module.exports =
|
|
111
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
120
112
|
|
|
121
113
|
/***/ }),
|
|
122
114
|
|
|
123
|
-
/***/
|
|
115
|
+
/***/ 2975:
|
|
124
116
|
/***/ (function(module) {
|
|
125
117
|
|
|
126
|
-
module.exports =
|
|
118
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
127
119
|
|
|
128
120
|
/***/ }),
|
|
129
121
|
|
|
130
|
-
/***/
|
|
122
|
+
/***/ 455:
|
|
131
123
|
/***/ (function(module) {
|
|
132
124
|
|
|
133
|
-
module.exports =
|
|
125
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
134
126
|
|
|
135
127
|
/***/ }),
|
|
136
128
|
|
|
137
|
-
/***/
|
|
129
|
+
/***/ 154:
|
|
138
130
|
/***/ (function(module) {
|
|
139
131
|
|
|
140
|
-
module.exports =
|
|
132
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
141
133
|
|
|
142
134
|
/***/ }),
|
|
143
135
|
|
|
144
|
-
/***/
|
|
136
|
+
/***/ 6913:
|
|
145
137
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
146
138
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
function
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
139
|
+
|
|
140
|
+
// EXPORTS
|
|
141
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
142
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
146
|
+
function _typeof(o) {
|
|
147
|
+
"@babel/helpers - typeof";
|
|
148
|
+
|
|
149
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
150
|
+
return typeof o;
|
|
151
|
+
} : function (o) {
|
|
152
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
153
|
+
}, _typeof(o);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
157
|
+
|
|
158
|
+
function toPrimitive(t, r) {
|
|
159
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
160
|
+
var e = t[Symbol.toPrimitive];
|
|
161
|
+
if (void 0 !== e) {
|
|
162
|
+
var i = e.call(t, r || "default");
|
|
163
|
+
if ("object" != _typeof(i)) return i;
|
|
164
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
160
165
|
}
|
|
166
|
+
return ("string" === r ? String : Number)(t);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
function toPropertyKey(t) {
|
|
173
|
+
var i = toPrimitive(t, "string");
|
|
174
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
161
178
|
|
|
162
|
-
|
|
179
|
+
function _defineProperty(e, r, t) {
|
|
180
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
181
|
+
value: t,
|
|
182
|
+
enumerable: !0,
|
|
183
|
+
configurable: !0,
|
|
184
|
+
writable: !0
|
|
185
|
+
}) : e[r] = t, e;
|
|
163
186
|
}
|
|
164
187
|
|
|
188
|
+
|
|
165
189
|
/***/ })
|
|
166
190
|
|
|
167
191
|
/******/ });
|
|
@@ -233,31 +257,29 @@ function _defineProperty(obj, key, value) {
|
|
|
233
257
|
/******/
|
|
234
258
|
/************************************************************************/
|
|
235
259
|
var __webpack_exports__ = {};
|
|
236
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
237
|
-
!function() {
|
|
238
260
|
// ESM COMPAT FLAG
|
|
239
261
|
__webpack_require__.r(__webpack_exports__);
|
|
240
262
|
|
|
241
263
|
// EXPORTS
|
|
242
264
|
__webpack_require__.d(__webpack_exports__, {
|
|
243
|
-
|
|
265
|
+
BaseterrainGalleryViewModel: function() { return /* reexport */ BaseterrainGalleryViewModel/* default */.A; },
|
|
244
266
|
"default": function() { return /* reexport */ BaseterrainGallery; }
|
|
245
267
|
});
|
|
246
268
|
|
|
247
269
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
248
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
270
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
249
271
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
250
|
-
var gis_utils_ = __webpack_require__(
|
|
272
|
+
var gis_utils_ = __webpack_require__(64);
|
|
251
273
|
// EXTERNAL MODULE: ./src/webgl/baseterraingallery/BaseterrainGalleryViewModel.js
|
|
252
|
-
var BaseterrainGalleryViewModel = __webpack_require__(
|
|
274
|
+
var BaseterrainGalleryViewModel = __webpack_require__(7938);
|
|
253
275
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
254
|
-
var const_image_ = __webpack_require__(
|
|
276
|
+
var const_image_ = __webpack_require__(4822);
|
|
255
277
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
256
|
-
var client_icons_vue_ = __webpack_require__(
|
|
278
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
257
279
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
258
|
-
var util_ = __webpack_require__(
|
|
280
|
+
var util_ = __webpack_require__(2975);
|
|
259
281
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
260
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
282
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
261
283
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
262
284
|
|
|
263
285
|
const _hoisted_1 = {
|
|
@@ -296,7 +318,7 @@ const _hoisted_10 = {
|
|
|
296
318
|
const __default__ = {
|
|
297
319
|
name: "Kq3dBaseterrainGallery"
|
|
298
320
|
};
|
|
299
|
-
/* harmony default export */ var BaseterrainGalleryvue_type_script_setup_true_lang_js = (
|
|
321
|
+
/* harmony default export */ var BaseterrainGalleryvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
300
322
|
props: {
|
|
301
323
|
selectIndex: {
|
|
302
324
|
type: Number,
|
|
@@ -306,7 +328,6 @@ const __default__ = {
|
|
|
306
328
|
type: Boolean,
|
|
307
329
|
default: true
|
|
308
330
|
},
|
|
309
|
-
|
|
310
331
|
/**
|
|
311
332
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
312
333
|
*/
|
|
@@ -336,24 +357,27 @@ const __default__ = {
|
|
|
336
357
|
default: true
|
|
337
358
|
}
|
|
338
359
|
},
|
|
339
|
-
|
|
340
360
|
setup(__props, {
|
|
341
|
-
expose
|
|
361
|
+
expose: __expose
|
|
342
362
|
}) {
|
|
343
|
-
const props = __props;
|
|
344
|
-
|
|
345
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
346
|
-
|
|
363
|
+
const props = __props;
|
|
364
|
+
//语言
|
|
365
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
366
|
+
//地形选中值
|
|
347
367
|
let currentIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(2);
|
|
348
|
-
let currentTerrain = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
368
|
+
let currentTerrain = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
349
369
|
|
|
350
|
-
|
|
370
|
+
//逻辑类对象
|
|
371
|
+
let viewModel = null;
|
|
351
372
|
|
|
352
|
-
|
|
373
|
+
// 组件容器Ref
|
|
374
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
353
375
|
|
|
376
|
+
// 生成组件默认header
|
|
354
377
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
355
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
378
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
356
379
|
|
|
380
|
+
// 国际化
|
|
357
381
|
let {
|
|
358
382
|
locale,
|
|
359
383
|
messages
|
|
@@ -373,60 +397,53 @@ const __default__ = {
|
|
|
373
397
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
374
398
|
if (scenceView) {
|
|
375
399
|
changSelectTerrain();
|
|
376
|
-
viewModel = new BaseterrainGalleryViewModel/* default */.
|
|
377
|
-
|
|
400
|
+
viewModel = new BaseterrainGalleryViewModel/* default */.A(scenceView._viewer);
|
|
401
|
+
// 初始化无地形时不需要设置地形, 如果将地形设置为无地形可能会影响其他功能添加的地形
|
|
378
402
|
if (currentIndex.value != 2) viewModel.setTerrainType(currentIndex.value);
|
|
379
403
|
}
|
|
380
404
|
});
|
|
381
405
|
});
|
|
406
|
+
|
|
382
407
|
/**
|
|
383
408
|
* @description 监听header生成
|
|
384
409
|
*/
|
|
385
|
-
|
|
386
410
|
const watchCreateHeaderTemp = () => {
|
|
387
411
|
if (props.showHeaderTemp) {
|
|
388
412
|
// 生成headerTemp
|
|
389
413
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
390
414
|
}
|
|
391
415
|
};
|
|
392
|
-
|
|
393
416
|
function changSelectTerrain() {
|
|
394
417
|
switch (currentIndex.value) {
|
|
395
418
|
case 0:
|
|
396
419
|
currentTerrain.value = language.value["tiandituTerrain"];
|
|
397
420
|
break;
|
|
398
|
-
|
|
399
421
|
case 1:
|
|
400
422
|
currentTerrain.value = language.value["cesiumTerrain"];
|
|
401
423
|
break;
|
|
402
|
-
|
|
403
424
|
case 2:
|
|
404
425
|
currentTerrain.value = language.value["ellipsoidTerrain"];
|
|
405
426
|
break;
|
|
406
427
|
}
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
|
|
428
|
+
}
|
|
429
|
+
//地形选择事件
|
|
410
430
|
function clickHandler(inx) {
|
|
411
431
|
currentIndex.value = inx;
|
|
412
432
|
changSelectTerrain();
|
|
413
433
|
viewModel.setTerrainType(currentIndex.value);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
|
|
434
|
+
}
|
|
435
|
+
//清除结果
|
|
417
436
|
function clearResult() {
|
|
418
437
|
viewModel && viewModel.clear();
|
|
419
438
|
}
|
|
420
|
-
|
|
421
439
|
function getSelectIndex() {
|
|
422
440
|
return currentIndex.value;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
|
|
441
|
+
}
|
|
442
|
+
// 销毁
|
|
426
443
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
427
444
|
clearResult();
|
|
428
445
|
});
|
|
429
|
-
|
|
446
|
+
__expose({
|
|
430
447
|
changSelectTerrain,
|
|
431
448
|
clickHandler,
|
|
432
449
|
getSelectIndex,
|
|
@@ -434,13 +451,9 @@ const __default__ = {
|
|
|
434
451
|
});
|
|
435
452
|
return (_ctx, _cache) => {
|
|
436
453
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
437
|
-
|
|
438
454
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
439
|
-
|
|
440
455
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
441
|
-
|
|
442
456
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
443
|
-
|
|
444
457
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
445
458
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-baseterrain-gallery", {
|
|
446
459
|
'kq-box-shadow': __props.showShadow
|
|
@@ -451,9 +464,7 @@ const __default__ = {
|
|
|
451
464
|
key: 0,
|
|
452
465
|
ref_key: "headerTempRef",
|
|
453
466
|
ref: headerTempRef
|
|
454
|
-
}, null, 512
|
|
455
|
-
/* NEED_PATCH */
|
|
456
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
467
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
457
468
|
style: {
|
|
458
469
|
"line-height": "48px",
|
|
459
470
|
"height": "48px"
|
|
@@ -462,18 +473,10 @@ const __default__ = {
|
|
|
462
473
|
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_item, {
|
|
463
474
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).onlineTerrain
|
|
464
475
|
}, {
|
|
465
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentTerrain)), 1
|
|
466
|
-
/*
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
/* STABLE */
|
|
470
|
-
|
|
471
|
-
}, 8
|
|
472
|
-
/* PROPS */
|
|
473
|
-
, ["label"])]),
|
|
474
|
-
_: 1
|
|
475
|
-
/* STABLE */
|
|
476
|
-
|
|
476
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentTerrain)), 1 /* TEXT */)]),
|
|
477
|
+
_: 1 /* STABLE */
|
|
478
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
479
|
+
_: 1 /* STABLE */
|
|
477
480
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
478
481
|
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_col, {
|
|
479
482
|
span: 24
|
|
@@ -486,51 +489,26 @@ const __default__ = {
|
|
|
486
489
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
487
490
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.CESIUM_TERRAiIN_URL),
|
|
488
491
|
alt: ""
|
|
489
|
-
}, null, 8
|
|
490
|
-
/*
|
|
491
|
-
|
|
492
|
-
/* TEXT */
|
|
493
|
-
)])]),
|
|
494
|
-
_: 1
|
|
495
|
-
/* STABLE */
|
|
496
|
-
|
|
497
|
-
}, 8
|
|
498
|
-
/* PROPS */
|
|
499
|
-
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
492
|
+
}, null, 8 /* PROPS */, _hoisted_4)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).cesiumTerrain), 1 /* TEXT */)])]),
|
|
493
|
+
_: 1 /* STABLE */
|
|
494
|
+
}, 8 /* PROPS */, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
500
495
|
onClick: _cache[1] || (_cache[1] = $event => clickHandler(2)),
|
|
501
496
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentIndex) == 2 ? 'active' : '')
|
|
502
497
|
}, {
|
|
503
498
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_7, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
504
499
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.NO_TERRAiIN_URL),
|
|
505
500
|
alt: ""
|
|
506
|
-
}, null, 8
|
|
507
|
-
/*
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
)])]),
|
|
511
|
-
_: 1
|
|
512
|
-
/* STABLE */
|
|
513
|
-
|
|
514
|
-
}, 8
|
|
515
|
-
/* PROPS */
|
|
516
|
-
, ["class"])]),
|
|
517
|
-
_: 1
|
|
518
|
-
/* STABLE */
|
|
519
|
-
|
|
501
|
+
}, null, 8 /* PROPS */, _hoisted_8)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).ellipsoidTerrain), 1 /* TEXT */)])]),
|
|
502
|
+
_: 1 /* STABLE */
|
|
503
|
+
}, 8 /* PROPS */, ["class"])]),
|
|
504
|
+
_: 1 /* STABLE */
|
|
520
505
|
})]),
|
|
521
|
-
_: 1
|
|
522
|
-
/* STABLE */
|
|
523
|
-
|
|
506
|
+
_: 1 /* STABLE */
|
|
524
507
|
})]),
|
|
525
|
-
_: 1
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
})])], 2
|
|
529
|
-
/* CLASS */
|
|
530
|
-
);
|
|
508
|
+
_: 1 /* STABLE */
|
|
509
|
+
})])], 2 /* CLASS */);
|
|
531
510
|
};
|
|
532
511
|
}
|
|
533
|
-
|
|
534
512
|
}));
|
|
535
513
|
;// CONCATENATED MODULE: ./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
536
514
|
|
|
@@ -542,10 +520,13 @@ const __exports__ = BaseterrainGalleryvue_type_script_setup_true_lang_js;
|
|
|
542
520
|
|
|
543
521
|
/* harmony default export */ var BaseterrainGallery = (__exports__);
|
|
544
522
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
545
|
-
var init_js_ = __webpack_require__(
|
|
523
|
+
var init_js_ = __webpack_require__(455);
|
|
546
524
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
547
525
|
;// CONCATENATED MODULE: ./src/webgl/baseterraingallery/index.js
|
|
548
|
-
|
|
526
|
+
/*
|
|
527
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
528
|
+
* All rights reserved.
|
|
529
|
+
*/
|
|
549
530
|
|
|
550
531
|
|
|
551
532
|
|
|
@@ -554,8 +535,6 @@ BaseterrainGallery.install = (Vue, opts) => {
|
|
|
554
535
|
Vue.component(BaseterrainGallery.name, BaseterrainGallery);
|
|
555
536
|
};
|
|
556
537
|
|
|
557
|
-
|
|
558
|
-
}();
|
|
559
538
|
/******/ return __webpack_exports__;
|
|
560
539
|
/******/ })()
|
|
561
540
|
;
|