gis-map-universal 0.3.6 → 0.3.7

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 CHANGED
@@ -24138,13 +24138,6 @@ module.exports.f = function getOwnPropertyNames(it) {
24138
24138
 
24139
24139
  /***/ }),
24140
24140
 
24141
- /***/ "1845":
24142
- /***/ (function(module, exports, __webpack_require__) {
24143
-
24144
- module.exports = __webpack_require__.p + "fonts/YouSheBiaoTiHei-2.1726685c.ttf";
24145
-
24146
- /***/ }),
24147
-
24148
24141
  /***/ "18d5":
24149
24142
  /***/ (function(module, exports, __webpack_require__) {
24150
24143
 
@@ -73234,23 +73227,6 @@ var RegularShape = /** @class */ (function (_super) {
73234
73227
  /* harmony default export */ __webpack_exports__["a"] = (RegularShape);
73235
73228
  //# sourceMappingURL=RegularShape.js.map
73236
73229
 
73237
- /***/ }),
73238
-
73239
- /***/ "35e6":
73240
- /***/ (function(module, exports, __webpack_require__) {
73241
-
73242
- // Imports
73243
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
73244
- var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__("1de5");
73245
- var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__("1845");
73246
- exports = ___CSS_LOADER_API_IMPORT___(false);
73247
- var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
73248
- // Module
73249
- exports.push([module.i, "@font-face{font-family:TSPBiaoTiHei;src:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ")}#map{width:100%;height:var(--height);background:linear-gradient(90deg,#1b2639 40%,#183157 60%)}.popupBox{height:auto;width:auto;animation:fadenum .6s ease;box-shadow:0 0 8px #000;border:1.7px solid #1b9bba;position:absolute}#popupHeader{height:25px;line-height:25px;background:linear-gradient(90deg,#237d9a,#074055)}#popupHeaderTitle{float:left;margin:0 0 0 7px;color:#fff;font-size:14px;font-weight:600;text-shadow:0 0 1px;letter-spacing:1.5px}#closePopup{height:20px;width:20px;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:0 2px;cursor:pointer}#popupContent{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:hover{overflow:overlay}#popupContent::-webkit-scrollbar{width:6px}#popupContent::-webkit-scrollbar-track{background-color:#477dd0;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.1);border-radius:6px}#popupContent::-webkit-scrollbar-thumb{background:rgba(14,56,84,.8509803921568627);border-radius:6px}.check-box{width:48%;height:8%;position:absolute;bottom:var(--bottom);right:var(--right)}.check-box .tabGroupClass{text-align:left}.check-box .is-active{line-height:30px;height:30px;color:#fff;font-family:TSPBiaoTiHei;background:linear-gradient(toRight,#1762f7,#389aff)!important}.check-box .el-tabs__item{background-image:linear-gradient(#0465c0,#042452);line-height:30px}.check-box .el-tabs__header{margin:0!important}.check-box .el-tabs–card>.el-tabs__header .el-tabs__nav{margin:0;display:flex;justify-content:space-around;border-radius:0;border:none;background-color:transparent}.check-box .el-tabs__nav{width:100%;display:flex;justify-content:left;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.check-box .el-tabs__item{width:80px;height:30px;padding:0;font-family:TSPBiaoTiHei;font-size:18px;color:#fff;margin-right:5px;text-align:center;background:linear-gradient(#0465c0,#042352);border:1px solid #0465c0}.check-box .el-tabs__item :before{position:absolute;content:\"\";width:10px;height:10px;left:-6px;top:-7px;z-index:100;background-color:#010d2d;transform:rotate(-45deg);border-bottom:1px solid #93b8e3}.check-box .el-tabs__item .is-active{background:linear-gradient(90deg,#1762f8,#399aff)}.check-box .el-tabs__active-bar{display:none}.check-box .el-tabs__content{height:38px;padding:15px 10px 0 10px;font-size:12px;border:2px solid #0061b5;z-index:3}.check-box .el-tabs__nav-wrap:after{display:none!important}.check-box .el-checkbox__label{font-size:14px;color:#fff}.check-box .el-checkbox__inner{width:16px;height:16px;border:2px solid #0169c8;border-radius:0;background-color:transparent}.check-box .el-checkbox__input .is-checked .el-checkbox__inner{background-color:#0169c8;border:none}.check-box .el-checkbox__input .is-checked .el-checkbox__inner:after{height:10px;left:5px;width:5px}.check-box .is-checked{color:#fff!important}", ""]);
73250
- // Exports
73251
- module.exports = exports;
73252
-
73253
-
73254
73230
  /***/ }),
73255
73231
 
73256
73232
  /***/ "366b":
@@ -88308,6 +88284,22 @@ exports.default = _default;
88308
88284
 
88309
88285
  /***/ }),
