gis-map-universal 0.7.1 → 0.7.2
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/gismap.umd.js +86 -76
- package/package.json +1 -1
package/gismap.umd.js
CHANGED
|
@@ -503,6 +503,22 @@ function __disposeResources(env) {
|
|
|
503
503
|
});
|
|
504
504
|
|
|
505
505
|
|
|
506
|
+
/***/ }),
|
|
507
|
+
|
|
508
|
+
/***/ "00ed":
|
|
509
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
510
|
+
|
|
511
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
512
|
+
|
|
513
|
+
// load the styles
|
|
514
|
+
var content = __webpack_require__("1d30");
|
|
515
|
+
if(content.__esModule) content = content.default;
|
|
516
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
517
|
+
if(content.locals) module.exports = content.locals;
|
|
518
|
+
// add the styles to the DOM
|
|
519
|
+
var add = __webpack_require__("499e").default
|
|
520
|
+
var update = add("b45ba8a4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
521
|
+
|
|
506
522
|
/***/ }),
|
|
507
523
|
|
|
508
524
|
/***/ "00ee":
|
|
@@ -24952,6 +24968,20 @@ function bind(fn, thisArg) {
|
|
|
24952
24968
|
}
|
|
24953
24969
|
|
|
24954
24970
|
|
|
24971
|
+
/***/ }),
|
|
24972
|
+
|
|
24973
|
+
/***/ "1d30":
|
|
24974
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24975
|
+
|
|
24976
|
+
// Imports
|
|
24977
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
24978
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
24979
|
+
// Module
|
|
24980
|
+
exports.push([module.i, "#map[data-v-9249662e]{width:100%;height:var(--height);background-color:transparent!important}.popupBox[data-v-9249662e]{height:auto;width:auto;animation:fadenum .6s ease;box-shadow:0 0 8px #000;border:1.7px solid #1b9bba;position:absolute}#popupHeader[data-v-9249662e]{height:35px;line-height:35px;background:linear-gradient(90deg,#237d9a,#074055)}#popupHeaderTitle[data-v-9249662e]{float:left;margin:0 0 0 7px;color:#fff;font-size:16px;font-weight:600;text-shadow:0 0 1px;letter-spacing:1.5px}#closePopup[data-v-9249662e]{height:25px;width:25px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAFqADAAQAAAABAAAAFgAAAAA/6RFgAAACAklEQVQ4EdVVuU5bQRQ91xBMDaKkSkgPwtjQ0ZAiBT38AmKRMCAhsUkUZhEKEr+QniJ1EI1xIM4HQEeJoDbrcO6MH2/m8RywQgquNJp3t+O7zTXw3kj+GvAv0w2DMdp85fnE08lzyXPG8wOC7xiQc34/o3TgU5PFFdYIOkmP9mdesaBG8F10YAk9ch2LQXGSqqYLt9gn6GBS1ZAXlPEBo+iTi8gmBHaR/mwKNEYqM/LhKPJMJLe3S//1kfrOmqH61ykG1kYBU5HC3oIc72IgixjBCgs5FLH21p44HMTAwDhLkA0MgREUZItW04FcsIC8rNI+H8i10W6KPOAHO1KhncE6jswsR+obFTNWKZgjaAkVM0F+J3SwnI4mWp8Ugo/8tTTaZHqG4Ns4MYfolyr5STxAfyyNdN69cauYawK3pVlaWQv6kJM/ODa9uEe1oZ3ghhll/Rrri0qnDJuqoCfGgWcwm25opRbHB9ZnmkYTLMMua1rEHX6z5tO2LI2mxT13r3n69pOk01CQPdZ0gWXaqKt3yE/ZaREsJl3IW5z45bmFc0qAeOTcnH6hbDkFoMgOHVB37OlqDPUzMzqPgVVbMSUaznmGzX0Ks8rLvDqFwP9tV+jq0y2l26oZirabtzr9qXBQuvp0S2laQO0FfN3HG9beW5nqE5YiifIP/yBJqDfjHwFTdJhmYEehHgAAAABJRU5ErkJggg==) 50% no-repeat;background-size:100% 100%;float:right;margin:2px;cursor:pointer}#popupContent[data-v-9249662e]{color:#fff;text-align:left;padding:0 5px 5px 5px;font-size:14px;width:100%;box-sizing:border-box;overflow:hidden;background-color:rgba(6,63,84,.8)}#popupContent[data-v-9249662e]:hover{overflow:overlay}#popupContent[data-v-9249662e]::-webkit-scrollbar{width:6px}#popupContent[data-v-9249662e]::-webkit-scrollbar-track{background-color:#477dd0;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.1);border-radius:6px}#popupContent[data-v-9249662e]::-webkit-scrollbar-thumb{background:rgba(14,56,84,.8509803921568627);border-radius:6px}.radarSlider[data-v-9249662e]{height:10%;width:90%;z-index:999;margin-left:3%}.radarButton[data-v-9249662e]{z-index:999;padding:2px 4px;font-size:14px;color:#fff;background:linear-gradient(180deg,#39a3c4,#065572);border:1px solid #39a3c4;border-radius:3px;cursor:pointer}.radarControlBox[data-v-9249662e]{position:absolute;display:flex;align-items:center;justify-content:center;width:40%;height:auto;bottom:var(--bottom);right:var(--right)}.radarSliderTooltip[data-v-9249662e]{background-color:rgba(70,189,226,.8)!important}", ""]);
|
|
24981
|
+
// Exports
|
|
24982
|
+
module.exports = exports;
|
|
24983
|
+
|
|
24984
|
+
|
|
24955
24985
|
/***/ }),
|
|
24956
24986
|
|
|
24957
24987
|
/***/ "1d7c":
|
|
@@ -73699,17 +73729,6 @@ module.exports = function (argument) {
|
|
|
73699
73729
|
};
|
|
73700
73730
|
|
|
73701
73731
|
|
|
73702
|
-
/***/ }),
|
|
73703
|
-
|
|
73704
|
-
/***/ "3bc6":
|
|
73705
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
73706
|
-
|
|
73707
|
-
"use strict";
|
|
73708
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_d8799310_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9916");
|
|
73709
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_d8799310_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_d8799310_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
73710
|
-
/* unused harmony reexport * */
|
|
73711
|
-
|
|
73712
|
-
|
|
73713
73732
|
/***/ }),
|
|
73714
73733
|
|
|
73715
73734
|
/***/ "3c0e":
|
|
@@ -75472,6 +75491,17 @@ module.exports = !fails(function () {
|
|
|
75472
75491
|
});
|
|
75473
75492
|
|
|
75474
75493
|
|
|
75494
|
+
/***/ }),
|
|
75495
|
+
|
|
75496
|
+
/***/ "40ea":
|
|
75497
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
75498
|
+
|
|
75499
|
+
"use strict";
|
|
75500
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_9249662e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("00ed");
|
|
75501
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_9249662e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_9249662e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
75502
|
+
/* unused harmony reexport * */
|
|
75503
|
+
|
|
75504
|
+
|
|
75475
75505
|
/***/ }),
|
|
75476
75506
|
|
|
75477
75507
|
/***/ "4105":
|
|
@@ -133720,22 +133750,6 @@ exports.findAllPath = findAllPath;
|
|
|
133720
133750
|
|
|
133721
133751
|
/***/ }),
|
|
133722
133752
|
|
|
133723
|
-
/***/ "9916":
|
|
133724
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
133725
|
-
|
|
133726
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
133727
|
-
|
|
133728
|
-
// load the styles
|
|
133729
|
-
var content = __webpack_require__("e28a");
|
|
133730
|
-
if(content.__esModule) content = content.default;
|
|
133731
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
133732
|
-
if(content.locals) module.exports = content.locals;
|
|
133733
|
-
// add the styles to the DOM
|
|
133734
|
-
var add = __webpack_require__("499e").default
|
|
133735
|
-
var update = add("4538040c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
133736
|
-
|
|
133737
|
-
/***/ }),
|
|
133738
|
-
|
|
133739
133753
|
/***/ "99d3":
|
|
133740
133754
|
/***/ (function(module, exports, __webpack_require__) {
|
|
133741
133755
|
|
|
@@ -173717,20 +173731,6 @@ var BaseObject = /** @class */ (function (_super) {
|
|
|
173717
173731
|
/* harmony default export */ __webpack_exports__["a"] = (BaseObject);
|
|
173718
173732
|
//# sourceMappingURL=Object.js.map
|
|
173719
173733
|
|
|
173720
|
-
/***/ }),
|
|
173721
|
-
|
|
173722
|
-
/***/ "e28a":
|
|
173723
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
173724
|
-
|
|
173725
|
-
// Imports
|
|
173726
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
173727
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
173728
|
-
// Module
|
|
173729
|
-
exports.push([module.i, "#map[data-v-d8799310]{width:100%;height:var(--height);background-color:transparent!important}.popupBox[data-v-d8799310]{height:auto;width:auto;animation:fadenum .6s ease;box-shadow:0 0 8px #000;border:1.7px solid #1b9bba;position:absolute}#popupHeader[data-v-d8799310]{height:35px;line-height:35px;background:linear-gradient(90deg,#237d9a,#074055)}#popupHeaderTitle[data-v-d8799310]{float:left;margin:0 0 0 7px;color:#fff;font-size:16px;font-weight:600;text-shadow:0 0 1px;letter-spacing:1.5px}#closePopup[data-v-d8799310]{height:25px;width:25px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAFqADAAQAAAABAAAAFgAAAAA/6RFgAAACAklEQVQ4EdVVuU5bQRQ91xBMDaKkSkgPwtjQ0ZAiBT38AmKRMCAhsUkUZhEKEr+QniJ1EI1xIM4HQEeJoDbrcO6MH2/m8RywQgquNJp3t+O7zTXw3kj+GvAv0w2DMdp85fnE08lzyXPG8wOC7xiQc34/o3TgU5PFFdYIOkmP9mdesaBG8F10YAk9ch2LQXGSqqYLt9gn6GBS1ZAXlPEBo+iTi8gmBHaR/mwKNEYqM/LhKPJMJLe3S//1kfrOmqH61ykG1kYBU5HC3oIc72IgixjBCgs5FLH21p44HMTAwDhLkA0MgREUZItW04FcsIC8rNI+H8i10W6KPOAHO1KhncE6jswsR+obFTNWKZgjaAkVM0F+J3SwnI4mWp8Ugo/8tTTaZHqG4Ns4MYfolyr5STxAfyyNdN69cauYawK3pVlaWQv6kJM/ODa9uEe1oZ3ghhll/Rrri0qnDJuqoCfGgWcwm25opRbHB9ZnmkYTLMMua1rEHX6z5tO2LI2mxT13r3n69pOk01CQPdZ0gWXaqKt3yE/ZaREsJl3IW5z45bmFc0qAeOTcnH6hbDkFoMgOHVB37OlqDPUzMzqPgVVbMSUaznmGzX0Ks8rLvDqFwP9tV+jq0y2l26oZirabtzr9qXBQuvp0S2laQO0FfN3HG9beW5nqE5YiifIP/yBJqDfjHwFTdJhmYEehHgAAAABJRU5ErkJggg==) 50% no-repeat;background-size:100% 100%;float:right;margin:2px;cursor:pointer}#popupContent[data-v-d8799310]{color:#fff;text-align:left;padding:0 5px 5px 5px;font-size:14px;width:100%;box-sizing:border-box;overflow:hidden;background-color:rgba(6,63,84,.8)}#popupContent[data-v-d8799310]:hover{overflow:overlay}#popupContent[data-v-d8799310]::-webkit-scrollbar{width:6px}#popupContent[data-v-d8799310]::-webkit-scrollbar-track{background-color:#477dd0;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.1);border-radius:6px}#popupContent[data-v-d8799310]::-webkit-scrollbar-thumb{background:rgba(14,56,84,.8509803921568627);border-radius:6px}.radarSlider[data-v-d8799310]{height:10%;width:90%;z-index:999;margin-left:3%}.radarButton[data-v-d8799310]{z-index:999;padding:2px 4px;font-size:14px;color:#fff;background:linear-gradient(180deg,#39a3c4,#065572);border:1px solid #39a3c4;border-radius:3px;cursor:pointer}.radarControlBox[data-v-d8799310]{position:absolute;display:flex;align-items:center;justify-content:center;width:40%;height:auto;bottom:var(--bottom);right:var(--right)}.radarSliderTooltip[data-v-d8799310]{background-color:rgba(70,189,226,.8)!important}", ""]);
|
|
173730
|
-
// Exports
|
|
173731
|
-
module.exports = exports;
|
|
173732
|
-
|
|
173733
|
-
|
|
173734
173734
|
/***/ }),
|
|
173735
173735
|
|
|
173736
173736
|
/***/ "e300":
|
|
@@ -184300,13 +184300,13 @@ if (typeof window !== 'undefined') {
|
|
|
184300
184300
|
// Indicate to webpack that this file can be concatenated
|
|
184301
184301
|
/* harmony default export */ var setPublicPath = (null);
|
|
184302
184302
|
|
|
184303
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2aae4a4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap2d/src/index.vue?vue&type=template&id=
|
|
184303
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e2aae4a4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap2d/src/index.vue?vue&type=template&id=9249662e&scoped=true
|
|
184304
184304
|
var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{style:({ '--height': _vm.mapBoxHeight }),attrs:{"id":"map"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shopPopup),expression:"shopPopup"}],ref:"popup",staticClass:"popupBox"},[_c('div',{attrs:{"id":"popupHeader"}},[_c('div',{attrs:{"id":"popupHeaderTitle"}},[_vm._v("详细信息")]),_c('div',{attrs:{"id":"closePopup"},on:{"click":_vm.closePopup}})]),_c('div',{attrs:{"id":"popupContent"}},[_c(_vm.currentTabComponent,{ref:"infoWindowRef",tag:"component",attrs:{"popupAttr":_vm.popupAttributes},on:{"clickPointEvent":_vm.clickPointEvent}})],1)]),(_vm.map)?_c('measureTool',{ref:"measureTool",attrs:{"map":_vm.map,"widgetBoxTop":_vm.widgetBoxTop,"widgetBoxRight":_vm.widgetBoxRight,"widgetBoxDisplay":_vm.widgetBoxDisplay},on:{"updateValue":_vm.measuredrawChange}}):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isRadarShow),expression:"isRadarShow"}],staticClass:"radarControlBox",style:({ '--bottom': _vm.radarSliderBottom, '--right': _vm.radarSliderRight })},[_c('button',{staticClass:"radarButton",on:{"click":_vm.togglePlayback}},[_vm._v(" "+_vm._s(_vm.playIcon)+" ")]),_c('el-slider',{ref:"slider",staticClass:"radarSlider",attrs:{"min":_vm.minValue,"max":_vm.maxValue,"show-stops":"","show-tooltip":_vm.tooltipIsShow,"tooltip-class":"radarSliderTooltip","marks":_vm.marks,"format-tooltip":_vm.formatTooltip},on:{"input":_vm.handleSliderChange},model:{value:(_vm.sliderValue),callback:function ($$v) {_vm.sliderValue=$$v},expression:"sliderValue"}})],1)],1)
|
|
184305
184305
|
}
|
|
184306
184306
|
var staticRenderFns = []
|
|
184307
184307
|
|
|
184308
184308
|
|
|
184309
|
-
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=template&id=
|
|
184309
|
+
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=template&id=9249662e&scoped=true
|
|
184310
184310
|
|
|
184311
184311
|
// EXTERNAL MODULE: ./node_modules/ol/Map.js + 2 modules
|
|
184312
184312
|
var ol_Map = __webpack_require__("5eee");
|
|
@@ -458921,7 +458921,7 @@ var LatlonPick_component = normalizeComponent(
|
|
|
458921
458921
|
if (feature.getProperties().features) {
|
|
458922
458922
|
if (feature.getProperties().features.length > 1) {
|
|
458923
458923
|
const features = feature.getProperties().features;
|
|
458924
|
-
if (this.map.getView().getZoom() >=
|
|
458924
|
+
if (this.map.getView().getZoom() >= 17) {
|
|
458925
458925
|
this.popupHeight = 280;
|
|
458926
458926
|
this.popupWidth = 400;
|
|
458927
458927
|
this.currentTabComponent = ClusterList;
|
|
@@ -459064,7 +459064,7 @@ var LatlonPick_component = normalizeComponent(
|
|
|
459064
459064
|
}
|
|
459065
459065
|
});
|
|
459066
459066
|
this.map.getView().on("change", (event) => {
|
|
459067
|
-
if (this.map.getView().getZoom() <
|
|
459067
|
+
if (this.map.getView().getZoom() < 17) {
|
|
459068
459068
|
let popupBS = this.overlayPopup.get("popupBS");
|
|
459069
459069
|
if (popupBS === "clusterList") {
|
|
459070
459070
|
this.closePopup();
|
|
@@ -459501,9 +459501,9 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
459501
459501
|
});
|
|
459502
459502
|
},
|
|
459503
459503
|
addPointByArr(pointsObj, id, isCluster) {
|
|
459504
|
-
this.gongganTextLayerList = []
|
|
459505
|
-
this.sourceWithoutTextList = []
|
|
459506
|
-
this.sourceWithTextList = []
|
|
459504
|
+
this.gongganTextLayerList = [];
|
|
459505
|
+
this.sourceWithoutTextList = [];
|
|
459506
|
+
this.sourceWithTextList = [];
|
|
459507
459507
|
let that = this;
|
|
459508
459508
|
this.isCluster = isCluster;
|
|
459509
459509
|
let arry = this.map.getLayers().getArray();
|
|
@@ -459517,16 +459517,27 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
459517
459517
|
}
|
|
459518
459518
|
let sourceWithoutText = new source_Vector["default"]();
|
|
459519
459519
|
let sourceWithText = new source_Vector["default"]();
|
|
459520
|
-
let gongganTextLayer =
|
|
459521
|
-
|
|
459522
|
-
|
|
459523
|
-
|
|
459524
|
-
|
|
459525
|
-
|
|
459526
|
-
|
|
459520
|
+
let gongganTextLayer = null;
|
|
459521
|
+
for (let i = 0; i < arry.length; i++) {
|
|
459522
|
+
let layer = arry[i];
|
|
459523
|
+
if (layer.get("layerName") === id + "_Text") {
|
|
459524
|
+
gongganTextLayer = layer;
|
|
459525
|
+
break
|
|
459526
|
+
}
|
|
459527
|
+
}
|
|
459528
|
+
if(!gongganTextLayer){
|
|
459529
|
+
gongganTextLayer = new layer_Vector["default"]({
|
|
459530
|
+
layerName: id + "_Text",
|
|
459531
|
+
zIndex: 888,
|
|
459532
|
+
// minZoom: 17.9999,
|
|
459533
|
+
minZoom: 17,
|
|
459534
|
+
visible: false,
|
|
459535
|
+
});
|
|
459536
|
+
// gongganTextLayer.set("isvis", false);
|
|
459537
|
+
this.gongganTextLayerList.push(gongganTextLayer);
|
|
459538
|
+
this.map.addLayer(gongganTextLayer);
|
|
459539
|
+
}
|
|
459527
459540
|
let gongganTextSource = new source_Vector["default"]();
|
|
459528
|
-
this.gongganTextLayerList.push(gongganTextLayer);
|
|
459529
|
-
this.map.addLayer(gongganTextLayer);
|
|
459530
459541
|
pointsObj.pointList.forEach((data) => {
|
|
459531
459542
|
let feature = new ol_Feature["a" /* default */]({
|
|
459532
459543
|
title: "要素点",
|
|
@@ -459702,7 +459713,7 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
459702
459713
|
text: size.toString(),
|
|
459703
459714
|
}),
|
|
459704
459715
|
});
|
|
459705
|
-
if (that.map.getView().getZoom() <
|
|
459716
|
+
if (that.map.getView().getZoom() < 17) {
|
|
459706
459717
|
return circleStyle;
|
|
459707
459718
|
} else {
|
|
459708
459719
|
let bz = 1;
|
|
@@ -459790,10 +459801,10 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
459790
459801
|
if (this.findLayerByName(layerName + "_Text")) {
|
|
459791
459802
|
this.findLayerByName(layerName + "_Text").setVisible(false);
|
|
459792
459803
|
}
|
|
459793
|
-
this.gongganTextLayerList.forEach(e => {
|
|
459794
|
-
if (e.getProperties().layerName === layerName+"_Text") {
|
|
459795
|
-
e.set("isvis", false)
|
|
459796
|
-
e.setVisible(false)
|
|
459804
|
+
this.gongganTextLayerList.forEach((e) => {
|
|
459805
|
+
if (e.getProperties().layerName === layerName + "_Text") {
|
|
459806
|
+
// e.set("isvis", false);
|
|
459807
|
+
e.setVisible(false);
|
|
459797
459808
|
}
|
|
459798
459809
|
});
|
|
459799
459810
|
this.closePopup();
|
|
@@ -459841,13 +459852,13 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
459841
459852
|
});
|
|
459842
459853
|
this.findLayerByName(layerName).setSource(newclusterSource);
|
|
459843
459854
|
this.findLayerByName(layerName + "_Text").setVisible(false);
|
|
459844
|
-
this.gongganTextLayerList.forEach(e => {
|
|
459845
|
-
if (e.getProperties().layerName === layerName+"_Text") {
|
|
459846
|
-
e.set("isvis", false)
|
|
459847
|
-
e.setVisible(false)
|
|
459855
|
+
this.gongganTextLayerList.forEach((e) => {
|
|
459856
|
+
if (e.getProperties().layerName === layerName + "_Text") {
|
|
459857
|
+
// e.set("isvis", false);
|
|
459858
|
+
e.setVisible(false);
|
|
459848
459859
|
}
|
|
459849
459860
|
});
|
|
459850
|
-
this.gongganTextLayerShow = false;
|
|
459861
|
+
// this.gongganTextLayerShow = false;
|
|
459851
459862
|
} else {
|
|
459852
459863
|
const newclusterSource = new source_Cluster({
|
|
459853
459864
|
distance: 50,
|
|
@@ -459856,13 +459867,13 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
459856
459867
|
});
|
|
459857
459868
|
this.findLayerByName(layerName).setSource(newclusterSource);
|
|
459858
459869
|
this.findLayerByName(layerName + "_Text").setVisible(true);
|
|
459859
|
-
this.gongganTextLayerList.forEach(e => {
|
|
459860
|
-
if (e.getProperties().layerName === layerName+"_Text")
|
|
459861
|
-
e.set("isvis", true)
|
|
459862
|
-
e.setVisible(true)
|
|
459870
|
+
this.gongganTextLayerList.forEach((e) => {
|
|
459871
|
+
if (e.getProperties().layerName === layerName + "_Text") {
|
|
459872
|
+
// e.set("isvis", true);
|
|
459873
|
+
e.setVisible(true);
|
|
459863
459874
|
}
|
|
459864
459875
|
});
|
|
459865
|
-
this.gongganTextLayerShow = true;
|
|
459876
|
+
// this.gongganTextLayerShow = true;
|
|
459866
459877
|
}
|
|
459867
459878
|
} else {
|
|
459868
459879
|
if (!isShow) {
|
|
@@ -460072,7 +460083,6 @@ function getRadarImg() {
|
|
|
460072
460083
|
this.isRadarShow = true;
|
|
460073
460084
|
this.tooltipIsShow = true;
|
|
460074
460085
|
this.txtArr = res.data;
|
|
460075
|
-
debugger
|
|
460076
460086
|
this.maxValue = res.data.length - 1;
|
|
460077
460087
|
this.$refs.slider.setPosition(0);
|
|
460078
460088
|
this.marks = {};
|
|
@@ -460158,8 +460168,8 @@ function getRadarImg() {
|
|
|
460158
460168
|
|
|
460159
460169
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=script&lang=js
|
|
460160
460170
|
/* harmony default export */ var gisMap2d_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
460161
|
-
// EXTERNAL MODULE: ./packages/gisMap2d/src/index.vue?vue&type=style&index=0&id=
|
|
460162
|
-
var
|
|
460171
|
+
// EXTERNAL MODULE: ./packages/gisMap2d/src/index.vue?vue&type=style&index=0&id=9249662e&prod&scoped=true&lang=css
|
|
460172
|
+
var srcvue_type_style_index_0_id_9249662e_prod_scoped_true_lang_css = __webpack_require__("40ea");
|
|
460163
460173
|
|
|
460164
460174
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue
|
|
460165
460175
|
|
|
@@ -460176,7 +460186,7 @@ var src_component = normalizeComponent(
|
|
|
460176
460186
|
staticRenderFns,
|
|
460177
460187
|
false,
|
|
460178
460188
|
null,
|
|
460179
|
-
"
|
|
460189
|
+
"9249662e",
|
|
460180
460190
|
null
|
|
460181
460191
|
|
|
460182
460192
|
)
|