gis-map-universal 1.1.9 → 1.2.0
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 +477 -493
- package/package.json +1 -1
package/gismap.umd.js
CHANGED
|
@@ -26439,17 +26439,6 @@ module.exports = function (it) {
|
|
|
26439
26439
|
/* harmony default export */ __webpack_exports__["a"] = (null);
|
|
26440
26440
|
|
|
26441
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
|
-
|
|
26453
26442
|
/***/ }),
|
|
26454
26443
|
|
|
26455
26444
|
/***/ "4625":
|
|
@@ -42774,6 +42763,17 @@ module.exports = function (object, key, method) {
|
|
|
42774
42763
|
};
|
|
42775
42764
|
|
|
42776
42765
|
|
|
42766
|
+
/***/ }),
|
|
42767
|
+
|
|
42768
|
+
/***/ "728a":
|
|
42769
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42770
|
+
|
|
42771
|
+
"use strict";
|
|
42772
|
+
/* 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_267f992a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("91c2");
|
|
42773
|
+
/* 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_267f992a_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_267f992a_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
42774
|
+
/* unused harmony reexport * */
|
|
42775
|
+
|
|
42776
|
+
|
|
42777
42777
|
/***/ }),
|
|
42778
42778
|
|
|
42779
42779
|
/***/ "72c3":
|
|
@@ -42885,20 +42885,6 @@ exports.push([module.i, "#map[data-v-cb037cc4]{width:100%;height:var(--height)}.
|
|
|
42885
42885
|
module.exports = exports;
|
|
42886
42886
|
|
|
42887
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
42888
|
/***/ }),
|
|
42903
42889
|
|
|
42904
42890
|
/***/ "7804":
|
|
@@ -50041,6 +50027,22 @@ function defaultTileLoadFunction(imageTile, src) {
|
|
|
50041
50027
|
/* harmony default export */ __webpack_exports__["a"] = (TileImage);
|
|
50042
50028
|
|
|
50043
50029
|
|
|
50030
|
+
/***/ }),
|
|
50031
|
+
|
|
50032
|
+
/***/ "91c2":
|
|
50033
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
50034
|
+
|
|
50035
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
50036
|
+
|
|
50037
|
+
// load the styles
|
|
50038
|
+
var content = __webpack_require__("a8a6");
|
|
50039
|
+
if(content.__esModule) content = content.default;
|
|
50040
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
50041
|
+
if(content.locals) module.exports = content.locals;
|
|
50042
|
+
// add the styles to the DOM
|
|
50043
|
+
var add = __webpack_require__("499e").default
|
|
50044
|
+
var update = add("6ff40e3c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
50045
|
+
|
|
50044
50046
|
/***/ }),
|
|
50045
50047
|
|
|
50046
50048
|
/***/ "9263":
|
|
@@ -59976,6 +59978,20 @@ function toString(mat) {
|
|
|
59976
59978
|
}
|
|
59977
59979
|
|
|
59978
59980
|
|
|
59981
|
+
/***/ }),
|
|
59982
|
+
|
|
59983
|
+
/***/ "a8a6":
|
|
59984
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
59985
|
+
|
|
59986
|
+
// Imports
|
|
59987
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
59988
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
59989
|
+
// Module
|
|
59990
|
+
exports.push([module.i, ".Popup[data-v-267f992a]{width:2.2rem;height:2.5rem}.divtitleone[data-v-267f992a]{padding:.01rem 0 .01rem .04rem;margin-top:.05rem;width:.63rem}.divtitleone[data-v-267f992a],.divtitletwo[data-v-267f992a]{background:linear-gradient(135deg,rgba(75,255,252,.2),rgba(75,255,252,.1));color:#4bfffc;font-weight:700;font-size:.08rem;border-left:3px solid #4bfffc}.divtitletwo[data-v-267f992a]{padding:.01rem 0 .02rem .04rem;width:.8rem}.data-list[data-v-267f992a]{margin-top:.1rem;width:100%;font-size:.08rem;color:#fff;overflow-y:auto}.list-header[data-v-267f992a]{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-267f992a]{flex:1;text-align:center;font-weight:700;color:#4bfffc}.header-item[data-v-267f992a]:last-child{flex:1.5;text-align:center;padding-left:.05rem}.list-content[data-v-267f992a]{width:100%}.list-item[data-v-267f992a]{display:flex;border-bottom:1px solid hsla(0,0%,100%,.1);padding:.05rem 0}.list-item[data-v-267f992a]:last-child{border-bottom:none}.list-cell[data-v-267f992a]{flex:1;text-align:center;word-break:break-word}.list-cell.remark[data-v-267f992a]{text-align:left;flex:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.list-cell.remark[data-v-267f992a]::-webkit-tooltip{display:none}.custom-tooltip{pointer-events:none;box-shadow:0 2px 8px rgba(0,0,0,.3)}.list-content[data-v-267f992a]::-webkit-scrollbar{width:4px}.list-content[data-v-267f992a]::-webkit-scrollbar-track{background:hsla(0,0%,100%,.1)}.list-content[data-v-267f992a]::-webkit-scrollbar-thumb{background:rgba(75,255,252,.5);border-radius:2px}.list-content[data-v-267f992a]::-webkit-scrollbar-thumb:hover{background:rgba(75,255,252,.8)}", ""]);
|
|
59991
|
+
// Exports
|
|
59992
|
+
module.exports = exports;
|
|
59993
|
+
|
|
59994
|
+
|
|
59979
59995
|
/***/ }),
|
|
59980
59996
|
|
|
59981
59997
|
/***/ "ab13":
|
|
@@ -79452,22 +79468,6 @@ class Point extends _SimpleGeometry_js__WEBPACK_IMPORTED_MODULE_0__[/* default *
|
|
|
79452
79468
|
/* unused harmony reexport * */
|
|
79453
79469
|
|
|
79454
79470
|
|
|
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=267f992a&scoped=true
|
|
263574
|
+
var CityAreaLayervue_type_template_id_267f992a_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_267f992a_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=267f992a&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=267f992a&prod&scoped=true&lang=css
|
|
263930
|
+
var CityAreaLayervue_type_style_index_0_id_267f992a_prod_scoped_true_lang_css = __webpack_require__("728a");
|
|
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_267f992a_scoped_true_render,
|
|
263944
|
+
CityAreaLayervue_type_template_id_267f992a_scoped_true_staticRenderFns,
|
|
263945
|
+
false,
|
|
263946
|
+
null,
|
|
263947
|
+
"267f992a",
|
|
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,12 @@ 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",tiandituKey:"
|
|
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",tiandituKey:"d02c0b2c57b4ba04f74cbccbb138f130"//天地图密钥me
|
|
264786
|
+
};},methods:{initBaseLayers(){let that=this;// 加载WMTS
|
|
264489
264787
|
// let resolutions = [
|
|
264490
264788
|
// 0.010986328125, 0.0054931640625, 0.00274658283125, 0.001373291815625,
|
|
264491
264789
|
// 0.0006866455078125, 0.00034332275390625, 0.000171661376953125,
|
|
@@ -264540,34 +264838,17 @@ style:function(feature){return new Style["default"]({fill:new Fill["default"]({c
|
|
|
264540
264838
|
width:1// 边界线宽度
|
|
264541
264839
|
})});}});this.map.addLayer(this.china_full_Layer);});//监听点击事件
|
|
264542
264840
|
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);
|
|
264841
|
+
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
264842
|
// this.overlayPopup.setOffset([
|
|
264554
264843
|
// -this.popupWidth / 2,
|
|
264555
264844
|
// -this.popupHeight,
|
|
264556
264845
|
// ]);
|
|
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);
|
|
264846
|
+
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
264847
|
// this.overlayPopup.setOffset([
|
|
264563
264848
|
// -this.popupWidth / 2,
|
|
264564
264849
|
// -this.popupHeight - 20,
|
|
264565
264850
|
// ]);
|
|
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信息
|
|
264851
|
+
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
264852
|
fetch("http://api.datamatrices.com/api/precTileInfo/114.60168/34.260503/122.919454/38.400545").then(response=>response.json()).then(data=>{// 从返回数据中获取forecastTime和tileName
|
|
264572
264853
|
const forecastTime=data.data.forecastTime;// 假设返回数据中有forecastTime字段
|
|
264573
264854
|
const tileName=data.data.tileName;// 假设返回数据中有tileName字段
|
|
@@ -265863,367 +266144,70 @@ var es_error_cause = __webpack_require__("d9e2");
|
|
|
265863
266144
|
// EXTERNAL MODULE: ./node_modules/ol/style/RegularShape.js
|
|
265864
266145
|
var ol_style_RegularShape = __webpack_require__("35d8");
|
|
265865
266146
|
|
|
265866
|
-
// 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/
|
|
265867
|
-
var
|
|
266147
|
+
// 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
|
|
266148
|
+
var customPointLayervue_type_template_id_3b5ee555_scoped_true_render = function render() {
|
|
265868
266149
|
var _vm = this,
|
|
265869
266150
|
_c = _vm._self._c;
|
|
265870
|
-
return _c('div', {
|
|
265871
|
-
|
|
265872
|
-
|
|
265873
|
-
|
|
265874
|
-
|
|
265875
|
-
|
|
266151
|
+
return _vm.isshow ? _c('div', {
|
|
266152
|
+
style: {
|
|
266153
|
+
height: _vm.height,
|
|
266154
|
+
width: _vm.width
|
|
266155
|
+
}
|
|
266156
|
+
}, [_c('iframe', {
|
|
265876
266157
|
staticStyle: {
|
|
265877
|
-
"
|
|
265878
|
-
"
|
|
266158
|
+
"width": "100%",
|
|
266159
|
+
"height": "100%",
|
|
266160
|
+
"border": "none"
|
|
266161
|
+
},
|
|
266162
|
+
attrs: {
|
|
266163
|
+
"src": _vm.popupAttr.popupUrl
|
|
265879
266164
|
}
|
|
265880
|
-
})
|
|
265881
|
-
staticClass: "divtitletwo"
|
|
265882
|
-
}, [_vm._v("公共交通客运分析:")]), _c('div', {
|
|
265883
|
-
staticClass: "data-list"
|
|
265884
|
-
}, [_vm._m(0), _c('div', {
|
|
265885
|
-
staticClass: "list-content"
|
|
265886
|
-
}, _vm._l(_vm.infrastructureList, function (item, index) {
|
|
265887
|
-
return _c('div', {
|
|
265888
|
-
key: index,
|
|
265889
|
-
staticClass: "list-item"
|
|
265890
|
-
}, [_c('div', {
|
|
265891
|
-
staticClass: "list-cell"
|
|
265892
|
-
}, [_vm._v(_vm._s(item.transportName))]), _c('div', {
|
|
265893
|
-
staticClass: "list-cell"
|
|
265894
|
-
}, [_vm._v(_vm._s(item.infrastructureCount))]), _c('div', {
|
|
265895
|
-
staticClass: "list-cell remark",
|
|
265896
|
-
on: {
|
|
265897
|
-
"mouseenter": function ($event) {
|
|
265898
|
-
return _vm.showTooltip($event, item.remark);
|
|
265899
|
-
},
|
|
265900
|
-
"mouseleave": _vm.hideTooltip
|
|
265901
|
-
}
|
|
265902
|
-
}, [_vm._v(" " + _vm._s(_vm.truncateText(item.remark, 15)) + " ")])]);
|
|
265903
|
-
}), 0)])]);
|
|
266165
|
+
})]) : _vm._e();
|
|
265904
266166
|
};
|
|
265905
|
-
var
|
|
265906
|
-
var _vm = this,
|
|
265907
|
-
_c = _vm._self._c;
|
|
265908
|
-
return _c('div', {
|
|
265909
|
-
staticClass: "list-header"
|
|
265910
|
-
}, [_c('div', {
|
|
265911
|
-
staticClass: "header-item"
|
|
265912
|
-
}, [_vm._v("公共交通客运")]), _c('div', {
|
|
265913
|
-
staticClass: "header-item"
|
|
265914
|
-
}, [_vm._v("基础设施数量")]), _c('div', {
|
|
265915
|
-
staticClass: "header-item"
|
|
265916
|
-
}, [_vm._v("设施说明")])]);
|
|
265917
|
-
}];
|
|
265918
|
-
|
|
265919
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue?vue&type=template&id=5e1a4ac4&scoped=true
|
|
265920
|
-
|
|
265921
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/js/requestDSQ.js
|
|
265922
|
-
|
|
265923
|
-
|
|
265924
|
-
|
|
265925
|
-
const requestDSQ_service = lib_axios.create({
|
|
265926
|
-
timeout: 30000
|
|
265927
|
-
});
|
|
265928
|
-
requestDSQ_service.interceptors.request.use(config => {
|
|
265929
|
-
var _Vue$prototype$$Globa;
|
|
265930
|
-
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;
|
|
265931
|
-
return config;
|
|
265932
|
-
}, error => {
|
|
265933
|
-
console.log(error);
|
|
265934
|
-
return Promise.reject(error);
|
|
265935
|
-
});
|
|
265936
|
-
requestDSQ_service.interceptors.response.use(response => {
|
|
265937
|
-
const res = response.data;
|
|
265938
|
-
return res;
|
|
265939
|
-
}, error => {
|
|
265940
|
-
return Promise.reject(error);
|
|
265941
|
-
});
|
|
265942
|
-
/* harmony default export */ var requestDSQ = (requestDSQ_service);
|
|
265943
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/api/dushiquanApi.js
|
|
265944
|
-
|
|
265945
|
-
// 公共交通客运分析
|
|
265946
|
-
function getpublicTrfList(data) {
|
|
265947
|
-
return requestDSQ({
|
|
265948
|
-
url: "/prod-api/public/SERVICE_003_011/query/traffic/list",
|
|
265949
|
-
method: "post",
|
|
265950
|
-
data
|
|
265951
|
-
});
|
|
265952
|
-
}
|
|
265953
|
-
// 公共交通客运分析
|
|
265954
|
-
function gettransportInfoList(data) {
|
|
265955
|
-
return requestDSQ({
|
|
265956
|
-
url: "/prod-api/public/SERVICE_003_011/query/transportInfo/getInfo",
|
|
265957
|
-
method: "post",
|
|
265958
|
-
data
|
|
265959
|
-
});
|
|
265960
|
-
}
|
|
265961
|
-
// 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
|
|
266167
|
+
var customPointLayervue_type_template_id_3b5ee555_scoped_true_staticRenderFns = [];
|
|
265962
266168
|
|
|
266169
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=template&id=3b5ee555&scoped=true
|
|
265963
266170
|
|
|
265964
|
-
|
|
265965
|
-
|
|
266171
|
+
// 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
|
|
266172
|
+
/* harmony default export */ var customPointLayervue_type_script_lang_js = ({
|
|
266173
|
+
name: '',
|
|
266174
|
+
components: {},
|
|
266175
|
+
created() {},
|
|
266176
|
+
mounted() {},
|
|
265966
266177
|
props: {
|
|
265967
266178
|
popupAttr: Object
|
|
265968
266179
|
},
|
|
265969
266180
|
data() {
|
|
265970
266181
|
return {
|
|
265971
|
-
|
|
265972
|
-
|
|
265973
|
-
|
|
266182
|
+
isshow: false,
|
|
266183
|
+
height: 0,
|
|
266184
|
+
width: 0
|
|
265974
266185
|
};
|
|
265975
266186
|
},
|
|
265976
|
-
created() {},
|
|
265977
|
-
mounted() {
|
|
265978
|
-
this.fuyuanv();
|
|
265979
|
-
},
|
|
265980
|
-
beforeDestroy() {
|
|
265981
|
-
// 清理提示框
|
|
265982
|
-
this.hideTooltip();
|
|
265983
|
-
// 销毁图表实例
|
|
265984
|
-
if (this.myChart) {
|
|
265985
|
-
this.myChart.dispose();
|
|
265986
|
-
this.myChart = null;
|
|
265987
|
-
}
|
|
265988
|
-
},
|
|
265989
266187
|
methods: {
|
|
265990
|
-
|
|
265991
|
-
this.
|
|
265992
|
-
this
|
|
265993
|
-
|
|
265994
|
-
|
|
265995
|
-
this.
|
|
265996
|
-
this.
|
|
265997
|
-
|
|
265998
|
-
|
|
265999
|
-
this.initEcharts();
|
|
266000
|
-
},
|
|
266001
|
-
// 截断文本并添加省略号
|
|
266002
|
-
truncateText(text, maxLength = 15) {
|
|
266003
|
-
if (!text || text.length <= maxLength) {
|
|
266004
|
-
return text;
|
|
266005
|
-
}
|
|
266006
|
-
return text.substring(0, maxLength) + "...";
|
|
266007
|
-
},
|
|
266008
|
-
// 显示自定义提示框
|
|
266009
|
-
showTooltip(event, content) {
|
|
266010
|
-
// 如果内容长度不超过限制,不显示提示框
|
|
266011
|
-
if (content.length <= 15) return;
|
|
266012
|
-
|
|
266013
|
-
// 移除旧的提示框
|
|
266014
|
-
this.hideTooltip();
|
|
266015
|
-
|
|
266016
|
-
// 创建新的提示框
|
|
266017
|
-
const tooltip = document.createElement("div");
|
|
266018
|
-
tooltip.className = "custom-tooltip";
|
|
266019
|
-
tooltip.textContent = content;
|
|
266020
|
-
tooltip.style.position = "fixed";
|
|
266021
|
-
tooltip.style.zIndex = "9999";
|
|
266022
|
-
tooltip.style.background = "rgba(0, 0, 0, 0.9)";
|
|
266023
|
-
tooltip.style.color = "#fff";
|
|
266024
|
-
tooltip.style.padding = "8px";
|
|
266025
|
-
tooltip.style.borderRadius = "4px";
|
|
266026
|
-
tooltip.style.fontSize = "12px";
|
|
266027
|
-
tooltip.style.maxWidth = "300px";
|
|
266028
|
-
tooltip.style.wordBreak = "break-word";
|
|
266029
|
-
|
|
266030
|
-
// 设置位置,稍微偏移鼠标位置
|
|
266031
|
-
const rect = event.target.getBoundingClientRect();
|
|
266032
|
-
tooltip.style.left = event.clientX + 10 + "px";
|
|
266033
|
-
tooltip.style.top = event.clientY - 10 + "px";
|
|
266034
|
-
document.body.appendChild(tooltip);
|
|
266035
|
-
this.currentTooltip = tooltip;
|
|
266036
|
-
},
|
|
266037
|
-
// 隐藏提示框
|
|
266038
|
-
hideTooltip() {
|
|
266039
|
-
if (this.currentTooltip && this.currentTooltip.parentNode) {
|
|
266040
|
-
document.body.removeChild(this.currentTooltip);
|
|
266041
|
-
this.currentTooltip = null;
|
|
266042
|
-
}
|
|
266043
|
-
},
|
|
266044
|
-
// 获取基础设施数据
|
|
266045
|
-
fetchInfrastructureData() {
|
|
266046
|
-
let param = {
|
|
266047
|
-
sysid: "brain_cockpit",
|
|
266048
|
-
service_code: "API_003_035_006",
|
|
266049
|
-
parameters: {
|
|
266050
|
-
cityCode: this.popupAttr.adcode
|
|
266051
|
-
}
|
|
266052
|
-
};
|
|
266053
|
-
getpublicTrfList(param).then(response => {
|
|
266054
|
-
if (response.code === 200 && response.data) {
|
|
266055
|
-
this.infrastructureList = response.data;
|
|
266056
|
-
}
|
|
266057
|
-
}).catch(error => {
|
|
266058
|
-
console.error("获取基础设施数据失败:", error);
|
|
266188
|
+
fuyuan() {
|
|
266189
|
+
this.isshow = false;
|
|
266190
|
+
this.$nextTick(() => {
|
|
266191
|
+
let fontSize = Number(document.getElementsByTagName('html')[0].style.fontSize.split('px')[0]);
|
|
266192
|
+
let frameHeight = (this.popupAttr.popupHeight - 110) / 192 * fontSize;
|
|
266193
|
+
let frameWidth = (this.popupAttr.popupWidth - 30) / 192 * fontSize;
|
|
266194
|
+
this.height = frameHeight + 'px';
|
|
266195
|
+
this.width = frameWidth + 'px';
|
|
266196
|
+
this.isshow = true;
|
|
266059
266197
|
});
|
|
266060
266198
|
},
|
|
266061
|
-
|
|
266062
|
-
|
|
266063
|
-
sysid: "brain_cockpit",
|
|
266064
|
-
service_code: "API_003_035_005",
|
|
266065
|
-
parameters: {
|
|
266066
|
-
transportId: this.popupAttr.adcode
|
|
266067
|
-
}
|
|
266068
|
-
};
|
|
266069
|
-
gettransportInfoList(param).then(response => {
|
|
266070
|
-
if (response.code === 200 && response.data) {
|
|
266071
|
-
const data = response.data;
|
|
266072
|
-
const values = [parseFloat(data.cityArea),
|
|
266073
|
-
// 面积
|
|
266074
|
-
parseFloat(data.population),
|
|
266075
|
-
// 常驻人口
|
|
266076
|
-
parseFloat(data.highspeedMileage),
|
|
266077
|
-
// 高速铁路
|
|
266078
|
-
parseFloat(data.railwayMileage),
|
|
266079
|
-
// 铁路
|
|
266080
|
-
parseFloat(data.roadMileage),
|
|
266081
|
-
// 公路
|
|
266082
|
-
parseFloat(data.freewayMileage) // 高速公路
|
|
266083
|
-
];
|
|
266084
|
-
// 初始化或复用图表实例
|
|
266085
|
-
if (!this.myChart) {
|
|
266086
|
-
this.myChart = echarts_init(this.$refs.etCharts);
|
|
266087
|
-
} else {
|
|
266088
|
-
this.myChart.resize();
|
|
266089
|
-
}
|
|
266090
|
-
let myChart = this.myChart;
|
|
266091
|
-
var legendData = ["城市综合评估"];
|
|
266092
|
-
var indicator = [{
|
|
266093
|
-
text: "面积",
|
|
266094
|
-
max: 17192
|
|
266095
|
-
}, {
|
|
266096
|
-
text: "常驻人口",
|
|
266097
|
-
max: 1101.8
|
|
266098
|
-
}, {
|
|
266099
|
-
text: "高速铁路",
|
|
266100
|
-
max: 460
|
|
266101
|
-
}, {
|
|
266102
|
-
text: "铁路",
|
|
266103
|
-
max: 835
|
|
266104
|
-
}, {
|
|
266105
|
-
text: "公路",
|
|
266106
|
-
max: 33072.2
|
|
266107
|
-
}, {
|
|
266108
|
-
text: "高速公路",
|
|
266109
|
-
max: 908.6
|
|
266110
|
-
}];
|
|
266111
|
-
var dataArr = [{
|
|
266112
|
-
value: values,
|
|
266113
|
-
name: legendData[0],
|
|
266114
|
-
itemStyle: {
|
|
266115
|
-
normal: {
|
|
266116
|
-
lineStyle: {
|
|
266117
|
-
color: "#4BFFFC"
|
|
266118
|
-
},
|
|
266119
|
-
shadowColor: "#4BFFFC",
|
|
266120
|
-
shadowBlur: 10
|
|
266121
|
-
}
|
|
266122
|
-
},
|
|
266123
|
-
areaStyle: {
|
|
266124
|
-
normal: {
|
|
266125
|
-
color: {
|
|
266126
|
-
type: "linear",
|
|
266127
|
-
x: 0,
|
|
266128
|
-
y: 0,
|
|
266129
|
-
x2: 1,
|
|
266130
|
-
y2: 1,
|
|
266131
|
-
colorStops: [{
|
|
266132
|
-
offset: 0,
|
|
266133
|
-
color: "#4BFFFC"
|
|
266134
|
-
}, {
|
|
266135
|
-
offset: 0.5,
|
|
266136
|
-
color: "rgba(0,0,0,0)"
|
|
266137
|
-
}, {
|
|
266138
|
-
offset: 1,
|
|
266139
|
-
color: "#4BFFFC"
|
|
266140
|
-
}],
|
|
266141
|
-
globalCoord: false
|
|
266142
|
-
},
|
|
266143
|
-
opacity: 1
|
|
266144
|
-
}
|
|
266145
|
-
}
|
|
266146
|
-
}];
|
|
266147
|
-
var colorArr = ["#4BFFFC"];
|
|
266148
|
-
let option = {
|
|
266149
|
-
color: colorArr,
|
|
266150
|
-
tooltip: {
|
|
266151
|
-
trigger: "item",
|
|
266152
|
-
position: "inside",
|
|
266153
|
-
backgroundColor: "rgba(0, 0, 0, 0.7)",
|
|
266154
|
-
borderColor: "rgba(75, 255, 252, 0.3)",
|
|
266155
|
-
borderWidth: 1,
|
|
266156
|
-
textStyle: {
|
|
266157
|
-
color: "#fff",
|
|
266158
|
-
fontSize: 10
|
|
266159
|
-
},
|
|
266160
|
-
padding: 5
|
|
266161
|
-
},
|
|
266162
|
-
radar: {
|
|
266163
|
-
center: ["50%", "50%"],
|
|
266164
|
-
radius: ["0%", "60%"],
|
|
266165
|
-
name: {
|
|
266166
|
-
textStyle: {
|
|
266167
|
-
color: "#fff",
|
|
266168
|
-
fontSize: 10
|
|
266169
|
-
},
|
|
266170
|
-
padding: [0, 0, 0, 0]
|
|
266171
|
-
},
|
|
266172
|
-
indicator: indicator,
|
|
266173
|
-
splitArea: {
|
|
266174
|
-
show: true,
|
|
266175
|
-
areaStyle: {
|
|
266176
|
-
color: ["rgba(255,255,255,0)", "rgba(255,255,255,0)"]
|
|
266177
|
-
}
|
|
266178
|
-
},
|
|
266179
|
-
axisLine: {
|
|
266180
|
-
lineStyle: {
|
|
266181
|
-
color: "#153269",
|
|
266182
|
-
width: 0.5
|
|
266183
|
-
}
|
|
266184
|
-
},
|
|
266185
|
-
splitLine: {
|
|
266186
|
-
lineStyle: {
|
|
266187
|
-
color: "#3583b0",
|
|
266188
|
-
width: 0.8
|
|
266189
|
-
}
|
|
266190
|
-
}
|
|
266191
|
-
},
|
|
266192
|
-
series: [{
|
|
266193
|
-
type: "radar",
|
|
266194
|
-
symbolSize: 3,
|
|
266195
|
-
lineStyle: {
|
|
266196
|
-
width: 1
|
|
266197
|
-
},
|
|
266198
|
-
areaStyle: {
|
|
266199
|
-
opacity: 0.7
|
|
266200
|
-
},
|
|
266201
|
-
data: dataArr
|
|
266202
|
-
}]
|
|
266203
|
-
};
|
|
266204
|
-
myChart.setOption(option);
|
|
266205
|
-
}
|
|
266206
|
-
});
|
|
266199
|
+
destroyFlv() {
|
|
266200
|
+
this.isshow = false;
|
|
266207
266201
|
}
|
|
266208
266202
|
},
|
|
266209
|
-
|
|
266210
|
-
|
|
266211
|
-
|
|
266212
|
-
if (newVal && newVal.adcode && newVal.adcode !== (oldVal === null || oldVal === void 0 ? void 0 : oldVal.adcode)) {
|
|
266213
|
-
this.fuyuanv();
|
|
266214
|
-
}
|
|
266215
|
-
},
|
|
266216
|
-
deep: true
|
|
266217
|
-
}
|
|
266203
|
+
computed: {},
|
|
266204
|
+
mounted() {
|
|
266205
|
+
this.fuyuan();
|
|
266218
266206
|
}
|
|
266219
266207
|
});
|
|
266220
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/
|
|
266221
|
-
/* harmony default export */ var
|
|
266222
|
-
//
|
|
266223
|
-
var CityAreaLayervue_type_style_index_0_id_5e1a4ac4_prod_scoped_true_lang_css = __webpack_require__("4601");
|
|
266224
|
-
|
|
266225
|
-
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/corridorLayers/CityAreaLayer.vue
|
|
266226
|
-
|
|
266208
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue?vue&type=script&lang=js
|
|
266209
|
+
/* harmony default export */ var component_customPointLayervue_type_script_lang_js = (customPointLayervue_type_script_lang_js);
|
|
266210
|
+
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/component/customPointLayer.vue
|
|
266227
266211
|
|
|
266228
266212
|
|
|
266229
266213
|
|
|
@@ -266231,18 +266215,18 @@ var CityAreaLayervue_type_style_index_0_id_5e1a4ac4_prod_scoped_true_lang_css =
|
|
|
266231
266215
|
|
|
266232
266216
|
/* normalize component */
|
|
266233
266217
|
|
|
266234
|
-
var
|
|
266235
|
-
|
|
266236
|
-
|
|
266237
|
-
|
|
266218
|
+
var customPointLayer_component = normalizeComponent(
|
|
266219
|
+
component_customPointLayervue_type_script_lang_js,
|
|
266220
|
+
customPointLayervue_type_template_id_3b5ee555_scoped_true_render,
|
|
266221
|
+
customPointLayervue_type_template_id_3b5ee555_scoped_true_staticRenderFns,
|
|
266238
266222
|
false,
|
|
266239
266223
|
null,
|
|
266240
|
-
"
|
|
266224
|
+
"3b5ee555",
|
|
266241
266225
|
null
|
|
266242
266226
|
|
|
266243
266227
|
)
|
|
266244
266228
|
|
|
266245
|
-
/* harmony default export */ var
|
|
266229
|
+
/* harmony default export */ var customPointLayer = (customPointLayer_component.exports);
|
|
266246
266230
|
// CONCATENATED MODULE: ./packages/gisMapTianditu/src/js/utills.js
|
|
266247
266231
|
|
|
266248
266232
|
|