88310
88286
 
88287
+ /***/ "51e2":
88288
+ /***/ (function(module, exports, __webpack_require__) {
88289
+
88290
+ // style-loader: Adds some css to the DOM by adding a <style> tag
88291
+
88292
+ // load the styles
88293
+ var content = __webpack_require__("bcb3");
88294
+ if(content.__esModule) content = content.default;
88295
+ if(typeof content === 'string') content = [[module.i, content, '']];
88296
+ if(content.locals) module.exports = content.locals;
88297
+ // add the styles to the DOM
88298
+ var add = __webpack_require__("499e").default
88299
+ var update = add("4bcde824", content, true, {"sourceMap":false,"shadowMode":false});
88300
+
88301
+ /***/ }),
88302
+
88311
88303
  /***/ "521b":
88312
88304
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
88313
88305
 
@@ -89415,22 +89407,6 @@ var core = module.exports = { version: '2.6.12' };
89415
89407
  if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
89416
89408
 
89417
89409
 
89418
- /***/ }),
89419
-
89420
- /***/ "5555":
89421
- /***/ (function(module, exports, __webpack_require__) {
89422
-
89423
- // style-loader: Adds some css to the DOM by adding a <style> tag
89424
-
89425
- // load the styles
89426
- var content = __webpack_require__("35e6");
89427
- if(content.__esModule) content = content.default;
89428
- if(typeof content === 'string') content = [[module.i, content, '']];
89429
- if(content.locals) module.exports = content.locals;
89430
- // add the styles to the DOM
89431
- var add = __webpack_require__("499e").default
89432
- var update = add("145cda5a", content, true, {"sourceMap":false,"shadowMode":false});
89433
-
89434
89410
  /***/ }),
89435
89411
 
89436
89412
  /***/ "5564":
@@ -173042,17 +173018,6 @@ var ComboCombinedLayout = /** @class */ (function (_super) {
173042
173018
  exports.ComboCombinedLayout = ComboCombinedLayout;
173043
173019
  //# sourceMappingURL=comboCombined.js.map
173044
173020
 
173045
- /***/ }),
173046
-
173047
- /***/ "7d0ac":
173048
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
173049
-
173050
- "use strict";
173051
- /* 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_c9eeb27c_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5555");
173052
- /* 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_c9eeb27c_prod_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_c9eeb27c_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
173053
- /* unused harmony reexport * */
173054
-
173055
-
173056
173021
  /***/ }),
173057
173022
 
173058
173023
  /***/ "7dbb":
@@ -223667,6 +223632,20 @@ function assembleFont(attrs) {
223667
223632
  }
223668
223633
  //# sourceMappingURL=text.js.map
223669
223634
 
