@kq_npm/client3d_webgl_vue 2.6.9-beta → 2.7.1-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 +256 -152
- package/aspectanalysis/index.js +209 -141
- package/baseterraingallery/index.js +182 -107
- package/boxclip/index.js +306 -238
- package/comparemap/index.js +219 -137
- package/compass/index.js +169 -94
- package/excavatefillanalysis/index.js +225 -157
- package/fixedzoomin/index.js +167 -92
- package/fixedzoomout/index.js +167 -92
- package/flight/index.js +298 -199
- package/floodanalysis/index.js +236 -170
- package/gpuspatialquery/index.js +280 -212
- package/hawkeye/index.js +143 -75
- package/index.js +4 -6
- package/isolineanalysis/index.js +552 -486
- package/measure/index.js +236 -154
- package/modelselect/index.js +184 -116
- package/package.json +1 -1
- package/particleeffect/index.js +258 -185
- package/planeclip/index.js +245 -177
- package/profileanalysis/index.js +252 -184
- package/resetview/index.js +132 -57
- package/roller/index.js +202 -134
- package/scenceview/index.js +21480 -94
- package/screenshot/index.js +203 -135
- package/shadowanalysis/index.js +317 -242
- package/sightlineanalysis/index.js +134 -96
- package/skylineanalysis/index.js +239 -171
- package/slopeanalysis/index.js +238 -172
- package/statusbar/index.js +84 -53
- package/terrainoperation/index.js +204 -136
- package/underground/index.js +164 -96
- package/viewshedanalysis/index.js +243 -175
- package/weathereffect/index.js +222 -149
package/fixedzoomin/index.js
CHANGED
|
@@ -1,86 +1,20 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
|
-
/******/
|
|
4
|
-
/******/ var __webpack_require__ = {};
|
|
5
|
-
/******/
|
|
6
|
-
/************************************************************************/
|
|
7
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
-
/******/ !function() {
|
|
9
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
-
/******/ __webpack_require__.n = function(module) {
|
|
11
|
-
/******/ var getter = module && module.__esModule ?
|
|
12
|
-
/******/ function() { return module['default']; } :
|
|
13
|
-
/******/ function() { return module; };
|
|
14
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
-
/******/ return getter;
|
|
16
|
-
/******/ };
|
|
17
|
-
/******/ }();
|
|
18
|
-
/******/
|
|
19
|
-
/******/ /* webpack/runtime/define property getters */
|
|
20
|
-
/******/ !function() {
|
|
21
|
-
/******/ // define getter functions for harmony exports
|
|
22
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
23
|
-
/******/ for(var key in definition) {
|
|
24
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
-
/******/ }
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ }();
|
|
30
|
-
/******/
|
|
31
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
-
/******/ !function() {
|
|
33
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
34
|
-
/******/ }();
|
|
35
|
-
/******/
|
|
36
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
-
/******/ !function() {
|
|
38
|
-
/******/ // define __esModule on exports
|
|
39
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
40
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
-
/******/ }
|
|
43
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
-
/******/ };
|
|
45
|
-
/******/ }();
|
|
46
|
-
/******/
|
|
47
|
-
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
|
-
// ESM COMPAT FLAG
|
|
50
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
51
4
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"FixedZoominViewModel": function() { return /* reexport */ FixedZoomin3dViewModel; },
|
|
55
|
-
"default": function() { return /* reexport */ FixedZoomin; }
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
59
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
|
|
60
|
-
;// CONCATENATED MODULE: external "@element-plus/icons-vue"
|
|
61
|
-
var icons_vue_namespaceObject = require("@element-plus/icons-vue");
|
|
62
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
63
|
-
function _defineProperty(obj, key, value) {
|
|
64
|
-
if (key in obj) {
|
|
65
|
-
Object.defineProperty(obj, key, {
|
|
66
|
-
value: value,
|
|
67
|
-
enumerable: true,
|
|
68
|
-
configurable: true,
|
|
69
|
-
writable: true
|
|
70
|
-
});
|
|
71
|
-
} else {
|
|
72
|
-
obj[key] = value;
|
|
73
|
-
}
|
|
5
|
+
/***/ 7216:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
74
7
|
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ "Z": function() { return /* binding */ FixedZoomin3dViewModel; }
|
|
10
|
+
/* harmony export */ });
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
78
12
|
|
|
79
13
|
// 三维固定缩放逻辑
|
|
80
14
|
class FixedZoomin3dViewModel {
|
|
81
15
|
//三维viewer对象
|
|
82
16
|
constructor(viewer) {
|
|
83
|
-
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
84
18
|
|
|
85
19
|
this._viewer = viewer;
|
|
86
20
|
} //获取相机焦点
|
|
@@ -141,8 +75,148 @@ class FixedZoomin3dViewModel {
|
|
|
141
75
|
}
|
|
142
76
|
|
|
143
77
|
}
|
|
144
|
-
|
|
145
|
-
|
|
78
|
+
|
|
79
|
+
/***/ }),
|
|
80
|
+
|
|
81
|
+
/***/ 8422:
|
|
82
|
+
/***/ (function(module) {
|
|
83
|
+
|
|
84
|
+
module.exports = require("@element-plus/icons-vue");
|
|
85
|
+
|
|
86
|
+
/***/ }),
|
|
87
|
+
|
|
88
|
+
/***/ 826:
|
|
89
|
+
/***/ (function(module) {
|
|
90
|
+
|
|
91
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
92
|
+
|
|
93
|
+
/***/ }),
|
|
94
|
+
|
|
95
|
+
/***/ 5406:
|
|
96
|
+
/***/ (function(module) {
|
|
97
|
+
|
|
98
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
99
|
+
|
|
100
|
+
/***/ }),
|
|
101
|
+
|
|
102
|
+
/***/ 637:
|
|
103
|
+
/***/ (function(module) {
|
|
104
|
+
|
|
105
|
+
module.exports = require("vue");
|
|
106
|
+
|
|
107
|
+
/***/ }),
|
|
108
|
+
|
|
109
|
+
/***/ 8270:
|
|
110
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
111
|
+
|
|
112
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
113
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
114
|
+
/* harmony export */ });
|
|
115
|
+
function _defineProperty(obj, key, value) {
|
|
116
|
+
if (key in obj) {
|
|
117
|
+
Object.defineProperty(obj, key, {
|
|
118
|
+
value: value,
|
|
119
|
+
enumerable: true,
|
|
120
|
+
configurable: true,
|
|
121
|
+
writable: true
|
|
122
|
+
});
|
|
123
|
+
} else {
|
|
124
|
+
obj[key] = value;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return obj;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/***/ })
|
|
131
|
+
|
|
132
|
+
/******/ });
|
|
133
|
+
/************************************************************************/
|
|
134
|
+
/******/ // The module cache
|
|
135
|
+
/******/ var __webpack_module_cache__ = {};
|
|
136
|
+
/******/
|
|
137
|
+
/******/ // The require function
|
|
138
|
+
/******/ function __webpack_require__(moduleId) {
|
|
139
|
+
/******/ // Check if module is in cache
|
|
140
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
141
|
+
/******/ if (cachedModule !== undefined) {
|
|
142
|
+
/******/ return cachedModule.exports;
|
|
143
|
+
/******/ }
|
|
144
|
+
/******/ // Create a new module (and put it into the cache)
|
|
145
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
146
|
+
/******/ // no module.id needed
|
|
147
|
+
/******/ // no module.loaded needed
|
|
148
|
+
/******/ exports: {}
|
|
149
|
+
/******/ };
|
|
150
|
+
/******/
|
|
151
|
+
/******/ // Execute the module function
|
|
152
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
153
|
+
/******/
|
|
154
|
+
/******/ // Return the exports of the module
|
|
155
|
+
/******/ return module.exports;
|
|
156
|
+
/******/ }
|
|
157
|
+
/******/
|
|
158
|
+
/************************************************************************/
|
|
159
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
160
|
+
/******/ !function() {
|
|
161
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
162
|
+
/******/ __webpack_require__.n = function(module) {
|
|
163
|
+
/******/ var getter = module && module.__esModule ?
|
|
164
|
+
/******/ function() { return module['default']; } :
|
|
165
|
+
/******/ function() { return module; };
|
|
166
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
167
|
+
/******/ return getter;
|
|
168
|
+
/******/ };
|
|
169
|
+
/******/ }();
|
|
170
|
+
/******/
|
|
171
|
+
/******/ /* webpack/runtime/define property getters */
|
|
172
|
+
/******/ !function() {
|
|
173
|
+
/******/ // define getter functions for harmony exports
|
|
174
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
175
|
+
/******/ for(var key in definition) {
|
|
176
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
177
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
178
|
+
/******/ }
|
|
179
|
+
/******/ }
|
|
180
|
+
/******/ };
|
|
181
|
+
/******/ }();
|
|
182
|
+
/******/
|
|
183
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
184
|
+
/******/ !function() {
|
|
185
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
186
|
+
/******/ }();
|
|
187
|
+
/******/
|
|
188
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
189
|
+
/******/ !function() {
|
|
190
|
+
/******/ // define __esModule on exports
|
|
191
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
192
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
193
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
194
|
+
/******/ }
|
|
195
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
196
|
+
/******/ };
|
|
197
|
+
/******/ }();
|
|
198
|
+
/******/
|
|
199
|
+
/************************************************************************/
|
|
200
|
+
var __webpack_exports__ = {};
|
|
201
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
202
|
+
!function() {
|
|
203
|
+
// ESM COMPAT FLAG
|
|
204
|
+
__webpack_require__.r(__webpack_exports__);
|
|
205
|
+
|
|
206
|
+
// EXPORTS
|
|
207
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
208
|
+
"FixedZoominViewModel": function() { return /* reexport */ FixedZoominViewModel/* default */.Z; },
|
|
209
|
+
"default": function() { return /* reexport */ FixedZoomin; }
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
213
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
214
|
+
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
215
|
+
var icons_vue_ = __webpack_require__(8422);
|
|
216
|
+
// EXTERNAL MODULE: ./src/webgl/fixedzoomin/FixedZoominViewModel.js
|
|
217
|
+
var FixedZoominViewModel = __webpack_require__(7216);
|
|
218
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
219
|
+
var gis_utils_ = __webpack_require__(826);
|
|
146
220
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
|
|
147
221
|
|
|
148
222
|
|
|
@@ -175,14 +249,14 @@ const __default__ = {
|
|
|
175
249
|
|
|
176
250
|
setup(__props) {
|
|
177
251
|
const props = __props;
|
|
178
|
-
let language = (0,
|
|
252
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
179
253
|
let viewModel = null;
|
|
180
|
-
let btn = (0,
|
|
181
|
-
(0,
|
|
182
|
-
|
|
254
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
255
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
256
|
+
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
183
257
|
if (scenceView) {
|
|
184
258
|
language.value = scenceView._language;
|
|
185
|
-
viewModel = new
|
|
259
|
+
viewModel = new FixedZoominViewModel/* default */.Z(scenceView._viewer);
|
|
186
260
|
}
|
|
187
261
|
});
|
|
188
262
|
}); // 按钮点击事件
|
|
@@ -193,24 +267,24 @@ const __default__ = {
|
|
|
193
267
|
}
|
|
194
268
|
|
|
195
269
|
return (_ctx, _cache) => {
|
|
196
|
-
const _component_kq_icon = (0,
|
|
270
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
197
271
|
|
|
198
|
-
const _component_kq_button = (0,
|
|
272
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
199
273
|
|
|
200
|
-
return (0,
|
|
201
|
-
title: (0,
|
|
202
|
-
class: (0,
|
|
274
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_button, {
|
|
275
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zoomOut,
|
|
276
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)([{
|
|
203
277
|
'kq-light-shadow': __props.showShadow
|
|
204
278
|
}]),
|
|
205
279
|
ref_key: "btn",
|
|
206
280
|
ref: btn,
|
|
207
281
|
onClick: btnClick,
|
|
208
|
-
style: (0,
|
|
282
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.buttonSize)
|
|
209
283
|
}, {
|
|
210
|
-
default: (0,
|
|
284
|
+
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_icon, {
|
|
211
285
|
size: __props.iconSize
|
|
212
286
|
}, {
|
|
213
|
-
default: (0,
|
|
287
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Minus))]),
|
|
214
288
|
_: 1
|
|
215
289
|
/* STABLE */
|
|
216
290
|
|
|
@@ -236,9 +310,9 @@ const __default__ = {
|
|
|
236
310
|
const __exports__ = FixedZoominvue_type_script_setup_true_lang_js;
|
|
237
311
|
|
|
238
312
|
/* harmony default export */ var FixedZoomin = (__exports__);
|
|
239
|
-
|
|
240
|
-
var
|
|
241
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(
|
|
313
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
314
|
+
var init_js_ = __webpack_require__(5406);
|
|
315
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
242
316
|
;// CONCATENATED MODULE: ./src/webgl/fixedzoomin/index.js
|
|
243
317
|
|
|
244
318
|
|
|
@@ -250,6 +324,7 @@ FixedZoomin.install = (Vue, opts) => {
|
|
|
250
324
|
};
|
|
251
325
|
|
|
252
326
|
|
|
327
|
+
}();
|
|
253
328
|
module.exports = __webpack_exports__;
|
|
254
329
|
/******/ })()
|
|
255
330
|
;
|
package/fixedzoomout/index.js
CHANGED
|
@@ -1,86 +1,20 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
|
-
/******/
|
|
4
|
-
/******/ var __webpack_require__ = {};
|
|
5
|
-
/******/
|
|
6
|
-
/************************************************************************/
|
|
7
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
-
/******/ !function() {
|
|
9
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
-
/******/ __webpack_require__.n = function(module) {
|
|
11
|
-
/******/ var getter = module && module.__esModule ?
|
|
12
|
-
/******/ function() { return module['default']; } :
|
|
13
|
-
/******/ function() { return module; };
|
|
14
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
-
/******/ return getter;
|
|
16
|
-
/******/ };
|
|
17
|
-
/******/ }();
|
|
18
|
-
/******/
|
|
19
|
-
/******/ /* webpack/runtime/define property getters */
|
|
20
|
-
/******/ !function() {
|
|
21
|
-
/******/ // define getter functions for harmony exports
|
|
22
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
23
|
-
/******/ for(var key in definition) {
|
|
24
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
-
/******/ }
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ }();
|
|
30
|
-
/******/
|
|
31
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
-
/******/ !function() {
|
|
33
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
34
|
-
/******/ }();
|
|
35
|
-
/******/
|
|
36
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
-
/******/ !function() {
|
|
38
|
-
/******/ // define __esModule on exports
|
|
39
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
40
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
-
/******/ }
|
|
43
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
-
/******/ };
|
|
45
|
-
/******/ }();
|
|
46
|
-
/******/
|
|
47
|
-
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
|
-
// ESM COMPAT FLAG
|
|
50
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
51
4
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"FixedZoomoutViewModel": function() { return /* reexport */ FixedZoomout3dViewModel; },
|
|
55
|
-
"default": function() { return /* reexport */ FixedZoomout; }
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
59
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
|
|
60
|
-
;// CONCATENATED MODULE: external "@element-plus/icons-vue"
|
|
61
|
-
var icons_vue_namespaceObject = require("@element-plus/icons-vue");
|
|
62
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
63
|
-
function _defineProperty(obj, key, value) {
|
|
64
|
-
if (key in obj) {
|
|
65
|
-
Object.defineProperty(obj, key, {
|
|
66
|
-
value: value,
|
|
67
|
-
enumerable: true,
|
|
68
|
-
configurable: true,
|
|
69
|
-
writable: true
|
|
70
|
-
});
|
|
71
|
-
} else {
|
|
72
|
-
obj[key] = value;
|
|
73
|
-
}
|
|
5
|
+
/***/ 8800:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
74
7
|
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ "Z": function() { return /* binding */ FixedZoomout3dViewModel; }
|
|
10
|
+
/* harmony export */ });
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
78
12
|
|
|
79
13
|
// 三维固定缩放逻辑
|
|
80
14
|
class FixedZoomout3dViewModel {
|
|
81
15
|
//三维viewer对象
|
|
82
16
|
constructor(viewer) {
|
|
83
|
-
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
84
18
|
|
|
85
19
|
this._viewer = viewer;
|
|
86
20
|
} //获取相机焦点
|
|
@@ -141,8 +75,148 @@ class FixedZoomout3dViewModel {
|
|
|
141
75
|
}
|
|
142
76
|
|
|
143
77
|
}
|
|
144
|
-
|
|
145
|
-
|
|
78
|
+
|
|
79
|
+
/***/ }),
|
|
80
|
+
|
|
81
|
+
/***/ 8422:
|
|
82
|
+
/***/ (function(module) {
|
|
83
|
+
|
|
84
|
+
module.exports = require("@element-plus/icons-vue");
|
|
85
|
+
|
|
86
|
+
/***/ }),
|
|
87
|
+
|
|
88
|
+
/***/ 826:
|
|
89
|
+
/***/ (function(module) {
|
|
90
|
+
|
|
91
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
92
|
+
|
|
93
|
+
/***/ }),
|
|
94
|
+
|
|
95
|
+
/***/ 5406:
|
|
96
|
+
/***/ (function(module) {
|
|
97
|
+
|
|
98
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
99
|
+
|
|
100
|
+
/***/ }),
|
|
101
|
+
|
|
102
|
+
/***/ 637:
|
|
103
|
+
/***/ (function(module) {
|
|
104
|
+
|
|
105
|
+
module.exports = require("vue");
|
|
106
|
+
|
|
107
|
+
/***/ }),
|
|
108
|
+
|
|
109
|
+
/***/ 8270:
|
|
110
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
111
|
+
|
|
112
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
113
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
114
|
+
/* harmony export */ });
|
|
115
|
+
function _defineProperty(obj, key, value) {
|
|
116
|
+
if (key in obj) {
|
|
117
|
+
Object.defineProperty(obj, key, {
|
|
118
|
+
value: value,
|
|
119
|
+
enumerable: true,
|
|
120
|
+
configurable: true,
|
|
121
|
+
writable: true
|
|
122
|
+
});
|
|
123
|
+
} else {
|
|
124
|
+
obj[key] = value;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
return obj;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/***/ })
|
|
131
|
+
|
|
132
|
+
/******/ });
|
|
133
|
+
/************************************************************************/
|
|
134
|
+
/******/ // The module cache
|
|
135
|
+
/******/ var __webpack_module_cache__ = {};
|
|
136
|
+
/******/
|
|
137
|
+
/******/ // The require function
|
|
138
|
+
/******/ function __webpack_require__(moduleId) {
|
|
139
|
+
/******/ // Check if module is in cache
|
|
140
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
141
|
+
/******/ if (cachedModule !== undefined) {
|
|
142
|
+
/******/ return cachedModule.exports;
|
|
143
|
+
/******/ }
|
|
144
|
+
/******/ // Create a new module (and put it into the cache)
|
|
145
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
146
|
+
/******/ // no module.id needed
|
|
147
|
+
/******/ // no module.loaded needed
|
|
148
|
+
/******/ exports: {}
|
|
149
|
+
/******/ };
|
|
150
|
+
/******/
|
|
151
|
+
/******/ // Execute the module function
|
|
152
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
153
|
+
/******/
|
|
154
|
+
/******/ // Return the exports of the module
|
|
155
|
+
/******/ return module.exports;
|
|
156
|
+
/******/ }
|
|
157
|
+
/******/
|
|
158
|
+
/************************************************************************/
|
|
159
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
160
|
+
/******/ !function() {
|
|
161
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
162
|
+
/******/ __webpack_require__.n = function(module) {
|
|
163
|
+
/******/ var getter = module && module.__esModule ?
|
|
164
|
+
/******/ function() { return module['default']; } :
|
|
165
|
+
/******/ function() { return module; };
|
|
166
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
167
|
+
/******/ return getter;
|
|
168
|
+
/******/ };
|
|
169
|
+
/******/ }();
|
|
170
|
+
/******/
|
|
171
|
+
/******/ /* webpack/runtime/define property getters */
|
|
172
|
+
/******/ !function() {
|
|
173
|
+
/******/ // define getter functions for harmony exports
|
|
174
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
175
|
+
/******/ for(var key in definition) {
|
|
176
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
177
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
178
|
+
/******/ }
|
|
179
|
+
/******/ }
|
|
180
|
+
/******/ };
|
|
181
|
+
/******/ }();
|
|
182
|
+
/******/
|
|
183
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
184
|
+
/******/ !function() {
|
|
185
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
186
|
+
/******/ }();
|
|
187
|
+
/******/
|
|
188
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
189
|
+
/******/ !function() {
|
|
190
|
+
/******/ // define __esModule on exports
|
|
191
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
192
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
193
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
194
|
+
/******/ }
|
|
195
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
196
|
+
/******/ };
|
|
197
|
+
/******/ }();
|
|
198
|
+
/******/
|
|
199
|
+
/************************************************************************/
|
|
200
|
+
var __webpack_exports__ = {};
|
|
201
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
202
|
+
!function() {
|
|
203
|
+
// ESM COMPAT FLAG
|
|
204
|
+
__webpack_require__.r(__webpack_exports__);
|
|
205
|
+
|
|
206
|
+
// EXPORTS
|
|
207
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
208
|
+
"FixedZoomoutViewModel": function() { return /* reexport */ FixedZoomoutViewModel/* default */.Z; },
|
|
209
|
+
"default": function() { return /* reexport */ FixedZoomout; }
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
213
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
214
|
+
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
215
|
+
var icons_vue_ = __webpack_require__(8422);
|
|
216
|
+
// EXTERNAL MODULE: ./src/webgl/fixedzoomout/FixedZoomoutViewModel.js
|
|
217
|
+
var FixedZoomoutViewModel = __webpack_require__(8800);
|
|
218
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
219
|
+
var gis_utils_ = __webpack_require__(826);
|
|
146
220
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
|
|
147
221
|
|
|
148
222
|
|
|
@@ -175,14 +249,14 @@ const __default__ = {
|
|
|
175
249
|
|
|
176
250
|
setup(__props) {
|
|
177
251
|
const props = __props;
|
|
178
|
-
let language = (0,
|
|
252
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
179
253
|
let viewModel = null;
|
|
180
|
-
let btn = (0,
|
|
181
|
-
(0,
|
|
182
|
-
|
|
254
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
255
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
256
|
+
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
183
257
|
if (scenceView) {
|
|
184
258
|
language.value = scenceView._language;
|
|
185
|
-
viewModel = new
|
|
259
|
+
viewModel = new FixedZoomoutViewModel/* default */.Z(scenceView._viewer);
|
|
186
260
|
}
|
|
187
261
|
});
|
|
188
262
|
}); // 按钮点击事件
|
|
@@ -193,24 +267,24 @@ const __default__ = {
|
|
|
193
267
|
}
|
|
194
268
|
|
|
195
269
|
return (_ctx, _cache) => {
|
|
196
|
-
const _component_kq_icon = (0,
|
|
270
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
197
271
|
|
|
198
|
-
const _component_kq_button = (0,
|
|
272
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
199
273
|
|
|
200
|
-
return (0,
|
|
201
|
-
title: (0,
|
|
202
|
-
class: (0,
|
|
274
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_button, {
|
|
275
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zoomIn,
|
|
276
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)([{
|
|
203
277
|
'kq-light-shadow': __props.showShadow
|
|
204
278
|
}]),
|
|
205
279
|
ref_key: "btn",
|
|
206
280
|
ref: btn,
|
|
207
281
|
onClick: btnClick,
|
|
208
|
-
style: (0,
|
|
282
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.buttonSize)
|
|
209
283
|
}, {
|
|
210
|
-
default: (0,
|
|
284
|
+
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_icon, {
|
|
211
285
|
size: __props.iconSize
|
|
212
286
|
}, {
|
|
213
|
-
default: (0,
|
|
287
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Plus))]),
|
|
214
288
|
_: 1
|
|
215
289
|
/* STABLE */
|
|
216
290
|
|
|
@@ -236,9 +310,9 @@ const __default__ = {
|
|
|
236
310
|
const __exports__ = FixedZoomoutvue_type_script_setup_true_lang_js;
|
|
237
311
|
|
|
238
312
|
/* harmony default export */ var FixedZoomout = (__exports__);
|
|
239
|
-
|
|
240
|
-
var
|
|
241
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(
|
|
313
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
314
|
+
var init_js_ = __webpack_require__(5406);
|
|
315
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
242
316
|
;// CONCATENATED MODULE: ./src/webgl/fixedzoomout/index.js
|
|
243
317
|
|
|
244
318
|
|
|
@@ -250,6 +324,7 @@ FixedZoomout.install = (Vue, opts) => {
|
|
|
250
324
|
};
|
|
251
325
|
|
|
252
326
|
|
|
327
|
+
}();
|
|
253
328
|
module.exports = __webpack_exports__;
|
|
254
329
|
/******/ })()
|
|
255
330
|
;
|