地图修改

This commit is contained in:
13713575202 2025-04-30 08:57:34 +08:00
parent 51ce76786c
commit 93007fdf0f

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="map-center-warp"> <div class="map-center-warp">
<!-- <img :src="getAssetsFile('images/vsualized/gmmap.png')" class="map-img" /> --> <img :src="getAssetsFile('images/vsualized/gmmap.png')" class="map-img" />
<div class="map-pos"> <div class="map-pos">
<custom-echart-maps :chart-data="chartsData.valData" height="100%" :option="chartsData.option" :geo="geoData" :name="mapName" /> <custom-echart-maps :chart-data="chartsData.valData" height="100%" :option="chartsData.option" :geo="geoData" :name="mapName" />
</div> </div>
@ -60,24 +60,24 @@ const chartsData = reactive({
}, },
}, },
series: [ series: [
{ // {
name: '镇边界', // name: '',
type: 'map', // type: 'map',
mapType: mapName.value, // mapType: mapName.value,
roam: true, // roam: true,
zoom: 1.2, // zoom: 1.2,
itemStyle: { // itemStyle: {
normal: { // normal: {
borderColor: '#000', // // borderColor: '#000', //
borderWidth: 1, // // borderWidth: 1, //
areaColor: 'transparent', // // areaColor: 'transparent', //
}, // },
emphasis: { // emphasis: {
borderColor: '#fff', // borderColor: '#fff',
borderWidth: 2, // borderWidth: 2,
}, // },
}, // },
}, // },
// //
{ {
name: '闪烁散点', name: '闪烁散点',