223635
+ /***/ }),
223636
+
223637
+ /***/ "bcb3":
223638
+ /***/ (function(module, exports, __webpack_require__) {
223639
+
223640
+ // Imports
223641
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
223642
+ exports = ___CSS_LOADER_API_IMPORT___(false);
223643
+ // Module
223644
+ exports.push([module.i, "#map{width:100%;height:var(--height);background:linear-gradient(90deg,#1b2639 40%,#183157 60%)}.popupBox{height:auto;width:auto;animation:fadenum .6s ease;box-shadow:0 0 8px #000;border:1.7px solid #1b9bba;position:absolute}#popupHeader{height:25px;line-height:25px;background:linear-gradient(90deg,#237d9a,#074055)}#popupHeaderTitle{float:left;margin:0 0 0 7px;color:#fff;font-size:14px;font-weight:600;text-shadow:0 0 1px;letter-spacing:1.5px}#closePopup{height:20px;width:20px;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:0 2px;cursor:pointer}#popupContent{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:hover{overflow:overlay}#popupContent::-webkit-scrollbar{width:6px}#popupContent::-webkit-scrollbar-track{background-color:#477dd0;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.1);border-radius:6px}#popupContent::-webkit-scrollbar-thumb{background:rgba(14,56,84,.8509803921568627);border-radius:6px}.check-box{width:48%;height:8%;position:absolute;bottom:var(--bottom);right:var(--right)}.check-box .tabGroupClass{text-align:left}.check-box .is-active{line-height:30px;height:30px;color:#fff;font-family:TTTGB-Medium;background:linear-gradient(toRight,#1762f7,#389aff)!important}.check-box .el-tabs__item{background-image:linear-gradient(#0465c0,#042452);line-height:30px}.check-box .el-tabs__header{margin:0!important}.check-box .el-tabs–card>.el-tabs__header .el-tabs__nav{margin:0;display:flex;justify-content:space-around;border-radius:0;border:none;background-color:transparent}.check-box .el-tabs__nav{width:100%;display:flex;justify-content:left;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.check-box .el-tabs__item{width:80px;height:30px;padding:0;font-family:TTTGB-Medium;font-size:18px;color:#fff;margin-right:5px;text-align:center;background:linear-gradient(#0465c0,#042352);border:1px solid #0465c0}.check-box .el-tabs__item :before{position:absolute;content:\"\";width:10px;height:10px;left:-6px;top:-7px;z-index:100;background-color:#010d2d;transform:rotate(-45deg);border-bottom:1px solid #93b8e3}.check-box .el-tabs__item .is-active{background:linear-gradient(90deg,#1762f8,#399aff)}.check-box .el-tabs__active-bar{display:none}.check-box .el-tabs__content{height:38px;padding:15px 10px 0 10px;font-size:12px;border:2px solid #0061b5;z-index:3}.check-box .el-tabs__nav-wrap:after{display:none!important}.check-box .el-checkbox__label{font-size:14px;color:#fff}.check-box .el-checkbox__inner{width:16px;height:16px;border:2px solid #0169c8;border-radius:0;background-color:transparent}.check-box .el-checkbox__input .is-checked .el-checkbox__inner{background-color:#0169c8;border:none}.check-box .el-checkbox__input .is-checked .el-checkbox__inner:after{height:10px;left:5px;width:5px}.check-box .is-checked{color:#fff!important}", ""]);
223645
+ // Exports
223646
+ module.exports = exports;
223647
+
223648
+
223670
223649
  /***/ }),
223671
223650
 
223672
223651
  /***/ "bd02":
@@ -226909,6 +226888,17 @@ var addBorderNode = function (g, prop, prefix, sg, sgNode, rank) {
226909
226888
  exports.default = addBorderSegments;
226910
226889
  //# sourceMappingURL=add-border-segments.js.map
226911
226890
 
226891
+ /***/ }),
226892
+
226893
+ /***/ "c427":
226894
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
226895
+
226896
+ "use strict";
226897
+ /* 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_17d8fab3_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("51e2");
226898
+ /* 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_17d8fab3_prod_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_17d8fab3_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
226899
+ /* unused harmony reexport * */
226900
+
226901
+
226912
226902
  /***/ }),
226913
226903
 
226914
226904
  /***/ "c430":
