@kq_npm/client3d_webgl_vue 0.0.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 +1503 -0
- package/adddata/style/adddata.css +1 -0
- package/adddata/style/css.js +3 -0
- package/adddata/style/index.js +3 -0
- package/baseterraingallery/index.js +394 -0
- package/baseterraingallery/style/baseterraingallery.css +1 -0
- package/baseterraingallery/style/css.js +3 -0
- package/baseterraingallery/style/index.js +3 -0
- package/boxclip/index.js +1076 -0
- package/boxclip/style/boxclip.css +1 -0
- package/boxclip/style/css.js +3 -0
- package/boxclip/style/index.js +3 -0
- package/comparemap/index.js +466 -0
- package/comparemap/style/comparemap.css +1 -0
- package/comparemap/style/css.js +3 -0
- package/comparemap/style/index.js +3 -0
- package/css.js +3 -0
- package/excavatefillanalysis/index.js +599 -0
- package/excavatefillanalysis/style/css.js +3 -0
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -0
- package/excavatefillanalysis/style/index.js +3 -0
- package/flight/index.js +963 -0
- package/flight/style/css.js +3 -0
- package/flight/style/flight.css +1 -0
- package/flight/style/index.js +3 -0
- package/floodanalysis/index.js +824 -0
- package/floodanalysis/style/css.js +3 -0
- package/floodanalysis/style/floodanalysis.css +1 -0
- package/floodanalysis/style/index.js +3 -0
- package/gpuspatialquery/index.js +906 -0
- package/gpuspatialquery/style/css.js +3 -0
- package/gpuspatialquery/style/gpuspatialquery.css +1 -0
- package/gpuspatialquery/style/index.js +3 -0
- package/hawkeye/index.js +239 -0
- package/index.js +19807 -0
- package/isolineanalysis/index.js +2476 -0
- package/isolineanalysis/style/css.js +3 -0
- package/isolineanalysis/style/index.js +3 -0
- package/isolineanalysis/style/isolineanalysis.css +1 -0
- package/measure/index.js +560 -0
- package/measure/style/css.js +3 -0
- package/measure/style/index.js +3 -0
- package/measure/style/measure.css +1 -0
- package/modelselect/index.js +375 -0
- package/modelselect/style/css.js +3 -0
- package/modelselect/style/index.js +3 -0
- package/modelselect/style/modelselect.css +1 -0
- package/package.json +1 -0
- package/particleeffect/index.js +1079 -0
- package/particleeffect/style/css.js +3 -0
- package/particleeffect/style/index.js +3 -0
- package/particleeffect/style/particleeffect.css +1 -0
- package/planeclip/index.js +738 -0
- package/planeclip/style/css.js +3 -0
- package/planeclip/style/index.js +3 -0
- package/planeclip/style/planeclip.css +1 -0
- package/profileanalysis/index.js +781 -0
- package/profileanalysis/style/css.js +3 -0
- package/profileanalysis/style/index.js +3 -0
- package/profileanalysis/style/profileanalysis.css +1 -0
- package/roller/index.js +537 -0
- package/roller/style/css.js +3 -0
- package/roller/style/index.js +3 -0
- package/roller/style/roller.css +1 -0
- package/scenceview/index.js +1775 -0
- package/scenceview/style/css.js +3 -0
- package/scenceview/style/index.js +3 -0
- package/scenceview/style/scenceview.css +1 -0
- package/screenshot/index.js +551 -0
- package/screenshot/style/css.js +3 -0
- package/screenshot/style/index.js +3 -0
- package/screenshot/style/screenshot.css +1 -0
- package/shadowanalysis/index.js +1042 -0
- package/shadowanalysis/style/css.js +3 -0
- package/shadowanalysis/style/index.js +3 -0
- package/shadowanalysis/style/shadowanalysis.css +1 -0
- package/sightlineanalysis/index.js +1100 -0
- package/sightlineanalysis/style/css.js +3 -0
- package/sightlineanalysis/style/divpoint.css +1 -0
- package/sightlineanalysis/style/index.js +3 -0
- package/sightlineanalysis/style/sightlineanalysis.css +1 -0
- package/skylineanalysis/index.js +771 -0
- package/skylineanalysis/style/css.js +3 -0
- package/skylineanalysis/style/index.js +3 -0
- package/skylineanalysis/style/skylineanalysis.css +1 -0
- package/slopeanalysis/index.js +1028 -0
- package/slopeanalysis/style/css.js +3 -0
- package/slopeanalysis/style/index.js +3 -0
- package/slopeanalysis/style/slopeanalysis.css +1 -0
- package/style.css +1 -0
- package/style.js +3 -0
- package/terrainoperation/index.js +508 -0
- package/terrainoperation/style/css.js +3 -0
- package/terrainoperation/style/index.js +3 -0
- package/terrainoperation/style/terrainoperation.css +1 -0
- package/viewshedanalysis/index.js +582 -0
- package/viewshedanalysis/style/css.js +3 -0
- package/viewshedanalysis/style/index.js +3 -0
- package/viewshedanalysis/style/viewshedanalysis.css +1 -0
- package/weathereffect/index.js +835 -0
- package/weathereffect/style/css.js +3 -0
- package/weathereffect/style/index.js +3 -0
- package/weathereffect/style/weathereffect.css +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--kq-box-padding:16px;--kq-header-bg-color:var(--kq-color-primary);--kq-header-border-color:var(--kq-color-primary)}.kq3d-gpu-spatial-query{z-index:999;width:332px;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq3d-gpu-spatial-query.shadow{-webkit-box-shadow:var(--kq-box-shadow);box-shadow:var(--kq-box-shadow)}.kq3d-gpu-spatial-query p{margin:0}.kq3d-gpu-spatial-query .kq-select{width:100%}.kq3d-gpu-spatial-query .kq-row{margin-bottom:5px;display:block}.kq3d-gpu-spatial-query .kq3d-gpu-spatial-query-span{color:var(--kq-text-color-regular)}.kq3d-gpu-spatial-query .kq3d-gpu-spatial-query-tip{color:var(--kq-text-color-regular);font-size:13px}.kq3d-gpu-spatial-query .kq3d-gpu-spatial-query-tip p{margin:5px 0}.kq3d-gpu-spatial-query .kq3d-gpu-spatial-query-set-title{margin:0}.kq3d-gpu-spatial-query .kq-collapse{border:unset}.kq3d-gpu-spatial-query .kq-collapse .kq-collapse-item__header{border:unset;height:38px;background-color:var(--kq-fill-color-light);font-weight:700;padding:0 16px;font-size:16px}.kq3d-gpu-spatial-query .kq-collapse .kq-collapse-item__arrow{margin:0 0 0 auto}.kq3d-gpu-spatial-query .kq-collapse .kq-collapse-item__wrap .kq-collapse-item__content{padding-bottom:unset;border:unset;padding-top:10px}.kq3d-gpu-spatial-query .kq-form-item{margin-bottom:0}.kq3d-gpu-spatial-query .kq-form-item__content{text-align:end;display:block}.kq3d-gpu-spatial-query .kq-slider{width:90%}.kq3d-gpu-spatial-query .kq-slider .kq-slider__button{width:14px;height:14px}.kq3d-gpu-spatial-query .kq-input-number{width:65px}.kq3d-gpu-spatial-query .kq-input-number .kq-input-number__decrease,.kq3d-gpu-spatial-query .kq-input-number .kq-input-number__increase{width:20px}.kq3d-gpu-spatial-query .kq-input-number .kq-input__wrapper{padding-left:0;padding-right:20px}.kq3d-gpu-spatial-query .kq3d-gpu-spatial-query-footer{float:right;padding:16px 0}
|
package/hawkeye/index.js
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
/******/ (function() { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ // The require scope
|
|
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__);
|
|
51
|
+
|
|
52
|
+
// EXPORTS
|
|
53
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
+
"HawkeyeViewModel": function() { return /* reexport */ HawkeyeViewModel; },
|
|
55
|
+
"default": function() { return /* reexport */ Hawkeye; }
|
|
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 "@zpc_npm/vue-iclient-common/_utils/gis-utils"
|
|
61
|
+
var gis_utils_namespaceObject = require("@zpc_npm/vue-iclient-common/_utils/gis-utils");
|
|
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
|
+
}
|
|
74
|
+
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
;// CONCATENATED MODULE: ./src/webgl/hawkeye/HawkeyeViewModel.js
|
|
78
|
+
|
|
79
|
+
//鹰眼逻辑类
|
|
80
|
+
class HawkeyeViewModel {
|
|
81
|
+
constructor(scenceView, options) {
|
|
82
|
+
_defineProperty(this, "_overviewMap", null);
|
|
83
|
+
|
|
84
|
+
options.viewer = scenceView._viewer;
|
|
85
|
+
options.centerRectColor = Cesium.Color.fromCssColorString(options.centerColor || "#0000ff").withAlpha(options.centerColorAlpha || 0.5);
|
|
86
|
+
this.init(options);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
init(options) {
|
|
90
|
+
if (!options.layers) {
|
|
91
|
+
// let layers = [];
|
|
92
|
+
// options.viewer.imageryLayers._layers.forEach(function (layer) {
|
|
93
|
+
// layers.push(layer._imageryProvider);
|
|
94
|
+
// });
|
|
95
|
+
// options.layers = layers;
|
|
96
|
+
options.layers = new Cesium.Kq3dArcGISMapServerImageryProvider({
|
|
97
|
+
url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
this._overviewMap = new Cesium.Kq3dOverviewMap(options);
|
|
102
|
+
} //显示
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
show() {
|
|
106
|
+
this._overviewMap.show = true;
|
|
107
|
+
} //隐藏
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
hide() {
|
|
111
|
+
this._overviewMap.show = false;
|
|
112
|
+
} //销毁
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
destroy() {
|
|
116
|
+
this._overviewMap.destroy();
|
|
117
|
+
|
|
118
|
+
this._overviewMap = null;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
}
|
|
122
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
const __default__ = {
|
|
127
|
+
name: "Kq3dHawkeye"
|
|
128
|
+
};
|
|
129
|
+
/* harmony default export */ var Hawkeyevue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
130
|
+
props: {
|
|
131
|
+
//指定组件绑定的viewer对象的div的id
|
|
132
|
+
mapTarget: String,
|
|
133
|
+
show: {
|
|
134
|
+
type: Boolean,
|
|
135
|
+
default: true
|
|
136
|
+
},
|
|
137
|
+
width: {
|
|
138
|
+
type: Number,
|
|
139
|
+
default: 300
|
|
140
|
+
},
|
|
141
|
+
height: {
|
|
142
|
+
type: Number,
|
|
143
|
+
default: 200
|
|
144
|
+
},
|
|
145
|
+
top: Number,
|
|
146
|
+
left: Number,
|
|
147
|
+
bottom: {
|
|
148
|
+
type: Number,
|
|
149
|
+
default: 15
|
|
150
|
+
},
|
|
151
|
+
right: {
|
|
152
|
+
type: Number,
|
|
153
|
+
default: 15
|
|
154
|
+
},
|
|
155
|
+
centerColor: {
|
|
156
|
+
type: String,
|
|
157
|
+
default: "#0000ff"
|
|
158
|
+
},
|
|
159
|
+
centerColorAlpha: {
|
|
160
|
+
type: Number,
|
|
161
|
+
default: 0.5
|
|
162
|
+
},
|
|
163
|
+
layers: Array
|
|
164
|
+
},
|
|
165
|
+
|
|
166
|
+
setup(__props, {
|
|
167
|
+
expose
|
|
168
|
+
}) {
|
|
169
|
+
const props = __props;
|
|
170
|
+
let viewModel = null; // 获取组件传参
|
|
171
|
+
|
|
172
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
173
|
+
//父组件ScenceView初始化完成后执行
|
|
174
|
+
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
175
|
+
if (scenceView) {
|
|
176
|
+
let options = {
|
|
177
|
+
show: props.show,
|
|
178
|
+
width: props.width,
|
|
179
|
+
height: props.height,
|
|
180
|
+
bottom: props.bottom,
|
|
181
|
+
right: props.right,
|
|
182
|
+
zIndex: 9999,
|
|
183
|
+
centerColor: props.centerColor,
|
|
184
|
+
centerColorAlpha: props.centerColorAlpha,
|
|
185
|
+
layers: props.layers
|
|
186
|
+
};
|
|
187
|
+
viewModel = new HawkeyeViewModel(scenceView, options);
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
function show() {
|
|
193
|
+
viewModel && viewModel.show();
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function hide() {
|
|
197
|
+
viewModel && viewModel.hide();
|
|
198
|
+
} // 销毁
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeUnmount)(() => {
|
|
202
|
+
viewModel && viewModel.destroy();
|
|
203
|
+
});
|
|
204
|
+
expose({
|
|
205
|
+
show,
|
|
206
|
+
hide
|
|
207
|
+
});
|
|
208
|
+
return (_ctx, _cache) => {
|
|
209
|
+
return null;
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
}));
|
|
214
|
+
;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
|
|
215
|
+
|
|
216
|
+
;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
const __exports__ = Hawkeyevue_type_script_setup_true_lang_js;
|
|
221
|
+
|
|
222
|
+
/* harmony default export */ var Hawkeye = (__exports__);
|
|
223
|
+
;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/init.js"
|
|
224
|
+
var init_js_namespaceObject = require("@zpc_npm/vue-iclient-common/init.js");
|
|
225
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
226
|
+
;// CONCATENATED MODULE: ./src/webgl/hawkeye/index.js
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
Hawkeye.install = (Vue, opts) => {
|
|
232
|
+
init_js_default()(Vue, opts);
|
|
233
|
+
Vue.component(Hawkeye.name, Hawkeye);
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
module.exports = __webpack_exports__;
|
|
238
|
+
/******/ })()
|
|
239
|
+
;
|