gis-map-universal 1.1.7 → 1.1.8
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 +483 -464
- package/package.json +1 -1
package/gismap.umd.js
CHANGED
|
@@ -1716,17 +1716,6 @@ function extentFromProjection(projection) {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
|
|
1718
1718
|
|
|
1719
|
-
/***/ }),
|
|
1720
|
-
|
|
1721
|
-
/***/ "08e6":
|
|
1722
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1723
|
-
|
|
1724
|
-
"use strict";
|
|
1725
|
-
/* 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_CityAreaLayer_vue_vue_type_style_index_0_id_b70a5ef4_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a279");
|
|
1726
|
-
/* 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_CityAreaLayer_vue_vue_type_style_index_0_id_b70a5ef4_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_CityAreaLayer_vue_vue_type_style_index_0_id_b70a5ef4_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
1727
|
-
/* unused harmony reexport * */
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
1719
|
/***/ }),
|
|
1731
1720
|
|
|
1732
1721
|
/***/ "0999":
|
|
@@ -11349,20 +11338,6 @@ module.exports = fails(function () {
|
|
|
11349
11338
|
});
|
|
11350
11339
|
|
|
11351
11340
|
|
|
11352
|
-
/***/ }),
|
|
11353
|
-
|
|
11354
|
-
/***/ "1176":
|
|
11355
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11356
|
-
|
|
11357
|
-
// Imports
|
|
11358
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
11359
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
11360
|
-
// Module
|
|
11361
|
-
exports.push([module.i, ".Popup[data-v-b70a5ef4]{width:2.2rem;height:2.2rem}.data-list[data-v-b70a5ef4]{margin-top:.1rem;width:100%;font-size:.08rem;color:#fff;max-height:1.3rem;overflow-y:auto}.list-header[data-v-b70a5ef4]{display:flex;background-color:rgba(75,255,252,.2);border-bottom:1px solid rgba(75,255,252,.3);padding:.05rem 0;position:sticky;top:0;z-index:10}.header-item[data-v-b70a5ef4]{flex:1;text-align:center;font-weight:700;color:#4bfffc}.header-item[data-v-b70a5ef4]:last-child{flex:1.5;text-align:center;padding-left:.05rem}.list-content[data-v-b70a5ef4]{width:100%}.list-item[data-v-b70a5ef4]{display:flex;border-bottom:1px solid hsla(0,0%,100%,.1);padding:.05rem 0}.list-item[data-v-b70a5ef4]:last-child{border-bottom:none}.list-cell[data-v-b70a5ef4]{flex:1;text-align:center;word-break:break-word}.list-cell.remark[data-v-b70a5ef4]{text-align:left;flex:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:help}.list-cell.remark[data-v-b70a5ef4]::-webkit-tooltip{display:none}.custom-tooltip{pointer-events:none;box-shadow:0 2px 8px rgba(0,0,0,.3)}.list-content[data-v-b70a5ef4]::-webkit-scrollbar{width:4px}.list-content[data-v-b70a5ef4]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.1)}.list-content[data-v-b70a5ef4]::-webkit-scrollbar-thumb{background:rgba(75,255,252,.5);border-radius:2px}.list-content[data-v-b70a5ef4]::-webkit-scrollbar-thumb:hover{background:rgba(75,255,252,.8)}", ""]);
|
|
11362
|
-
// Exports
|
|
11363
|
-
module.exports = exports;
|
|
11364
|
-
|
|
11365
|
-
|
|
11366
11341
|
/***/ }),
|
|
11367
11342
|
|
|
11368
11343
|
/***/ "11b0":
|
|
@@ -26464,6 +26439,17 @@ module.exports = function (it) {
|
|
|
26464
26439
|
/* harmony default export */ __webpack_exports__["a"] = (null);
|
|
26465
26440
|
|
|
26466
26441
|
|
|
26442
|
+
/***/ }),
|
|
26443
|
+
|
|
26444
|
+
/***/ "4601":
|
|
26445
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26446
|
+
|
|
26447
|
+
"use strict";
|
|
26448
|
+
/* 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_CityAreaLayer_vue_vue_type_style_index_0_id_5e1a4ac4_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f43b");
|
|
26449
|
+
/* 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_CityAreaLayer_vue_vue_type_style_index_0_id_5e1a4ac4_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_CityAreaLayer_vue_vue_type_style_index_0_id_5e1a4ac4_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
26450
|
+
/* unused harmony reexport * */
|
|
26451
|
+
|
|
26452
|
+
|
|
26467
26453
|
/***/ }),
|
|
26468
26454
|
|
|
26469
26455
|
/***/ "4625":
|
|
@@ -42899,6 +42885,20 @@ exports.push([module.i, "#map[data-v-cb037cc4]{width:100%;height:var(--height)}.
|
|
|
42899
42885
|
module.exports = exports;
|
|
42900
42886
|
|
|
42901
42887
|
|
|
42888
|
+
/***/ }),
|
|
42889
|
+
|
|
42890
|
+
/***/ "77c2":
|
|
42891
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
42892
|
+
|
|
42893
|
+
// Imports
|
|
42894
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
42895
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
42896
|
+
// Module
|
|
42897
|
+
exports.push([module.i, ".Popup[data-v-5e1a4ac4]{width:2.2rem;height:2.5rem}.divtitleone[data-v-5e1a4ac4]{padding:.01rem 0 .01rem .04rem;margin-top:.05rem;width:26%}.divtitleone[data-v-5e1a4ac4],.divtitletwo[data-v-5e1a4ac4]{background:linear-gradient(135deg,rgba(75,255,252,.2),rgba(75,255,252,.1));color:#4bfffc;font-weight:700;border-radius:3px;font-size:.08rem;border-left:3px solid #4bfffc}.divtitletwo[data-v-5e1a4ac4]{padding:.01rem 0 .02rem .04rem;width:34%}.data-list[data-v-5e1a4ac4]{margin-top:.1rem;width:100%;font-size:.08rem;color:#fff;overflow-y:auto}.list-header[data-v-5e1a4ac4]{display:flex;background-color:rgba(75,255,252,.2);border-bottom:1px solid rgba(75,255,252,.3);padding:.05rem 0;position:sticky;top:0;z-index:10}.header-item[data-v-5e1a4ac4]{flex:1;text-align:center;font-weight:700;color:#4bfffc}.header-item[data-v-5e1a4ac4]:last-child{flex:1.5;text-align:center;padding-left:.05rem}.list-content[data-v-5e1a4ac4]{width:100%}.list-item[data-v-5e1a4ac4]{display:flex;border-bottom:1px solid hsla(0,0%,100%,.1);padding:.05rem 0}.list-item[data-v-5e1a4ac4]:last-child{border-bottom:none}.list-cell[data-v-5e1a4ac4]{flex:1;text-align:center;word-break:break-word}.list-cell.remark[data-v-5e1a4ac4]{text-align:left;flex:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.list-cell.remark[data-v-5e1a4ac4]::-webkit-tooltip{display:none}.custom-tooltip{pointer-events:none;box-shadow:0 2px 8px rgba(0,0,0,.3)}.list-content[data-v-5e1a4ac4]::-webkit-scrollbar{width:4px}.list-content[data-v-5e1a4ac4]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.1)}.list-content[data-v-5e1a4ac4]::-webkit-scrollbar-thumb{background:rgba(75,255,252,.5);border-radius:2px}.list-content[data-v-5e1a4ac4]::-webkit-scrollbar-thumb:hover{background:rgba(75,255,252,.8)}", ""]);
|
|
42898
|
+
// Exports
|
|
42899
|
+
module.exports = exports;
|
|
42900
|
+
|
|
42901
|
+
|
|
42902
42902
|
/***/ }),
|
|
42903
42903
|
|
|
42904
42904
|
/***/ "7804":
|
|
@@ -55649,22 +55649,6 @@ module.exports = {
|
|
|
55649
55649
|
};
|
|
55650
55650
|
|
|
55651
55651
|
|
|
55652
|
-
/***/ }),
|
|
55653
|
-
|
|
55654
|
-
/***/ "a279":
|
|
55655
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
55656
|
-
|
|
55657
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
55658
|
-
|
|
55659
|
-
// load the styles
|
|
55660
|
-
var content = __webpack_require__("1176");
|
|
55661
|
-
if(content.__esModule) content = content.default;
|
|
55662
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
55663
|
-
if(content.locals) module.exports = content.locals;
|
|
55664
|
-
// add the styles to the DOM
|
|
55665
|
-
var add = __webpack_require__("499e").default
|
|
55666
|
-
var update = add("8e217a0c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
55667
|
-
|
|
55668
55652
|
/***/ }),
|
|
55669
55653
|
|
|
55670
55654
|
/***/ "a2c7":
|
|
@@ -79468,6 +79452,22 @@ class Point extends _SimpleGeometry_js__WEBPACK_IMPORTED_MODULE_0__[/* default *
|
|
|
79468
79452
|
/* unused harmony reexport * */
|
|
79469
79453
|
|
|
79470
79454
|
|
|
79455
|
+
/***/ }),
|
|
79456
|
+
|
|
79457
|
+
/***/ "f43b":
|
|
79458
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
79459
|
+
|
|
79460
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
79461
|
+
|
|
79462
|
+
// load the styles
|
|
79463
|
+
var content = __webpack_require__("77c2");
|
|
79464
|
+
if(content.__esModule) content = content.default;
|
|
79465
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
79466
|
+
if(content.locals) module.exports = content.locals;
|
|
79467
|
+
// add the styles to the DOM
|
|
79468
|
+
var add = __webpack_require__("499e").default
|
|
79469
|
+
var update = add("5e246b40", content, true, {"sourceMap":false,"shadowMode":false});
|
|
79470
|
+
|
|
79471
79471
|
/***/ }),
|
|
79472
79472
|
|
|
79473
79473
|
/***/ "f46c":
|
|
@@ -260707,89 +260707,6 @@ ol_echarts_esm_EChartsLayer.isObject = ol_echarts_esm_isObject;
|
|
|
260707
260707
|
/* harmony default export */ var ol_echarts_esm = (ol_echarts_esm_EChartsLayer);
|
|
260708
260708
|
//# sourceMappingURL=ol-echarts.esm.js.map
|
|
260709
260709
|
|
|
260710
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0e2c32fd-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=template&id=3b5ee555&scoped=true
|
|
260711
|
-
var customPointLayervue_type_template_id_3b5ee555_scoped_true_render = function render() {
|
|
260712
|
-
var _vm = this,
|
|
260713
|
-
_c = _vm._self._c;
|
|
260714
|
-
return _vm.isshow ? _c('div', {
|
|
260715
|
-
style: {
|
|
260716
|
-
height: _vm.height,
|
|
260717
|
-
width: _vm.width
|
|
260718
|
-
}
|
|
260719
|
-
}, [_c('iframe', {
|
|
260720
|
-
staticStyle: {
|
|
260721
|
-
"width": "100%",
|
|
260722
|
-
"height": "100%",
|
|
260723
|
-
"border": "none"
|
|
260724
|
-
},
|
|
260725
|
-
attrs: {
|
|
260726
|
-
"src": _vm.popupAttr.popupUrl
|
|
260727
|
-
}
|
|
260728
|
-
})]) : _vm._e();
|
|
260729
|
-
};
|
|
260730
|
-
var customPointLayervue_type_template_id_3b5ee555_scoped_true_staticRenderFns = [];
|
|
260731
|
-
|
|
260732
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=template&id=3b5ee555&scoped=true
|
|
260733
|
-
|
|
260734
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=script&lang=js
|
|
260735
|
-
/* harmony default export */ var customPointLayervue_type_script_lang_js = ({
|
|
260736
|
-
name: '',
|
|
260737
|
-
components: {},
|
|
260738
|
-
created() {},
|
|
260739
|
-
mounted() {},
|
|
260740
|
-
props: {
|
|
260741
|
-
popupAttr: Object
|
|
260742
|
-
},
|
|
260743
|
-
data() {
|
|
260744
|
-
return {
|
|
260745
|
-
isshow: false,
|
|
260746
|
-
height: 0,
|
|
260747
|
-
width: 0
|
|
260748
|
-
};
|
|
260749
|
-
},
|
|
260750
|
-
methods: {
|
|
260751
|
-
fuyuan() {
|
|
260752
|
-
this.isshow = false;
|
|
260753
|
-
this.$nextTick(() => {
|
|
260754
|
-
let fontSize = Number(document.getElementsByTagName('html')[0].style.fontSize.split('px')[0]);
|
|
260755
|
-
let frameHeight = (this.popupAttr.popupHeight - 110) / 192 * fontSize;
|
|
260756
|
-
let frameWidth = (this.popupAttr.popupWidth - 30) / 192 * fontSize;
|
|
260757
|
-
this.height = frameHeight + 'px';
|
|
260758
|
-
this.width = frameWidth + 'px';
|
|
260759
|
-
this.isshow = true;
|
|
260760
|
-
});
|
|
260761
|
-
},
|
|
260762
|
-
destroyFlv() {
|
|
260763
|
-
this.isshow = false;
|
|
260764
|
-
}
|
|
260765
|
-
},
|
|
260766
|
-
computed: {},
|
|
260767
|
-
mounted() {
|
|
260768
|
-
this.fuyuan();
|
|
260769
|
-
}
|
|
260770
|
-
});
|
|
260771
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=script&lang=js
|
|
260772
|
-
/* harmony default export */ var component_customPointLayervue_type_script_lang_js = (customPointLayervue_type_script_lang_js);
|
|
260773
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue
|
|
260774
|
-
|
|
260775
|
-
|
|
260776
|
-
|
|
260777
|
-
|
|
260778
|
-
|
|
260779
|
-
/* normalize component */
|
|
260780
|
-
|
|
260781
|
-
var customPointLayer_component = normalizeComponent(
|
|
260782
|
-
component_customPointLayervue_type_script_lang_js,
|
|
260783
|
-
customPointLayervue_type_template_id_3b5ee555_scoped_true_render,
|
|
260784
|
-
customPointLayervue_type_template_id_3b5ee555_scoped_true_staticRenderFns,
|
|
260785
|
-
false,
|
|
260786
|
-
null,
|
|
260787
|
-
"3b5ee555",
|
|
260788
|
-
null
|
|
260789
|
-
|
|
260790
|
-
)
|
|
260791
|
-
|
|
260792
|
-
/* harmony default export */ var customPointLayer = (customPointLayer_component.exports);
|
|
260793
260710
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0e2c32fd-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/trafficEventLayers/EmergencyLayer.vue?vue&type=template&id=c96d8022&scoped=true
|
|
260794
260711
|
var EmergencyLayervue_type_template_id_c96d8022_scoped_true_render = function render() {
|
|
260795
260712
|
var _vm = this,
|
|
@@ -263653,6 +263570,386 @@ var TravelPointLayer_component = normalizeComponent(
|
|
|
263653
263570
|
)
|
|
263654
263571
|
|
|
263655
263572
|
/* harmony default export */ var TravelPointLayer = (TravelPointLayer_component.exports);
|
|
263573
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0e2c32fd-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue?vue&type=template&id=5e1a4ac4&scoped=true
|
|
263574
|
+
var CityAreaLayervue_type_template_id_5e1a4ac4_scoped_true_render = function render() {
|
|
263575
|
+
var _vm = this,
|
|
263576
|
+
_c = _vm._self._c;
|
|
263577
|
+
return _c('div', {
|
|
263578
|
+
staticClass: "Popup"
|
|
263579
|
+
}, [_c('div', {
|
|
263580
|
+
staticClass: "divtitleone"
|
|
263581
|
+
}, [_vm._v("城市综合评估:")]), _c('div', {
|
|
263582
|
+
ref: "etCharts",
|
|
263583
|
+
staticStyle: {
|
|
263584
|
+
"height": "1.3rem",
|
|
263585
|
+
"width": "100%"
|
|
263586
|
+
}
|
|
263587
|
+
}), _c('div', {
|
|
263588
|
+
staticClass: "divtitletwo"
|
|
263589
|
+
}, [_vm._v("公共交通客运分析:")]), _c('div', {
|
|
263590
|
+
staticClass: "data-list"
|
|
263591
|
+
}, [_vm._m(0), _c('div', {
|
|
263592
|
+
staticClass: "list-content"
|
|
263593
|
+
}, _vm._l(_vm.infrastructureList, function (item, index) {
|
|
263594
|
+
return _c('div', {
|
|
263595
|
+
key: index,
|
|
263596
|
+
staticClass: "list-item"
|
|
263597
|
+
}, [_c('div', {
|
|
263598
|
+
staticClass: "list-cell"
|
|
263599
|
+
}, [_vm._v(_vm._s(item.transportName))]), _c('div', {
|
|
263600
|
+
staticClass: "list-cell"
|
|
263601
|
+
}, [_vm._v(_vm._s(item.infrastructureCount))]), _c('div', {
|
|
263602
|
+
staticClass: "list-cell remark",
|
|
263603
|
+
on: {
|
|
263604
|
+
"mouseenter": function ($event) {
|
|
263605
|
+
return _vm.showTooltip($event, item.remark);
|
|
263606
|
+
},
|
|
263607
|
+
"mouseleave": _vm.hideTooltip
|
|
263608
|
+
}
|
|
263609
|
+
}, [_vm._v(" " + _vm._s(_vm.truncateText(item.remark, 15)) + " ")])]);
|
|
263610
|
+
}), 0)])]);
|
|
263611
|
+
};
|
|
263612
|
+
var CityAreaLayervue_type_template_id_5e1a4ac4_scoped_true_staticRenderFns = [function () {
|
|
263613
|
+
var _vm = this,
|
|
263614
|
+
_c = _vm._self._c;
|
|
263615
|
+
return _c('div', {
|
|
263616
|
+
staticClass: "list-header"
|
|
263617
|
+
}, [_c('div', {
|
|
263618
|
+
staticClass: "header-item"
|
|
263619
|
+
}, [_vm._v("公共交通客运")]), _c('div', {
|
|
263620
|
+
staticClass: "header-item"
|
|
263621
|
+
}, [_vm._v("基础设施数量")]), _c('div', {
|
|
263622
|
+
staticClass: "header-item"
|
|
263623
|
+
}, [_vm._v("设施说明")])]);
|
|
263624
|
+
}];
|
|
263625
|
+
|
|
263626
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue?vue&type=template&id=5e1a4ac4&scoped=true
|
|
263627
|
+
|
|
263628
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/js/requestDSQ.js
|
|
263629
|
+
|
|
263630
|
+
|
|
263631
|
+
|
|
263632
|
+
const requestDSQ_service = lib_axios.create({
|
|
263633
|
+
timeout: 30000
|
|
263634
|
+
});
|
|
263635
|
+
requestDSQ_service.interceptors.request.use(config => {
|
|
263636
|
+
var _Vue$prototype$$Globa;
|
|
263637
|
+
config.baseURL = (_Vue$prototype$$Globa = external_commonjs_vue_commonjs2_vue_root_Vue_default.a.prototype.$GlobalConfig) === null || _Vue$prototype$$Globa === void 0 ? void 0 : _Vue$prototype$$Globa.dsqURL;
|
|
263638
|
+
return config;
|
|
263639
|
+
}, error => {
|
|
263640
|
+
console.log(error);
|
|
263641
|
+
return Promise.reject(error);
|
|
263642
|
+
});
|
|
263643
|
+
requestDSQ_service.interceptors.response.use(response => {
|
|
263644
|
+
const res = response.data;
|
|
263645
|
+
return res;
|
|
263646
|
+
}, error => {
|
|
263647
|
+
return Promise.reject(error);
|
|
263648
|
+
});
|
|
263649
|
+
/* harmony default export */ var requestDSQ = (requestDSQ_service);
|
|
263650
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/api/dushiquanApi.js
|
|
263651
|
+
|
|
263652
|
+
// 公共交通客运分析
|
|
263653
|
+
function getpublicTrfList(data) {
|
|
263654
|
+
return requestDSQ({
|
|
263655
|
+
url: "/prod-api/public/SERVICE_003_011/query/traffic/list",
|
|
263656
|
+
method: "post",
|
|
263657
|
+
data
|
|
263658
|
+
});
|
|
263659
|
+
}
|
|
263660
|
+
// 公共交通客运分析
|
|
263661
|
+
function gettransportInfoList(data) {
|
|
263662
|
+
return requestDSQ({
|
|
263663
|
+
url: "/prod-api/public/SERVICE_003_011/query/transportInfo/getInfo",
|
|
263664
|
+
method: "post",
|
|
263665
|
+
data
|
|
263666
|
+
});
|
|
263667
|
+
}
|
|
263668
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue?vue&type=script&lang=js
|
|
263669
|
+
|
|
263670
|
+
|
|
263671
|
+
/* harmony default export */ var CityAreaLayervue_type_script_lang_js = ({
|
|
263672
|
+
name: "CityAreaLayer",
|
|
263673
|
+
props: {
|
|
263674
|
+
popupAttr: Object
|
|
263675
|
+
},
|
|
263676
|
+
data() {
|
|
263677
|
+
return {
|
|
263678
|
+
infrastructureList: [],
|
|
263679
|
+
currentTooltip: null,
|
|
263680
|
+
myChart: null // 图表实例引用
|
|
263681
|
+
};
|
|
263682
|
+
},
|
|
263683
|
+
created() {},
|
|
263684
|
+
mounted() {
|
|
263685
|
+
this.fuyuanv();
|
|
263686
|
+
},
|
|
263687
|
+
beforeDestroy() {
|
|
263688
|
+
// 清理提示框
|
|
263689
|
+
this.hideTooltip();
|
|
263690
|
+
// 销毁图表实例
|
|
263691
|
+
if (this.myChart) {
|
|
263692
|
+
this.myChart.dispose();
|
|
263693
|
+
this.myChart = null;
|
|
263694
|
+
}
|
|
263695
|
+
},
|
|
263696
|
+
methods: {
|
|
263697
|
+
fuyuanv() {
|
|
263698
|
+
this.infrastructureList = [];
|
|
263699
|
+
this.currentTooltip = null;
|
|
263700
|
+
// 销毁旧的图表实例
|
|
263701
|
+
if (this.myChart) {
|
|
263702
|
+
this.myChart.dispose();
|
|
263703
|
+
this.myChart = null;
|
|
263704
|
+
}
|
|
263705
|
+
this.fetchInfrastructureData();
|
|
263706
|
+
this.initEcharts();
|
|
263707
|
+
},
|
|
263708
|
+
// 截断文本并添加省略号
|
|
263709
|
+
truncateText(text, maxLength = 15) {
|
|
263710
|
+
if (!text || text.length <= maxLength) {
|
|
263711
|
+
return text;
|
|
263712
|
+
}
|
|
263713
|
+
return text.substring(0, maxLength) + "...";
|
|
263714
|
+
},
|
|
263715
|
+
// 显示自定义提示框
|
|
263716
|
+
showTooltip(event, content) {
|
|
263717
|
+
// 如果内容长度不超过限制,不显示提示框
|
|
263718
|
+
if (content.length <= 15) return;
|
|
263719
|
+
|
|
263720
|
+
// 移除旧的提示框
|
|
263721
|
+
this.hideTooltip();
|
|
263722
|
+
|
|
263723
|
+
// 创建新的提示框
|
|
263724
|
+
const tooltip = document.createElement("div");
|
|
263725
|
+
tooltip.className = "custom-tooltip";
|
|
263726
|
+
tooltip.textContent = content;
|
|
263727
|
+
tooltip.style.position = "fixed";
|
|
263728
|
+
tooltip.style.zIndex = "9999";
|
|
263729
|
+
tooltip.style.background = "rgba(0, 0, 0, 0.9)";
|
|
263730
|
+
tooltip.style.color = "#fff";
|
|
263731
|
+
tooltip.style.padding = "8px";
|
|
263732
|
+
tooltip.style.borderRadius = "4px";
|
|
263733
|
+
tooltip.style.fontSize = "12px";
|
|
263734
|
+
tooltip.style.maxWidth = "300px";
|
|
263735
|
+
tooltip.style.wordBreak = "break-word";
|
|
263736
|
+
|
|
263737
|
+
// 设置位置,稍微偏移鼠标位置
|
|
263738
|
+
const rect = event.target.getBoundingClientRect();
|
|
263739
|
+
tooltip.style.left = event.clientX + 10 + "px";
|
|
263740
|
+
tooltip.style.top = event.clientY - 10 + "px";
|
|
263741
|
+
document.body.appendChild(tooltip);
|
|
263742
|
+
this.currentTooltip = tooltip;
|
|
263743
|
+
},
|
|
263744
|
+
// 隐藏提示框
|
|
263745
|
+
hideTooltip() {
|
|
263746
|
+
if (this.currentTooltip && this.currentTooltip.parentNode) {
|
|
263747
|
+
document.body.removeChild(this.currentTooltip);
|
|
263748
|
+
this.currentTooltip = null;
|
|
263749
|
+
}
|
|
263750
|
+
},
|
|
263751
|
+
// 获取基础设施数据
|
|
263752
|
+
fetchInfrastructureData() {
|
|
263753
|
+
let param = {
|
|
263754
|
+
sysid: "brain_cockpit",
|
|
263755
|
+
service_code: "API_003_035_006",
|
|
263756
|
+
parameters: {
|
|
263757
|
+
cityCode: this.popupAttr.adcode
|
|
263758
|
+
}
|
|
263759
|
+
};
|
|
263760
|
+
getpublicTrfList(param).then(response => {
|
|
263761
|
+
if (response.code === 200 && response.data) {
|
|
263762
|
+
this.infrastructureList = response.data;
|
|
263763
|
+
}
|
|
263764
|
+
}).catch(error => {
|
|
263765
|
+
console.error("获取基础设施数据失败:", error);
|
|
263766
|
+
});
|
|
263767
|
+
},
|
|
263768
|
+
initEcharts() {
|
|
263769
|
+
let param = {
|
|
263770
|
+
sysid: "brain_cockpit",
|
|
263771
|
+
service_code: "API_003_035_005",
|
|
263772
|
+
parameters: {
|
|
263773
|
+
transportId: this.popupAttr.adcode
|
|
263774
|
+
}
|
|
263775
|
+
};
|
|
263776
|
+
gettransportInfoList(param).then(response => {
|
|
263777
|
+
if (response.code === 200 && response.data) {
|
|
263778
|
+
const data = response.data;
|
|
263779
|
+
const values = [parseFloat(data.cityArea),
|
|
263780
|
+
// 面积
|
|
263781
|
+
parseFloat(data.population),
|
|
263782
|
+
// 常驻人口
|
|
263783
|
+
parseFloat(data.highspeedMileage),
|
|
263784
|
+
// 高速铁路
|
|
263785
|
+
parseFloat(data.railwayMileage),
|
|
263786
|
+
// 铁路
|
|
263787
|
+
parseFloat(data.roadMileage),
|
|
263788
|
+
// 公路
|
|
263789
|
+
parseFloat(data.freewayMileage) // 高速公路
|
|
263790
|
+
];
|
|
263791
|
+
// 初始化或复用图表实例
|
|
263792
|
+
if (!this.myChart) {
|
|
263793
|
+
this.myChart = echarts_init(this.$refs.etCharts);
|
|
263794
|
+
} else {
|
|
263795
|
+
this.myChart.resize();
|
|
263796
|
+
}
|
|
263797
|
+
let myChart = this.myChart;
|
|
263798
|
+
var legendData = ["城市综合评估"];
|
|
263799
|
+
var indicator = [{
|
|
263800
|
+
text: "面积",
|
|
263801
|
+
max: 17192
|
|
263802
|
+
}, {
|
|
263803
|
+
text: "常驻人口",
|
|
263804
|
+
max: 1101.8
|
|
263805
|
+
}, {
|
|
263806
|
+
text: "高速铁路",
|
|
263807
|
+
max: 460
|
|
263808
|
+
}, {
|
|
263809
|
+
text: "铁路",
|
|
263810
|
+
max: 835
|
|
263811
|
+
}, {
|
|
263812
|
+
text: "公路",
|
|
263813
|
+
max: 33072.2
|
|
263814
|
+
}, {
|
|
263815
|
+
text: "高速公路",
|
|
263816
|
+
max: 908.6
|
|
263817
|
+
}];
|
|
263818
|
+
var dataArr = [{
|
|
263819
|
+
value: values,
|
|
263820
|
+
name: legendData[0],
|
|
263821
|
+
itemStyle: {
|
|
263822
|
+
normal: {
|
|
263823
|
+
lineStyle: {
|
|
263824
|
+
color: "#4BFFFC"
|
|
263825
|
+
},
|
|
263826
|
+
shadowColor: "#4BFFFC",
|
|
263827
|
+
shadowBlur: 10
|
|
263828
|
+
}
|
|
263829
|
+
},
|
|
263830
|
+
areaStyle: {
|
|
263831
|
+
normal: {
|
|
263832
|
+
color: {
|
|
263833
|
+
type: "linear",
|
|
263834
|
+
x: 0,
|
|
263835
|
+
y: 0,
|
|
263836
|
+
x2: 1,
|
|
263837
|
+
y2: 1,
|
|
263838
|
+
colorStops: [{
|
|
263839
|
+
offset: 0,
|
|
263840
|
+
color: "#4BFFFC"
|
|
263841
|
+
}, {
|
|
263842
|
+
offset: 0.5,
|
|
263843
|
+
color: "rgba(0,0,0,0)"
|
|
263844
|
+
}, {
|
|
263845
|
+
offset: 1,
|
|
263846
|
+
color: "#4BFFFC"
|
|
263847
|
+
}],
|
|
263848
|
+
globalCoord: false
|
|
263849
|
+
},
|
|
263850
|
+
opacity: 1
|
|
263851
|
+
}
|
|
263852
|
+
}
|
|
263853
|
+
}];
|
|
263854
|
+
var colorArr = ["#4BFFFC"];
|
|
263855
|
+
let option = {
|
|
263856
|
+
color: colorArr,
|
|
263857
|
+
tooltip: {
|
|
263858
|
+
trigger: "item",
|
|
263859
|
+
position: "inside",
|
|
263860
|
+
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
263861
|
+
borderColor: "rgba(75, 255, 252, 0.3)",
|
|
263862
|
+
borderWidth: 1,
|
|
263863
|
+
textStyle: {
|
|
263864
|
+
color: "#fff",
|
|
263865
|
+
fontSize: 10
|
|
263866
|
+
},
|
|
263867
|
+
padding: 5
|
|
263868
|
+
},
|
|
263869
|
+
radar: {
|
|
263870
|
+
center: ["50%", "50%"],
|
|
263871
|
+
radius: ["0%", "60%"],
|
|
263872
|
+
name: {
|
|
263873
|
+
textStyle: {
|
|
263874
|
+
color: "#fff",
|
|
263875
|
+
fontSize: 10
|
|
263876
|
+
},
|
|
263877
|
+
padding: [0, 0, 0, 0]
|
|
263878
|
+
},
|
|
263879
|
+
indicator: indicator,
|
|
263880
|
+
splitArea: {
|
|
263881
|
+
show: true,
|
|
263882
|
+
areaStyle: {
|
|
263883
|
+
color: ["rgba(255,255,255,0)", "rgba(255,255,255,0)"]
|
|
263884
|
+
}
|
|
263885
|
+
},
|
|
263886
|
+
axisLine: {
|
|
263887
|
+
lineStyle: {
|
|
263888
|
+
color: "#153269",
|
|
263889
|
+
width: 0.5
|
|
263890
|
+
}
|
|
263891
|
+
},
|
|
263892
|
+
splitLine: {
|
|
263893
|
+
lineStyle: {
|
|
263894
|
+
color: "#3583b0",
|
|
263895
|
+
width: 0.8
|
|
263896
|
+
}
|
|
263897
|
+
}
|
|
263898
|
+
},
|
|
263899
|
+
series: [{
|
|
263900
|
+
type: "radar",
|
|
263901
|
+
symbolSize: 3,
|
|
263902
|
+
lineStyle: {
|
|
263903
|
+
width: 1
|
|
263904
|
+
},
|
|
263905
|
+
areaStyle: {
|
|
263906
|
+
opacity: 0.7
|
|
263907
|
+
},
|
|
263908
|
+
data: dataArr
|
|
263909
|
+
}]
|
|
263910
|
+
};
|
|
263911
|
+
myChart.setOption(option);
|
|
263912
|
+
}
|
|
263913
|
+
});
|
|
263914
|
+
}
|
|
263915
|
+
},
|
|
263916
|
+
watch: {
|
|
263917
|
+
popupAttr: {
|
|
263918
|
+
handler(newVal, oldVal) {
|
|
263919
|
+
if (newVal && newVal.adcode && newVal.adcode !== (oldVal === null || oldVal === void 0 ? void 0 : oldVal.adcode)) {
|
|
263920
|
+
this.fuyuanv();
|
|
263921
|
+
}
|
|
263922
|
+
},
|
|
263923
|
+
deep: true
|
|
263924
|
+
}
|
|
263925
|
+
}
|
|
263926
|
+
});
|
|
263927
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue?vue&type=script&lang=js
|
|
263928
|
+
/* harmony default export */ var corridorLayers_CityAreaLayervue_type_script_lang_js = (CityAreaLayervue_type_script_lang_js);
|
|
263929
|
+
// EXTERNAL MODULE: ./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue?vue&type=style&index=0&id=5e1a4ac4&prod&scoped=true&lang=css
|
|
263930
|
+
var CityAreaLayervue_type_style_index_0_id_5e1a4ac4_prod_scoped_true_lang_css = __webpack_require__("4601");
|
|
263931
|
+
|
|
263932
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue
|
|
263933
|
+
|
|
263934
|
+
|
|
263935
|
+
|
|
263936
|
+
|
|
263937
|
+
|
|
263938
|
+
|
|
263939
|
+
/* normalize component */
|
|
263940
|
+
|
|
263941
|
+
var CityAreaLayer_component = normalizeComponent(
|
|
263942
|
+
corridorLayers_CityAreaLayervue_type_script_lang_js,
|
|
263943
|
+
CityAreaLayervue_type_template_id_5e1a4ac4_scoped_true_render,
|
|
263944
|
+
CityAreaLayervue_type_template_id_5e1a4ac4_scoped_true_staticRenderFns,
|
|
263945
|
+
false,
|
|
263946
|
+
null,
|
|
263947
|
+
"5e1a4ac4",
|
|
263948
|
+
null
|
|
263949
|
+
|
|
263950
|
+
)
|
|
263951
|
+
|
|
263952
|
+
/* harmony default export */ var CityAreaLayer = (CityAreaLayer_component.exports);
|
|
263656
263953
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0e2c32fd-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/shippingLayers/InRiverCapacityLayer.vue?vue&type=template&id=80e9dcca&scoped=true
|
|
263657
263954
|
var InRiverCapacityLayervue_type_template_id_80e9dcca_scoped_true_render = function render() {
|
|
263658
263955
|
var _vm = this,
|
|
@@ -264466,7 +264763,6 @@ function layersApi_getCongestionEventLayerData() {
|
|
|
264466
264763
|
});
|
|
264467
264764
|
}
|
|
264468
264765
|
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/js/initBaseLayers.js
|
|
264469
|
-
// 自定义打点
|
|
264470
264766
|
// 交通事件--事件通用
|
|
264471
264767
|
// 交通事件--拥堵事件
|
|
264472
264768
|
// 交通事件--服务区异常
|
|
@@ -264482,10 +264778,11 @@ function layersApi_getCongestionEventLayerData() {
|
|
|
264482
264778
|
// 附属设备--水运相机
|
|
264483
264779
|
// 附属设备--高速相机
|
|
264484
264780
|
// 旅游走廊
|
|
264781
|
+
// 城市区域
|
|
264485
264782
|
// 重大活动--活动地点
|
|
264486
264783
|
/* harmony default export */ var js_initBaseLayers = ({data(){return{lastHoverFeature:null,// 记录上一次悬停的要素
|
|
264487
|
-
isCluster:false,eventCluster:true,echartslayer:null,congestedRoadLayer:null,tiandituLayer:null,darkUrl:"http://service.sdmap.gov.cn/tileservice/dsfg_asdxb?"
|
|
264488
|
-
geoJSONUrl:"/china_full.json",sdAreaUrl:"/sdArea.json",subwayLineUrl:"/ditieline.json",darkFillColor:"#1b2639",lightFillColor:"#eeeee9",darkStrokeColor:"#3578E0",lightStrokeColor:"#b4b4b1"};},methods:{initBaseLayers(){let that=this;// 加载WMTS
|
|
264784
|
+
isCluster:false,eventCluster:true,echartslayer:null,congestedRoadLayer:null,tiandituLayer:null,darkUrl:"http://service.sdmap.gov.cn/tileservice/dsfg_asdxb?",// lightUrl: "https://service.sdmap.gov.cn/tileservice/dsfg_qsb?",
|
|
264785
|
+
lightUrl:"https://service.sdmap.gov.cn/tileservice/sdpubmap?",geoJSONUrl:"/china_full.json",sdAreaUrl:"/sdArea.json",subwayLineUrl:"/ditieline.json",darkFillColor:"#1b2639",lightFillColor:"#eeeee9",darkStrokeColor:"#3578E0",lightStrokeColor:"#b4b4b1"};},methods:{initBaseLayers(){let that=this;// 加载WMTS
|
|
264489
264786
|
// let resolutions = [
|
|
264490
264787
|
// 0.010986328125, 0.0054931640625, 0.00274658283125, 0.001373291815625,
|
|
264491
264788
|
// 0.0006866455078125, 0.00034332275390625, 0.000171661376953125,
|
|
@@ -264540,34 +264837,17 @@ style:function(feature){return new Style["default"]({fill:new Fill["default"]({c
|
|
|
264540
264837
|
width:1// 边界线宽度
|
|
264541
264838
|
})});}});this.map.addLayer(this.china_full_Layer);});//监听点击事件
|
|
264542
264839
|
let elPopup=this.$refs.popup;this.overlayPopup=new Overlay["a" /* default */]({element:elPopup,positioning:"bottom-right",stopEvent:true,autoPan:false});this.map.addOverlay(this.overlayPopup);this.map.on("click",e=>{// 检查是否正在进行区域分析绘制
|
|
264543
|
-
const isAreaAnalysisDrawing=this.map.getProperties().isAreaAnalysisDrawing||false;if(!isAreaAnalysisDrawing){let mousePoint=e.coordinate;this.initialPoint=mousePoint;let popupHeaderTitle=document.getElementById("popupHeaderTitle");let feature=this.map.forEachFeatureAtPixel(e.pixel,feature=>{return feature;});if(feature){if(feature.getProperties().features){if(feature.getProperties().features.length>1){const features=feature.getProperties().features;if(this.map.getView().getZoom()>=18){this.popupHeight=350;this.popupWidth=430;this.currentTabComponent=component_ClusterList;this.popupAttributes=features;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="点位列表";this.showPopup();let fontSize=Number(document.getElementsByTagName("html")[0].style.fontSize.split("px")[0]);let popupHeight=this.popupHeight/153.6*fontSize;let popupWidth=this.popupWidth/153.6*fontSize;this.overlayPopup.setPosition(mousePoint);this.overlayPopup.setOffset([-popupWidth/2,-popupHeight]);let pixelPoint=this.map.getPixelFromCoordinate(mousePoint);let newpixelPoint=[pixelPoint[0],pixelPoint[1]-150];let newCenterPoint=this.map.getCoordinateFromPixel(newpixelPoint)
|
|
264544
|
-
// center: newCenterPoint,
|
|
264545
|
-
// duration: 800,
|
|
264546
|
-
// });
|
|
264547
|
-
this.overlayPopup.set("popupBS","clusterList");}else{// this.map.getView().animate({
|
|
264548
|
-
// center: feature.getGeometry().getCoordinates(),
|
|
264549
|
-
// zoom: this.map.getView().getZoom() * 2,
|
|
264550
|
-
// duration: 1200,
|
|
264551
|
-
// });
|
|
264552
|
-
}}else{let properties=feature.getProperties().features[0].getProperties();if(properties){if(properties.isDrawn)return;if(properties.popoup===false){let pixelPoint=null;if(mousePoint){pixelPoint=this.map.getPixelFromCoordinate(mousePoint);}that.$emit("clickPointEvent",properties,pixelPoint);return;}let pixelPoint=null;if(mousePoint){pixelPoint=this.map.getPixelFromCoordinate(mousePoint);}this.$emit("clickPointEvent",properties,pixelPoint);const type=properties.type;const data=properties;if(type){switch(type){case"customPoint":this.popupHeight=data.popupHeight-50;this.popupWidth=data.popupWidth-20;this.currentTabComponent=customPointLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.popupTitle;this.zoomInBylatlon([data.longitude,data.latitude],this.map.getView().getZoom());break;case"emergency":this.popupHeight=350;this.popupWidth=560;this.currentTabComponent=EmergencyLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="突发事件";break;case"otherEvents":this.popupHeight=170;this.popupWidth=430;this.currentTabComponent=otherLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="其它事件";break;case"construction":this.popupHeight=200;this.popupWidth=430;this.currentTabComponent=otherLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="养护施工";break;case"tollAbnormal":this.popupHeight=330;this.popupWidth=560;this.currentTabComponent=EmergencyLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="收费站异常";break;case"weatherAbnormal":this.popupHeight=250;this.popupWidth=470;this.currentTabComponent=Weatherevent;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="异常天气";break;case"serviceAreaAbnormal":this.popupHeight=200;this.popupWidth=430;this.currentTabComponent=ServiceAreaAbnormalLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="服务区异常";break;case"aiEvent":this.popupHeight=390;this.popupWidth=570;this.currentTabComponent=AIeventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="AI告警事件";break;case"congestionEvent":this.popupHeight=180;this.popupWidth=560;this.currentTabComponent=CongestionEventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="拥堵事件";break;case"tollStation":this.popupHeight=350;this.popupWidth=330;this.currentTabComponent=TollStationLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="收费站";break;case"serviceArea":this.popupHeight=350;this.popupWidth=330;this.currentTabComponent=ServiceAreaLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="服务区";break;case"trainStation":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=TrainStationLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="客运站";break;case"port":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=PortLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="港口";break;case"majorEvent":this.popupHeight=255;this.popupWidth=330;this.currentTabComponent=MajorEventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="活动地点";break;case"airPort":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=AirportLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="机场";break;case"HSRoadCamera":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=HSRoadCameraLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="高速相机";break;case"SYRoadCamera":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=SYRoadCameraLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="水运相机";break;case"throughCulver":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=ThroughCulvertLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="下穿涵洞";break;case"lonandlatTopile":this.popupHeight=85;this.popupWidth=360;this.currentTabComponent=component_LonlatTopile;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="经纬度转桩号";break;case"latlonPick":this.popupHeight=55;this.popupWidth=360;this.currentTabComponent=component_LatlonPick;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="坐标拾取";break;case"travelPoint":this.popupHeight=500;this.popupWidth=730;this.currentTabComponent=TravelPointLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.name;break;case"inRiverCapacity":this.popupHeight=350;this.popupWidth=420;this.currentTabComponent=InRiverCapacityLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.portName;break;case"inRiverUPCapacity":this.popupHeight=350;this.popupWidth=420;this.currentTabComponent=InRiverUPCapacityLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.portName;break;}this.showPopup();}}else{this.closePopup();}// this.overlayPopup.setPosition(mousePoint);
|
|
264840
|
+
const isAreaAnalysisDrawing=this.map.getProperties().isAreaAnalysisDrawing||false;if(!isAreaAnalysisDrawing){let mousePoint=e.coordinate;this.initialPoint=mousePoint;let popupHeaderTitle=document.getElementById("popupHeaderTitle");let feature=this.map.forEachFeatureAtPixel(e.pixel,feature=>{return feature;});if(feature){if(feature.getProperties().features){if(feature.getProperties().features.length>1){const features=feature.getProperties().features;if(this.map.getView().getZoom()>=18){this.popupHeight=350;this.popupWidth=430;this.currentTabComponent=component_ClusterList;this.popupAttributes=features;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="点位列表";this.showPopup();let fontSize=Number(document.getElementsByTagName("html")[0].style.fontSize.split("px")[0]);let popupHeight=this.popupHeight/153.6*fontSize;let popupWidth=this.popupWidth/153.6*fontSize;this.overlayPopup.setPosition(mousePoint);this.overlayPopup.setOffset([-popupWidth/2,-popupHeight]);let pixelPoint=this.map.getPixelFromCoordinate(mousePoint);let newpixelPoint=[pixelPoint[0],pixelPoint[1]-150];let newCenterPoint=this.map.getCoordinateFromPixel(newpixelPoint);this.map.getView().animate({center:newCenterPoint,duration:800});this.overlayPopup.set("popupBS","clusterList");}else{this.map.getView().animate({center:feature.getGeometry().getCoordinates(),zoom:this.map.getView().getZoom()*2,duration:1200});}}else{let properties=feature.getProperties().features[0].getProperties();if(properties){if(properties.isDrawn)return;if(properties.popoup===false){let pixelPoint=null;if(mousePoint){pixelPoint=this.map.getPixelFromCoordinate(mousePoint);}that.$emit("clickPointEvent",properties,pixelPoint);return;}const type=properties.type;const data=properties;if(type){switch(type){case"emergency":this.popupHeight=350;this.popupWidth=560;this.currentTabComponent=EmergencyLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="突发事件";break;case"otherEvents":this.popupHeight=170;this.popupWidth=430;this.currentTabComponent=otherLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="其它事件";break;case"construction":this.popupHeight=200;this.popupWidth=430;this.currentTabComponent=otherLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="养护施工";break;case"tollAbnormal":this.popupHeight=330;this.popupWidth=560;this.currentTabComponent=EmergencyLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="收费站异常";break;case"weatherAbnormal":this.popupHeight=250;this.popupWidth=470;this.currentTabComponent=Weatherevent;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="异常天气";break;case"serviceAreaAbnormal":this.popupHeight=200;this.popupWidth=430;this.currentTabComponent=ServiceAreaAbnormalLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="服务区异常";break;case"aiEvent":this.popupHeight=390;this.popupWidth=570;this.currentTabComponent=AIeventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="AI告警事件";break;case"congestionEvent":this.popupHeight=180;this.popupWidth=560;this.currentTabComponent=CongestionEventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="拥堵事件";break;case"tollStation":this.popupHeight=350;this.popupWidth=330;this.currentTabComponent=TollStationLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="收费站";break;case"serviceArea":this.popupHeight=350;this.popupWidth=330;this.currentTabComponent=ServiceAreaLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="服务区";break;case"trainStation":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=TrainStationLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="客运站";break;case"port":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=PortLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="港口";break;case"majorEvent":this.popupHeight=255;this.popupWidth=330;this.currentTabComponent=MajorEventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="活动地点";break;case"airPort":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=AirportLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="机场";break;case"HSRoadCamera":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=HSRoadCameraLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="高速相机";break;case"SYRoadCamera":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=SYRoadCameraLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="水运相机";break;case"throughCulver":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=ThroughCulvertLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="下穿涵洞";break;case"lonandlatTopile":this.popupHeight=85;this.popupWidth=360;this.currentTabComponent=component_LonlatTopile;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="经纬度转桩号";break;case"latlonPick":this.popupHeight=55;this.popupWidth=360;this.currentTabComponent=component_LatlonPick;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="坐标拾取";break;case"travelPoint":this.popupHeight=500;this.popupWidth=730;this.currentTabComponent=TravelPointLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.name;break;case"inRiverCapacity":this.popupHeight=350;this.popupWidth=420;this.currentTabComponent=InRiverCapacityLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.portName;break;case"inRiverUPCapacity":this.popupHeight=350;this.popupWidth=420;this.currentTabComponent=InRiverUPCapacityLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.portName;break;case"cityArea":this.popupHeight=530;this.popupWidth=400;this.currentTabComponent=CityAreaLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML='都市圈综合分析';break;}this.showPopup();}}else{this.closePopup();}// this.overlayPopup.setPosition(mousePoint);
|
|
264553
264841
|
// this.overlayPopup.setOffset([
|
|
264554
264842
|
// -this.popupWidth / 2,
|
|
264555
264843
|
// -this.popupHeight,
|
|
264556
264844
|
// ]);
|
|
264557
|
-
let fontSize=Number(document.getElementsByTagName("html")[0].style.fontSize.split("px")[0]);let popupHeight=this.popupHeight/153.6*fontSize;let popupWidth=this.popupWidth/153.6*fontSize;this.overlayPopup.setPosition(mousePoint);this.overlayPopup.setOffset([-popupWidth/2,-popupHeight]);let pixelPoint=this.map.getPixelFromCoordinate(mousePoint);let newpixelPoint=[pixelPoint[0],pixelPoint[1]-150];let newCenterPoint=this.map.getCoordinateFromPixel(newpixelPoint)
|
|
264558
|
-
// center: newCenterPoint,
|
|
264559
|
-
// duration: 800,
|
|
264560
|
-
// });
|
|
264561
|
-
}}else{let properties=feature.getProperties();if(properties){if(properties.isDrawn)return;if(properties.popoup===false){let pixelPoint=null;if(mousePoint){pixelPoint=this.map.getPixelFromCoordinate(mousePoint);}that.$emit("clickPointEvent",properties,pixelPoint);return;}let pixelPoint=null;if(mousePoint){pixelPoint=this.map.getPixelFromCoordinate(mousePoint);}this.$emit("clickPointEvent",properties,pixelPoint);const type=properties.type;const data=properties;if(type){switch(type){case"customPoint":this.popupHeight=data.popupHeight-50;this.popupWidth=data.popupWidth-20;this.currentTabComponent=customPointLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.popupTitle;this.zoomInBylatlon([data.longitude,data.latitude],this.map.getView().getZoom());break;case"emergency":this.popupHeight=350;this.popupWidth=560;this.currentTabComponent=EmergencyLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="突发事件";break;case"otherEvents":this.popupHeight=170;this.popupWidth=430;this.currentTabComponent=otherLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="其它事件";break;case"construction":this.popupHeight=200;this.popupWidth=430;this.currentTabComponent=otherLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="养护施工";break;case"tollAbnormal":this.popupHeight=330;this.popupWidth=560;this.currentTabComponent=EmergencyLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="收费站异常";break;case"weatherAbnormal":this.popupHeight=250;this.popupWidth=470;this.currentTabComponent=Weatherevent;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="异常天气";break;case"serviceAreaAbnormal":this.popupHeight=200;this.popupWidth=430;this.currentTabComponent=ServiceAreaAbnormalLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="服务区异常";break;case"aiEvent":this.popupHeight=390;this.popupWidth=570;this.currentTabComponent=AIeventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="AI告警事件";break;case"congestionEvent":this.popupHeight=180;this.popupWidth=560;this.currentTabComponent=CongestionEventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="拥堵事件";break;case"tollStation":this.popupHeight=350;this.popupWidth=330;this.currentTabComponent=TollStationLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="收费站";break;case"serviceArea":this.popupHeight=350;this.popupWidth=330;this.currentTabComponent=ServiceAreaLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="服务区";break;case"trainStation":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=TrainStationLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="客运站";break;case"port":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=PortLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="港口";break;case"majorEvent":this.popupHeight=255;this.popupWidth=330;this.currentTabComponent=MajorEventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="活动地点";break;case"airPort":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=AirportLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="机场";break;case"HSRoadCamera":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=HSRoadCameraLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="高速相机";break;case"SYRoadCamera":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=SYRoadCameraLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="水运相机";break;case"throughCulver":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=ThroughCulvertLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="下穿涵洞";break;case"lonandlatTopile":this.popupHeight=85;this.popupWidth=360;this.currentTabComponent=component_LonlatTopile;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="经纬度转桩号";break;case"latlonPick":this.popupHeight=55;this.popupWidth=360;this.currentTabComponent=component_LatlonPick;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="坐标拾取";break;case"travelPoint":this.popupHeight=500;this.popupWidth=730;this.currentTabComponent=TravelPointLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.name;break;case"inRiverCapacity":this.popupHeight=350;this.popupWidth=420;this.currentTabComponent=InRiverCapacityLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.portName;break;case"inRiverUPCapacity":this.popupHeight=350;this.popupWidth=420;this.currentTabComponent=InRiverUPCapacityLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.portName;break;}this.showPopup();}else{this.closePopup();}}else{this.closePopup();}// this.overlayPopup.setPosition(mousePoint);
|
|
264845
|
+
let fontSize=Number(document.getElementsByTagName("html")[0].style.fontSize.split("px")[0]);let popupHeight=this.popupHeight/153.6*fontSize;let popupWidth=this.popupWidth/153.6*fontSize;this.overlayPopup.setPosition(mousePoint);this.overlayPopup.setOffset([-popupWidth/2,-popupHeight]);let pixelPoint=this.map.getPixelFromCoordinate(mousePoint);let newpixelPoint=[pixelPoint[0],pixelPoint[1]-150];let newCenterPoint=this.map.getCoordinateFromPixel(newpixelPoint);this.map.getView().animate({center:newCenterPoint,duration:800});}}else{let properties=feature.getProperties();if(properties){if(properties.isDrawn)return;if(properties.popoup===false){let pixelPoint=null;if(mousePoint){pixelPoint=this.map.getPixelFromCoordinate(mousePoint);}that.$emit("clickPointEvent",properties,pixelPoint);return;}const type=properties.type;const data=properties;if(type){switch(type){case"emergency":this.popupHeight=350;this.popupWidth=560;this.currentTabComponent=EmergencyLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="突发事件";break;case"otherEvents":this.popupHeight=170;this.popupWidth=430;this.currentTabComponent=otherLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="其它事件";break;case"construction":this.popupHeight=200;this.popupWidth=430;this.currentTabComponent=otherLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="养护施工";break;case"tollAbnormal":this.popupHeight=330;this.popupWidth=560;this.currentTabComponent=EmergencyLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="收费站异常";break;case"weatherAbnormal":this.popupHeight=250;this.popupWidth=470;this.currentTabComponent=Weatherevent;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="异常天气";break;case"serviceAreaAbnormal":this.popupHeight=200;this.popupWidth=430;this.currentTabComponent=ServiceAreaAbnormalLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="服务区异常";break;case"aiEvent":this.popupHeight=390;this.popupWidth=570;this.currentTabComponent=AIeventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="AI告警事件";break;case"congestionEvent":this.popupHeight=180;this.popupWidth=560;this.currentTabComponent=CongestionEventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="拥堵事件";break;case"tollStation":this.popupHeight=350;this.popupWidth=330;this.currentTabComponent=TollStationLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="收费站";break;case"serviceArea":this.popupHeight=350;this.popupWidth=330;this.currentTabComponent=ServiceAreaLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="服务区";break;case"trainStation":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=TrainStationLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="客运站";break;case"port":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=PortLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="港口";break;case"majorEvent":this.popupHeight=255;this.popupWidth=330;this.currentTabComponent=MajorEventLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="活动地点";break;case"airPort":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=AirportLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="机场";break;case"HSRoadCamera":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=HSRoadCameraLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="高速相机";break;case"SYRoadCamera":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=SYRoadCameraLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="水运相机";break;case"throughCulver":this.popupHeight=315;this.popupWidth=330;this.currentTabComponent=ThroughCulvertLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="下穿涵洞";break;case"lonandlatTopile":this.popupHeight=85;this.popupWidth=360;this.currentTabComponent=component_LonlatTopile;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="经纬度转桩号";break;case"latlonPick":this.popupHeight=55;this.popupWidth=360;this.currentTabComponent=component_LatlonPick;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML="坐标拾取";break;case"travelPoint":this.popupHeight=500;this.popupWidth=730;this.currentTabComponent=TravelPointLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.name;break;case"inRiverCapacity":this.popupHeight=350;this.popupWidth=420;this.currentTabComponent=InRiverCapacityLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.portName;break;case"inRiverUPCapacity":this.popupHeight=350;this.popupWidth=420;this.currentTabComponent=InRiverUPCapacityLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML=data.otherInfo.portName;break;case"cityArea":this.popupHeight=530;this.popupWidth=400;this.currentTabComponent=CityAreaLayer;this.popupAttributes=data;popupHeaderTitle.innerHTML="";popupHeaderTitle.innerHTML='都市圈综合分析';break;}this.showPopup();}else{this.closePopup();}}else{this.closePopup();}// this.overlayPopup.setPosition(mousePoint);
|
|
264562
264846
|
// this.overlayPopup.setOffset([
|
|
264563
264847
|
// -this.popupWidth / 2,
|
|
264564
264848
|
// -this.popupHeight - 20,
|
|
264565
264849
|
// ]);
|
|
264566
|
-
let fontSize=Number(document.getElementsByTagName("html")[0].style.fontSize.split("px")[0]);let popupHeight=this.popupHeight/192*fontSize;let popupWidth=this.popupWidth/192*fontSize;this.overlayPopup.setPosition(mousePoint);this.overlayPopup.setOffset([-popupWidth/2,-popupHeight]);let pixelPoint=this.map.getPixelFromCoordinate(mousePoint);let newpixelPoint=[pixelPoint[0],pixelPoint[1]-150];let newCenterPoint=this.map.getCoordinateFromPixel(newpixelPoint)
|
|
264567
|
-
// center: newCenterPoint,
|
|
264568
|
-
// duration: 800,
|
|
264569
|
-
// });
|
|
264570
|
-
}}else{this.closePopup();}}});this.map.on("pointermove",e=>{let feature=this.map.forEachFeatureAtPixel(e.pixel,feature=>{return feature;});if(feature!==this.lastHoverFeature){if(this.lastHoverFeature){that.$emit("pointerOutEvent",this.lastHoverFeature.getProperties());}if(feature){let pixelPoint=null;if(feature.getProperties().longitude&&feature.getProperties().latitude){let latlon=[feature.getProperties().longitude,feature.getProperties().latitude];pixelPoint=this.map.getPixelFromCoordinate(latlon);}that.$emit("pointerMoveEvent",feature.getProperties(),pixelPoint);}this.lastHoverFeature=feature;}});},initRadarLayers(){let radarLayer=new layer_Image["default"]({layerName:"radarLayer",zIndex:88});this.map.addLayer(radarLayer);// 先调用API获取precTileInfo信息
|
|
264850
|
+
let fontSize=Number(document.getElementsByTagName("html")[0].style.fontSize.split("px")[0]);let popupHeight=this.popupHeight/192*fontSize;let popupWidth=this.popupWidth/192*fontSize;this.overlayPopup.setPosition(mousePoint);this.overlayPopup.setOffset([-popupWidth/2,-popupHeight]);let pixelPoint=this.map.getPixelFromCoordinate(mousePoint);let newpixelPoint=[pixelPoint[0],pixelPoint[1]-150];let newCenterPoint=this.map.getCoordinateFromPixel(newpixelPoint);this.map.getView().animate({center:newCenterPoint,duration:800});}}else{this.closePopup();}}});this.map.on("pointermove",e=>{let feature=this.map.forEachFeatureAtPixel(e.pixel,feature=>{return feature;});if(feature!==this.lastHoverFeature){if(this.lastHoverFeature){that.$emit("pointerOutEvent",this.lastHoverFeature.getProperties());}if(feature){let pixelPoint=null;if(feature.getProperties().longitude&&feature.getProperties().latitude){let latlon=[feature.getProperties().longitude,feature.getProperties().latitude];pixelPoint=this.map.getPixelFromCoordinate(latlon);}that.$emit("pointerMoveEvent",feature.getProperties(),pixelPoint);}this.lastHoverFeature=feature;}});},initRadarLayers(){let radarLayer=new layer_Image["default"]({layerName:"radarLayer",zIndex:88});this.map.addLayer(radarLayer);// 先调用API获取precTileInfo信息
|
|
264571
264851
|
fetch("http://api.datamatrices.com/api/precTileInfo/114.60168/34.260503/122.919454/38.400545").then(response=>response.json()).then(data=>{// 从返回数据中获取forecastTime和tileName
|
|
264572
264852
|
const forecastTime=data.data.forecastTime;// 假设返回数据中有forecastTime字段
|
|
264573
264853
|
const tileName=data.data.tileName;// 假设返回数据中有tileName字段
|
|
@@ -265654,6 +265934,9 @@ var scratch = __webpack_require__("c1ec");
|
|
|
265654
265934
|
case "旅游走廊":
|
|
265655
265935
|
this.initTravelLayer();
|
|
265656
265936
|
break;
|
|
265937
|
+
case "都市圈":
|
|
265938
|
+
this.initdushiquanLayer();
|
|
265939
|
+
break;
|
|
265657
265940
|
case "三维效果演示":
|
|
265658
265941
|
this.initBIMand3DLayer();
|
|
265659
265942
|
break;
|
|
@@ -265860,334 +266143,70 @@ var es_error_cause = __webpack_require__("d9e2");
|
|
|
265860
266143
|
// EXTERNAL MODULE: ./node_modules/ol/style/RegularShape.js
|
|
265861
266144
|
var ol_style_RegularShape = __webpack_require__("35d8");
|
|
265862
266145
|
|
|
265863
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0e2c32fd-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/
|
|
265864
|
-
var
|
|
266146
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0e2c32fd-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=template&id=3b5ee555&scoped=true
|
|
266147
|
+
var customPointLayervue_type_template_id_3b5ee555_scoped_true_render = function render() {
|
|
265865
266148
|
var _vm = this,
|
|
265866
266149
|
_c = _vm._self._c;
|
|
265867
|
-
return _c('div', {
|
|
265868
|
-
|
|
265869
|
-
|
|
265870
|
-
|
|
266150
|
+
return _vm.isshow ? _c('div', {
|
|
266151
|
+
style: {
|
|
266152
|
+
height: _vm.height,
|
|
266153
|
+
width: _vm.width
|
|
266154
|
+
}
|
|
266155
|
+
}, [_c('iframe', {
|
|
265871
266156
|
staticStyle: {
|
|
265872
|
-
"
|
|
265873
|
-
"
|
|
266157
|
+
"width": "100%",
|
|
266158
|
+
"height": "100%",
|
|
266159
|
+
"border": "none"
|
|
266160
|
+
},
|
|
266161
|
+
attrs: {
|
|
266162
|
+
"src": _vm.popupAttr.popupUrl
|
|
265874
266163
|
}
|
|
265875
|
-
})
|
|
265876
|
-
staticClass: "data-list"
|
|
265877
|
-
}, [_vm._m(0), _c('div', {
|
|
265878
|
-
staticClass: "list-content"
|
|
265879
|
-
}, _vm._l(_vm.infrastructureList, function (item, index) {
|
|
265880
|
-
return _c('div', {
|
|
265881
|
-
key: index,
|
|
265882
|
-
staticClass: "list-item"
|
|
265883
|
-
}, [_c('div', {
|
|
265884
|
-
staticClass: "list-cell"
|
|
265885
|
-
}, [_vm._v(_vm._s(item.transportName))]), _c('div', {
|
|
265886
|
-
staticClass: "list-cell"
|
|
265887
|
-
}, [_vm._v(_vm._s(item.infrastructureCount))]), _c('div', {
|
|
265888
|
-
staticClass: "list-cell remark",
|
|
265889
|
-
on: {
|
|
265890
|
-
"mouseenter": function ($event) {
|
|
265891
|
-
return _vm.showTooltip($event, item.remark);
|
|
265892
|
-
},
|
|
265893
|
-
"mouseleave": _vm.hideTooltip
|
|
265894
|
-
}
|
|
265895
|
-
}, [_vm._v(" " + _vm._s(_vm.truncateText(item.remark, 15)) + " ")])]);
|
|
265896
|
-
}), 0)])]);
|
|
266164
|
+
})]) : _vm._e();
|
|
265897
266165
|
};
|
|
265898
|
-
var
|
|
265899
|
-
var _vm = this,
|
|
265900
|
-
_c = _vm._self._c;
|
|
265901
|
-
return _c('div', {
|
|
265902
|
-
staticClass: "list-header"
|
|
265903
|
-
}, [_c('div', {
|
|
265904
|
-
staticClass: "header-item"
|
|
265905
|
-
}, [_vm._v("公共交通客运")]), _c('div', {
|
|
265906
|
-
staticClass: "header-item"
|
|
265907
|
-
}, [_vm._v("基础设施数量")]), _c('div', {
|
|
265908
|
-
staticClass: "header-item"
|
|
265909
|
-
}, [_vm._v("设施说明")])]);
|
|
265910
|
-
}];
|
|
265911
|
-
|
|
265912
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue?vue&type=template&id=b70a5ef4&scoped=true
|
|
266166
|
+
var customPointLayervue_type_template_id_3b5ee555_scoped_true_staticRenderFns = [];
|
|
265913
266167
|
|
|
265914
|
-
// CONCATENATED MODULE: ./
|
|
266168
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=template&id=3b5ee555&scoped=true
|
|
265915
266169
|
|
|
265916
|
-
|
|
265917
|
-
|
|
266170
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=script&lang=js
|
|
266171
|
+
/* harmony default export */ var customPointLayervue_type_script_lang_js = ({
|
|
266172
|
+
name: '',
|
|
266173
|
+
components: {},
|
|
266174
|
+
created() {},
|
|
266175
|
+
mounted() {},
|
|
265918
266176
|
props: {
|
|
265919
266177
|
popupAttr: Object
|
|
265920
266178
|
},
|
|
265921
266179
|
data() {
|
|
265922
266180
|
return {
|
|
265923
|
-
|
|
265924
|
-
|
|
266181
|
+
isshow: false,
|
|
266182
|
+
height: 0,
|
|
266183
|
+
width: 0
|
|
265925
266184
|
};
|
|
265926
266185
|
},
|
|
265927
|
-
created() {},
|
|
265928
|
-
mounted() {
|
|
265929
|
-
this.initEcharts();
|
|
265930
|
-
this.fetchInfrastructureData();
|
|
265931
|
-
},
|
|
265932
|
-
beforeDestroy() {
|
|
265933
|
-
// 清理提示框
|
|
265934
|
-
this.hideTooltip();
|
|
265935
|
-
},
|
|
265936
266186
|
methods: {
|
|
265937
|
-
|
|
265938
|
-
|
|
265939
|
-
|
|
265940
|
-
|
|
265941
|
-
|
|
265942
|
-
|
|
265943
|
-
|
|
265944
|
-
|
|
265945
|
-
|
|
265946
|
-
|
|
265947
|
-
if (content.length <= 15) return;
|
|
265948
|
-
|
|
265949
|
-
// 移除旧的提示框
|
|
265950
|
-
this.hideTooltip();
|
|
265951
|
-
|
|
265952
|
-
// 创建新的提示框
|
|
265953
|
-
const tooltip = document.createElement("div");
|
|
265954
|
-
tooltip.className = "custom-tooltip";
|
|
265955
|
-
tooltip.textContent = content;
|
|
265956
|
-
tooltip.style.position = "fixed";
|
|
265957
|
-
tooltip.style.zIndex = "9999";
|
|
265958
|
-
tooltip.style.background = "rgba(0, 0, 0, 0.9)";
|
|
265959
|
-
tooltip.style.color = "#fff";
|
|
265960
|
-
tooltip.style.padding = "8px";
|
|
265961
|
-
tooltip.style.borderRadius = "4px";
|
|
265962
|
-
tooltip.style.fontSize = "12px";
|
|
265963
|
-
tooltip.style.maxWidth = "300px";
|
|
265964
|
-
tooltip.style.wordBreak = "break-word";
|
|
265965
|
-
|
|
265966
|
-
// 设置位置,稍微偏移鼠标位置
|
|
265967
|
-
const rect = event.target.getBoundingClientRect();
|
|
265968
|
-
tooltip.style.left = event.clientX + 10 + "px";
|
|
265969
|
-
tooltip.style.top = event.clientY - 10 + "px";
|
|
265970
|
-
document.body.appendChild(tooltip);
|
|
265971
|
-
this.currentTooltip = tooltip;
|
|
265972
|
-
},
|
|
265973
|
-
// 隐藏提示框
|
|
265974
|
-
hideTooltip() {
|
|
265975
|
-
if (this.currentTooltip && this.currentTooltip.parentNode) {
|
|
265976
|
-
document.body.removeChild(this.currentTooltip);
|
|
265977
|
-
this.currentTooltip = null;
|
|
265978
|
-
}
|
|
265979
|
-
},
|
|
265980
|
-
// 获取基础设施数据
|
|
265981
|
-
fetchInfrastructureData() {
|
|
265982
|
-
// 这里应该是实际的API调用,现在使用模拟数据
|
|
265983
|
-
const mockRes = {
|
|
265984
|
-
msg: "操作成功",
|
|
265985
|
-
code: 200,
|
|
265986
|
-
data: [{
|
|
265987
|
-
structureId: null,
|
|
265988
|
-
cityCode: "3701",
|
|
265989
|
-
cityName: "济南市",
|
|
265990
|
-
transportName: "高铁站",
|
|
265991
|
-
infrastructureCount: "12",
|
|
265992
|
-
remark: "济南西站、济南站、大明湖站、济南东站、历城站、章丘站、章丘北站、章丘南站、雪野站、莱芜北站、钢城站、长清站",
|
|
265993
|
-
createBy: null,
|
|
265994
|
-
createTime: null,
|
|
265995
|
-
updateBy: null,
|
|
265996
|
-
updateTime: null,
|
|
265997
|
-
transportType: "高铁站"
|
|
265998
|
-
}]
|
|
265999
|
-
};
|
|
266000
|
-
|
|
266001
|
-
// 模拟API调用后的处理
|
|
266002
|
-
if (mockRes.code === 200 && mockRes.data) {
|
|
266003
|
-
this.infrastructureList = mockRes.data;
|
|
266004
|
-
}
|
|
266005
|
-
|
|
266006
|
-
// 实际项目中应该替换为:
|
|
266007
|
-
// axios.get('/api/your-endpoint')
|
|
266008
|
-
// .then(response => {
|
|
266009
|
-
// const res = response.data;
|
|
266010
|
-
// if (res.code === 200 && res.data) {
|
|
266011
|
-
// this.infrastructureList = res.data;
|
|
266012
|
-
// }
|
|
266013
|
-
// })
|
|
266014
|
-
// .catch(error => {
|
|
266015
|
-
// console.error('获取基础设施数据失败:', error);
|
|
266016
|
-
// });
|
|
266187
|
+
fuyuan() {
|
|
266188
|
+
this.isshow = false;
|
|
266189
|
+
this.$nextTick(() => {
|
|
266190
|
+
let fontSize = Number(document.getElementsByTagName('html')[0].style.fontSize.split('px')[0]);
|
|
266191
|
+
let frameHeight = (this.popupAttr.popupHeight - 110) / 192 * fontSize;
|
|
266192
|
+
let frameWidth = (this.popupAttr.popupWidth - 30) / 192 * fontSize;
|
|
266193
|
+
this.height = frameHeight + 'px';
|
|
266194
|
+
this.width = frameWidth + 'px';
|
|
266195
|
+
this.isshow = true;
|
|
266196
|
+
});
|
|
266017
266197
|
},
|
|
266018
|
-
|
|
266019
|
-
|
|
266020
|
-
msg: "操作成功",
|
|
266021
|
-
code: 200,
|
|
266022
|
-
data: {
|
|
266023
|
-
createBy: null,
|
|
266024
|
-
createTime: null,
|
|
266025
|
-
updateBy: null,
|
|
266026
|
-
updateTime: null,
|
|
266027
|
-
remark: null,
|
|
266028
|
-
transportId: 3701,
|
|
266029
|
-
startCityName: "济南市",
|
|
266030
|
-
cityArea: "10244",
|
|
266031
|
-
population: "941.5",
|
|
266032
|
-
metropolitanType: "37",
|
|
266033
|
-
metropolitanName: "省会都市圈",
|
|
266034
|
-
roadMileage: "0",
|
|
266035
|
-
highwayMileage: "18426.1",
|
|
266036
|
-
railwayMileage: "835",
|
|
266037
|
-
passagener: "0",
|
|
266038
|
-
transportType: "32,33,34,35,36,42",
|
|
266039
|
-
transportName: null,
|
|
266040
|
-
distance: "0",
|
|
266041
|
-
dataResource: "手工录入",
|
|
266042
|
-
startCityCode: "jinan",
|
|
266043
|
-
endCityName: null,
|
|
266044
|
-
endCityCode: null,
|
|
266045
|
-
freewayMileage: "890.8",
|
|
266046
|
-
highspeedMileage: "446",
|
|
266047
|
-
max: null,
|
|
266048
|
-
min: null,
|
|
266049
|
-
avg: null
|
|
266050
|
-
}
|
|
266051
|
-
};
|
|
266052
|
-
const data = response.data;
|
|
266053
|
-
const values = [parseFloat(data.cityArea),
|
|
266054
|
-
// 面积
|
|
266055
|
-
parseFloat(data.population),
|
|
266056
|
-
// 常驻人口
|
|
266057
|
-
parseFloat(data.highspeedMileage),
|
|
266058
|
-
// 高速铁路
|
|
266059
|
-
parseFloat(data.railwayMileage),
|
|
266060
|
-
// 铁路
|
|
266061
|
-
parseFloat(data.roadMileage),
|
|
266062
|
-
// 公路
|
|
266063
|
-
parseFloat(data.freewayMileage) // 高速公路
|
|
266064
|
-
];
|
|
266065
|
-
let myChart = echarts_init(this.$refs.etCharts);
|
|
266066
|
-
var legendData = ["城市综合评估"];
|
|
266067
|
-
var indicator = [{
|
|
266068
|
-
text: "面积",
|
|
266069
|
-
max: 17192
|
|
266070
|
-
}, {
|
|
266071
|
-
text: "常驻人口",
|
|
266072
|
-
max: 1101.8
|
|
266073
|
-
}, {
|
|
266074
|
-
text: "高速铁路",
|
|
266075
|
-
max: 460
|
|
266076
|
-
}, {
|
|
266077
|
-
text: "铁路",
|
|
266078
|
-
max: 835
|
|
266079
|
-
}, {
|
|
266080
|
-
text: "公路",
|
|
266081
|
-
max: 33072.2
|
|
266082
|
-
}, {
|
|
266083
|
-
text: "高速公路",
|
|
266084
|
-
max: 908.6
|
|
266085
|
-
}];
|
|
266086
|
-
var dataArr = [{
|
|
266087
|
-
value: values,
|
|
266088
|
-
name: legendData[0],
|
|
266089
|
-
itemStyle: {
|
|
266090
|
-
normal: {
|
|
266091
|
-
lineStyle: {
|
|
266092
|
-
color: "#4BFFFC"
|
|
266093
|
-
},
|
|
266094
|
-
shadowColor: "#4BFFFC",
|
|
266095
|
-
shadowBlur: 10
|
|
266096
|
-
}
|
|
266097
|
-
},
|
|
266098
|
-
areaStyle: {
|
|
266099
|
-
normal: {
|
|
266100
|
-
color: {
|
|
266101
|
-
type: "linear",
|
|
266102
|
-
x: 0,
|
|
266103
|
-
y: 0,
|
|
266104
|
-
x2: 1,
|
|
266105
|
-
y2: 1,
|
|
266106
|
-
colorStops: [{
|
|
266107
|
-
offset: 0,
|
|
266108
|
-
color: "#4BFFFC"
|
|
266109
|
-
}, {
|
|
266110
|
-
offset: 0.5,
|
|
266111
|
-
color: "rgba(0,0,0,0)"
|
|
266112
|
-
}, {
|
|
266113
|
-
offset: 1,
|
|
266114
|
-
color: "#4BFFFC"
|
|
266115
|
-
}],
|
|
266116
|
-
globalCoord: false
|
|
266117
|
-
},
|
|
266118
|
-
opacity: 1
|
|
266119
|
-
}
|
|
266120
|
-
}
|
|
266121
|
-
}];
|
|
266122
|
-
var colorArr = ["#4BFFFC"];
|
|
266123
|
-
let option = {
|
|
266124
|
-
color: colorArr,
|
|
266125
|
-
tooltip: {
|
|
266126
|
-
trigger: "item",
|
|
266127
|
-
position: 'inside',
|
|
266128
|
-
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
266129
|
-
borderColor: "rgba(75, 255, 252, 0.3)",
|
|
266130
|
-
borderWidth: 1,
|
|
266131
|
-
textStyle: {
|
|
266132
|
-
color: "#fff",
|
|
266133
|
-
fontSize: 10
|
|
266134
|
-
},
|
|
266135
|
-
padding: 5
|
|
266136
|
-
},
|
|
266137
|
-
radar: {
|
|
266138
|
-
center: ["50%", "50%"],
|
|
266139
|
-
radius: ["0%", "60%"],
|
|
266140
|
-
name: {
|
|
266141
|
-
textStyle: {
|
|
266142
|
-
color: "#fff",
|
|
266143
|
-
fontSize: 10
|
|
266144
|
-
},
|
|
266145
|
-
padding: [0, 0, 0, 0]
|
|
266146
|
-
},
|
|
266147
|
-
indicator: indicator,
|
|
266148
|
-
splitArea: {
|
|
266149
|
-
show: true,
|
|
266150
|
-
areaStyle: {
|
|
266151
|
-
color: ["rgba(255,255,255,0)", "rgba(255,255,255,0)"]
|
|
266152
|
-
}
|
|
266153
|
-
},
|
|
266154
|
-
axisLine: {
|
|
266155
|
-
lineStyle: {
|
|
266156
|
-
color: "#153269",
|
|
266157
|
-
width: 0.5
|
|
266158
|
-
}
|
|
266159
|
-
},
|
|
266160
|
-
splitLine: {
|
|
266161
|
-
lineStyle: {
|
|
266162
|
-
color: "#3583b0",
|
|
266163
|
-
width: 0.8
|
|
266164
|
-
}
|
|
266165
|
-
}
|
|
266166
|
-
},
|
|
266167
|
-
series: [{
|
|
266168
|
-
type: "radar",
|
|
266169
|
-
symbolSize: 3,
|
|
266170
|
-
lineStyle: {
|
|
266171
|
-
width: 1
|
|
266172
|
-
},
|
|
266173
|
-
areaStyle: {
|
|
266174
|
-
opacity: 0.7
|
|
266175
|
-
},
|
|
266176
|
-
data: dataArr
|
|
266177
|
-
}]
|
|
266178
|
-
};
|
|
266179
|
-
myChart.setOption(option);
|
|
266198
|
+
destroyFlv() {
|
|
266199
|
+
this.isshow = false;
|
|
266180
266200
|
}
|
|
266181
266201
|
},
|
|
266182
|
-
|
|
266202
|
+
computed: {},
|
|
266203
|
+
mounted() {
|
|
266204
|
+
this.fuyuan();
|
|
266205
|
+
}
|
|
266183
266206
|
});
|
|
266184
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/
|
|
266185
|
-
/* harmony default export */ var
|
|
266186
|
-
//
|
|
266187
|
-
var CityAreaLayervue_type_style_index_0_id_b70a5ef4_prod_scoped_true_lang_css = __webpack_require__("08e6");
|
|
266188
|
-
|
|
266189
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue
|
|
266190
|
-
|
|
266207
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=script&lang=js
|
|
266208
|
+
/* harmony default export */ var component_customPointLayervue_type_script_lang_js = (customPointLayervue_type_script_lang_js);
|
|
266209
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue
|
|
266191
266210
|
|
|
266192
266211
|
|
|
266193
266212
|
|
|
@@ -266195,18 +266214,18 @@ var CityAreaLayervue_type_style_index_0_id_b70a5ef4_prod_scoped_true_lang_css =
|
|
|
266195
266214
|
|
|
266196
266215
|
/* normalize component */
|
|
266197
266216
|
|
|
266198
|
-
var
|
|
266199
|
-
|
|
266200
|
-
|
|
266201
|
-
|
|
266217
|
+
var customPointLayer_component = normalizeComponent(
|
|
266218
|
+
component_customPointLayervue_type_script_lang_js,
|
|
266219
|
+
customPointLayervue_type_template_id_3b5ee555_scoped_true_render,
|
|
266220
|
+
customPointLayervue_type_template_id_3b5ee555_scoped_true_staticRenderFns,
|
|
266202
266221
|
false,
|
|
266203
266222
|
null,
|
|
266204
|
-
"
|
|
266223
|
+
"3b5ee555",
|
|
266205
266224
|
null
|
|
266206
266225
|
|
|
266207
266226
|
)
|
|
266208
266227
|
|
|
266209
|
-
/* harmony default export */ var
|
|
266228
|
+
/* harmony default export */ var customPointLayer = (customPointLayer_component.exports);
|
|
266210
266229
|
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/js/utills.js
|
|
266211
266230
|
|
|
266212
266231
|
|
|
@@ -266508,8 +266527,8 @@ var CityAreaLayer_component = normalizeComponent(
|
|
|
266508
266527
|
popupHeaderTitle.innerHTML = attr.otherInfo.portName;
|
|
266509
266528
|
break;
|
|
266510
266529
|
case "cityArea":
|
|
266511
|
-
this.popupHeight =
|
|
266512
|
-
this.popupWidth =
|
|
266530
|
+
this.popupHeight = 530;
|
|
266531
|
+
this.popupWidth = 400;
|
|
266513
266532
|
this.currentTabComponent = CityAreaLayer;
|
|
266514
266533
|
this.popupAttributes = data;
|
|
266515
266534
|
popupHeaderTitle.innerHTML = "";
|