@@ -531917,13 +531907,13 @@ gisMap3d_src.install = function (Vue) {
531917
531907
 
531918
531908
  // 默认导出组件
531919
531909
  /* harmony default export */ var gisMap3d = (gisMap3d_src);
531920
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19a494f0-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/gisMapTianditu/src/index.vue?vue&type=template&id=c9eeb27c
531921
- var srcvue_type_template_id_c9eeb27c_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)]),_c('div',{staticClass:"check-box",style:({ '--bottom': _vm.checkBoxBottom, '--right': _vm.checkBoxRight })},[_c('el-tabs',{staticClass:"demo-tabs",model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:"activeName"}},[_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"交通走廊","name":"first"}},[_c('el-checkbox',{attrs:{"label":"交通网主骨架"},on:{"change":_vm.roadNetworkCheck},model:{value:(_vm.checked1),callback:function ($$v) {_vm.checked1=$$v},expression:"checked1"}}),_c('el-checkbox',{attrs:{"label":"旅游走廊"},on:{"change":_vm.travelLayerCheck},model:{value:(_vm.checked2),callback:function ($$v) {_vm.checked2=$$v},expression:"checked2"}})],1),_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"公路","name":"second"}}),_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"铁路","name":"third"}}),_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"水路","name":"fourth"}}),_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"机场","name":"fifth"}})],1)],1)])
531910
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"19a494f0-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/gisMapTianditu/src/index.vue?vue&type=template&id=17d8fab3
531911
+ var srcvue_type_template_id_17d8fab3_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)]),_c('div',{staticClass:"check-box",style:({ '--bottom': _vm.checkBoxBottom, '--right': _vm.checkBoxRight })},[_c('el-tabs',{staticClass:"demo-tabs",model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:"activeName"}},[_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"交通走廊","name":"first"}},[_c('el-checkbox',{attrs:{"label":"交通网主骨架"},on:{"change":_vm.roadNetworkCheck},model:{value:(_vm.checked1),callback:function ($$v) {_vm.checked1=$$v},expression:"checked1"}}),_c('el-checkbox',{attrs:{"label":"旅游走廊"},on:{"change":_vm.travelLayerCheck},model:{value:(_vm.checked2),callback:function ($$v) {_vm.checked2=$$v},expression:"checked2"}})],1),_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"公路","name":"second"}}),_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"铁路","name":"third"}}),_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"水路","name":"fourth"}}),_c('el-tab-pane',{staticClass:"tabGroupClass",attrs:{"label":"机场","name":"fifth"}})],1)],1)])
531922
531912
  }
531923
- var srcvue_type_template_id_c9eeb27c_staticRenderFns = []
531913
+ var srcvue_type_template_id_17d8fab3_staticRenderFns = []
531924
531914
 
531925
531915
 
531926
- // CONCATENATED MODULE: ./packages/gisMapTianditu/src/index.vue?vue&type=template&id=c9eeb27c
531916
+ // CONCATENATED MODULE: ./packages/gisMapTianditu/src/index.vue?vue&type=template&id=17d8fab3
531927
531917
 
531928
531918
  // EXTERNAL MODULE: ./packages/gisMapTianditu/src/js/olms.js
531929
531919
  var src_js_olms = __webpack_require__("8c00");
@@ -532215,168 +532205,168 @@ var component_LatlonPick_component = normalizeComponent(
532215
532205
  });
532216
532206
  this.map.addOverlay(this.overlayPopup);
532217
532207
  this.map.on("click", (e) => {
532218
- if (
532219
- !this.map.getInteractions().getArray().includes(this.measuredraw) &&
532220
- // !this.$refs.measureTool.measuredraw.getActive() &&
532221
- !this.map
532222
- .getInteractions()
532223
- .getArray()
532224
- .includes(this.latlonPickDraw) &&
532225
- !this.$refs.measureTool.latlonPickDraw.getActive() &&
532226
- !this.map.getInteractions().getArray().includes(this.toPileDraw) &&
532227
- !this.$refs.measureTool.toPileDraw.getActive()
532228
- ) {
532229
- let mousePoint = e.coordinate;
532230
- this.initialPoint = mousePoint;
532231
- let popupHeaderTitle = document.getElementById("popupHeaderTitle");
532232
- let feature = this.map.forEachFeatureAtPixel(e.pixel, (feature) => {
532233
- return feature;
532234
- });
532235
- if (feature) {
532236
- if (feature.getProperties().features) {
532237
- if (feature.getProperties().features.length > 1) {
532238
- const features = feature.getProperties().features;
532239
- if (this.map.getView().getZoom() >= 18) {
532240
- this.popupHeight = 236;
532241
- this.popupWidth = 300;
532242
- this.currentTabComponent = component_ClusterList;
532243
- this.popupAttributes = features;
532244
- popupHeaderTitle.innerHTML = "";
532245
- popupHeaderTitle.innerHTML = "共杆列表";
532246
- this.showPopup();
532247
- this.overlayPopup.setPosition(mousePoint);
532248
- this.overlayPopup.setOffset([
532249
- -this.popupWidth / 2,
532250
- -this.popupHeight,
532251
- ]);
532252
- this.overlayPopup.set("popupBS", "clusterList");
532253
- } else {
532254
- this.map.getView().animate({
532255
- center: feature.getGeometry().getCoordinates(),
532256
- zoom: this.map.getView().getZoom() * 2,
532257
- duration: 1200,
532258
- });
532259
- }
532260
- } else {
532261
- let properties = feature
532262
- .getProperties()
532263
- .features[0].getProperties();
532264
- if (properties) {
532265
- if (properties.isDrawn) return;
532266
- if (properties.popoup || properties.popoup == false) {
532267
- that.$emit("clickPointEvent", properties);
532268
- return;
532269
- }
532270
- const type = properties.type;
532271
- const data = properties;
532272
- // if (type) {
532273
- // switch (type) {
532274
- // case "A":
532275
- // this.popupHeight = 220;
532276
- // this.popupWidth = 310;
532277
- // this.currentTabComponent = TypeA;
532278
- // this.popupAttributes = data;
532279
- // popupHeaderTitle.innerHTML = "";
532280
- // popupHeaderTitle.innerHTML = "A事件";
532281
- // break;
532282
- // case "B":
532283
- // this.popupHeight = 220;
532284
- // this.popupWidth = 310;
532285
- // this.currentTabComponent = TypeB;
532286
- // this.popupAttributes = data;
532287
- // popupHeaderTitle.innerHTML = "";
532288
- // popupHeaderTitle.innerHTML = "B事件";
532289
- // break;
532290
- // case "lonandlatTopile":
532291
- // this.popupHeight = 85;
532292
- // this.popupWidth = 360;
532293
- // this.currentTabComponent = LonlatTopile;
532294
- // this.popupAttributes = attr;
532295
- // popupHeaderTitle.innerHTML = "";
532296
- // popupHeaderTitle.innerHTML = "经纬度转桩号";
532297
- // break;
532298
- // case "latlonPick":
532299
- // this.popupHeight = 55;
532300
- // this.popupWidth = 360;
532301
- // this.currentTabComponent = LatlonPick;
532302
- // this.popupAttributes = attr;
532303
- // popupHeaderTitle.innerHTML = "";
532304
- // popupHeaderTitle.innerHTML = "坐标拾取";
532305
- // break;
532306
- // }
532307
- // this.showPopup();
532308
- // }
532309
- } else {
532310
- this.closePopup();
532311
- }
532312
- this.overlayPopup.setPosition(mousePoint);
532313
- this.overlayPopup.setOffset([
532314
- -this.popupWidth / 2,
532315
- -this.popupHeight,
532316
- ]);
532317
- }
532318
- } else {
532319
- let properties = feature.getProperties();
532320
- if (properties) {
532321
- if (properties.isDrawn) return;
532322
- if (properties.popoup || properties.popoup == false) {
532323
- that.$emit("clickPointEvent", properties);
532324
- return;
532325
- }
532326
- const type = properties.type;
532327
- const data = properties;
532328
- // if (type) {
532329
- // switch (type) {
532330
- // case "A":
532331
- // this.popupHeight = 220;
532332
- // this.popupWidth = 310;
532333
- // this.currentTabComponent = TypeA;
532334
- // this.popupAttributes = data;
532335
- // popupHeaderTitle.innerHTML = "";
532336
- // popupHeaderTitle.innerHTML = "A事件";
532337
- // break;
532338
- // case "B":
532339
- // this.popupHeight = 220;
532340
- // this.popupWidth = 310;
532341
- // this.currentTabComponent = TypeB;
532342
- // this.popupAttributes = data;
532343
- // popupHeaderTitle.innerHTML = "";
532344
- // popupHeaderTitle.innerHTML = "B事件";
532345
- // break;
532346
- // case "lonandlatTopile":
532347
- // this.popupHeight = 85;
532348
- // this.popupWidth = 360;
532349
- // this.currentTabComponent = LonlatTopile;
532350
- // this.popupAttributes = attr;
532351
- // popupHeaderTitle.innerHTML = "";
532352
- // popupHeaderTitle.innerHTML = "经纬度转桩号";
532353
- // break;
532354
- // case "latlonPick":
532355
- // this.popupHeight = 55;
532356
- // this.popupWidth = 360;
532357
- // this.currentTabComponent = LatlonPick;
532358
- // this.popupAttributes = attr;
532359
- // popupHeaderTitle.innerHTML = "";
532360
- // popupHeaderTitle.innerHTML = "坐标拾取";
532361
- // break;
532362
- // }
532363
- // this.showPopup();
532364
- // } else {
532365
- // this.closePopup();
532366
- // }
532367
- } else {
532368
- this.closePopup();
532369
- }
532370
- this.overlayPopup.setPosition(mousePoint);
532371
- this.overlayPopup.setOffset([
532372
- -this.popupWidth / 2,
532373
- -this.popupHeight - 20,
532374
- ]);
532375
- }
532376
- } else {
532377
- this.closePopup();
532378
- }
532379
- }
532208
+ // if (
532209
+ // !this.map.getInteractions().getArray().includes(this.measuredraw) &&
532210
+ // // !this.$refs.measureTool.measuredraw.getActive() &&
532211
+ // !this.map
532212
+ // .getInteractions()
532213
+ // .getArray()
532214
+ // .includes(this.latlonPickDraw) &&
532215
+ // !this.$refs.measureTool.latlonPickDraw.getActive() &&
532216
+ // !this.map.getInteractions().getArray().includes(this.toPileDraw) &&
532217
+ // !this.$refs.measureTool.toPileDraw.getActive()
532218
+ // ) {
532219
+ // let mousePoint = e.coordinate;
532220
+ // this.initialPoint = mousePoint;
532221
+ // let popupHeaderTitle = document.getElementById("popupHeaderTitle");
532222
+ // let feature = this.map.forEachFeatureAtPixel(e.pixel, (feature) => {
532223
+ // return feature;
532224
+ // });
532225
+ // if (feature) {
532226
+ // if (feature.getProperties().features) {
532227
+ // if (feature.getProperties().features.length > 1) {
532228
+ // const features = feature.getProperties().features;
532229
+ // if (this.map.getView().getZoom() >= 18) {
532230
+ // this.popupHeight = 236;
532231
+ // this.popupWidth = 300;
532232
+ // this.currentTabComponent = ClusterList;
532233
+ // this.popupAttributes = features;
532234
+ // popupHeaderTitle.innerHTML = "";
532235
+ // popupHeaderTitle.innerHTML = "共杆列表";
532236
+ // this.showPopup();
532237
+ // this.overlayPopup.setPosition(mousePoint);
532238
+ // this.overlayPopup.setOffset([
532239
+ // -this.popupWidth / 2,
532240
+ // -this.popupHeight,
532241
+ // ]);
532242
+ // this.overlayPopup.set("popupBS", "clusterList");
532243
+ // } else {
532244
+ // this.map.getView().animate({
532245
+ // center: feature.getGeometry().getCoordinates(),
532246
+ // zoom: this.map.getView().getZoom() * 2,
532247
+ // duration: 1200,
532248
+ // });
532249
+ // }
532250
+ // } else {
532251
+ // let properties = feature
532252
+ // .getProperties()
532253
+ // .features[0].getProperties();
532254
+ // if (properties) {
532255
+ // if (properties.isDrawn) return;
532256
+ // if (properties.popoup || properties.popoup == false) {
532257
+ // that.$emit("clickPointEvent", properties);
532258
+ // return;
532259
+ // }
532260
+ // const type = properties.type;
532261
+ // const data = properties;
532262
+ // // if (type) {
532263
+ // // switch (type) {
532264
+ // // case "A":
532265
+ // // this.popupHeight = 220;
532266
+ // // this.popupWidth = 310;
532267
+ // // this.currentTabComponent = TypeA;
532268
+ // // this.popupAttributes = data;
532269
+ // // popupHeaderTitle.innerHTML = "";
532270
+ // // popupHeaderTitle.innerHTML = "A事件";
532271
+ // // break;
532272
+ // // case "B":
532273
+ // // this.popupHeight = 220;
532274
+ // // this.popupWidth = 310;
532275
+ // // this.currentTabComponent = TypeB;
532276
+ // // this.popupAttributes = data;
532277
+ // // popupHeaderTitle.innerHTML = "";
532278
+ // // popupHeaderTitle.innerHTML = "B事件";
532279
+ // // break;
532280
+ // // case "lonandlatTopile":
532281
+ // // this.popupHeight = 85;
532282
+ // // this.popupWidth = 360;
532283
+ // // this.currentTabComponent = LonlatTopile;
532284
+ // // this.popupAttributes = attr;
532285
+ // // popupHeaderTitle.innerHTML = "";
532286
+ // // popupHeaderTitle.innerHTML = "经纬度转桩号";
532287
+ // // break;
532288
+ // // case "latlonPick":
532289
+ // // this.popupHeight = 55;
532290
+ // // this.popupWidth = 360;
532291
+ // // this.currentTabComponent = LatlonPick;
532292
+ // // this.popupAttributes = attr;
532293
+ // // popupHeaderTitle.innerHTML = "";
532294
+ // // popupHeaderTitle.innerHTML = "坐标拾取";
532295
+ // // break;
532296
+ // // }
532297
+ // // this.showPopup();
532298
+ // // }
532299
+ // } else {
532300
+ // this.closePopup();
532301
+ // }
532302
+ // this.overlayPopup.setPosition(mousePoint);
532303
+ // this.overlayPopup.setOffset([
532304
+ // -this.popupWidth / 2,
532305
+ // -this.popupHeight,
532306
+ // ]);
532307
+ // }
532308
+ // } else {
532309
+ // let properties = feature.getProperties();
532310
+ // if (properties) {
532311
+ // if (properties.isDrawn) return;
532312
+ // if (properties.popoup || properties.popoup == false) {
532313
+ // that.$emit("clickPointEvent", properties);
532314
+ // return;
532315
+ // }
532316
+ // const type = properties.type;
532317
+ // const data = properties;
532318
+ // // if (type) {
532319
+ // // switch (type) {
532320
+ // // case "A":
532321
+ // // this.popupHeight = 220;
532322
+ // // this.popupWidth = 310;
532323
+ // // this.currentTabComponent = TypeA;
532324
+ // // this.popupAttributes = data;
532325
+ // // popupHeaderTitle.innerHTML = "";
532326
+ // // popupHeaderTitle.innerHTML = "A事件";
532327
+ // // break;
532328
+ // // case "B":
532329
+ // // this.popupHeight = 220;
532330
+ // // this.popupWidth = 310;
532331
+ // // this.currentTabComponent = TypeB;
532332
+ // // this.popupAttributes = data;
532333
+ // // popupHeaderTitle.innerHTML = "";
532334
+ // // popupHeaderTitle.innerHTML = "B事件";
532335
+ // // break;
532336
+ // // case "lonandlatTopile":
532337
+ // // this.popupHeight = 85;
532338
+ // // this.popupWidth = 360;
532339
+ // // this.currentTabComponent = LonlatTopile;
532340
+ // // this.popupAttributes = attr;
532341
+ // // popupHeaderTitle.innerHTML = "";
532342
+ // // popupHeaderTitle.innerHTML = "经纬度转桩号";
532343
+ // // break;
532344
+ // // case "latlonPick":
532345
+ // // this.popupHeight = 55;
532346
+ // // this.popupWidth = 360;
532347
+ // // this.currentTabComponent = LatlonPick;
532348
+ // // this.popupAttributes = attr;
532349
+ // // popupHeaderTitle.innerHTML = "";
532350
+ // // popupHeaderTitle.innerHTML = "坐标拾取";
532351
+ // // break;
532352
+ // // }
532353
+ // // this.showPopup();
532354
+ // // } else {
532355
+ // // this.closePopup();
532356
+ // // }
532357
+ // } else {
532358
+ // this.closePopup();
532359
+ // }
532360
+ // this.overlayPopup.setPosition(mousePoint);
532361
+ // this.overlayPopup.setOffset([
532362
+ // -this.popupWidth / 2,
532363
+ // -this.popupHeight - 20,
532364
+ // ]);
532365
+ // }
532366
+ // } else {
532367
+ // this.closePopup();
532368
+ // }
532369
+ // }
532380
532370
  });
532381
532371
  },
532382
532372
  initRoadNetwork() {
@@ -533136,8 +533126,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(element_ui_common_def
533136
533126
 
533137
533127
  // CONCATENATED MODULE: ./packages/gisMapTianditu/src/index.vue?vue&type=script&lang=js
533138
533128
  /* harmony default export */ var packages_gisMapTianditu_srcvue_type_script_lang_js = (gisMapTianditu_srcvue_type_script_lang_js);
533139
- // EXTERNAL MODULE: ./packages/gisMapTianditu/src/index.vue?vue&type=style&index=0&id=c9eeb27c&prod&lang=css
533140
- var srcvue_type_style_index_0_id_c9eeb27c_prod_lang_css = __webpack_require__("7d0ac");
533129
+ // EXTERNAL MODULE: ./packages/gisMapTianditu/src/index.vue?vue&type=style&index=0&id=17d8fab3&prod&lang=css
533130
+ var srcvue_type_style_index_0_id_17d8fab3_prod_lang_css = __webpack_require__("c427");
533141
533131
 
533142
533132
  // CONCATENATED MODULE: ./packages/gisMapTianditu/src/index.vue
533143
533133
 
@@ -533150,8 +533140,8 @@ var srcvue_type_style_index_0_id_c9eeb27c_prod_lang_css = __webpack_require__("7
533150
533140
 
533151
533141
  var gisMapTianditu_src_component = normalizeComponent(
533152
533142
  packages_gisMapTianditu_srcvue_type_script_lang_js,
533153
- srcvue_type_template_id_c9eeb27c_render,
533154
- srcvue_type_template_id_c9eeb27c_staticRenderFns,
533143
+ srcvue_type_template_id_17d8fab3_render,
533144
+ srcvue_type_template_id_17d8fab3_staticRenderFns,
533155
533145
  false,
533156
533146
  null,
533157
533147
  null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gis-map-universal",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "GIS通用组件",
5
5
  "main": "gismap.umd.js",
6
6
  "private": false,
Binary file
Binary file