-
![]()
+
@@ -60,24 +60,24 @@ const chartsData = reactive({
},
},
series: [
- // {
- // name: '镇边界',
- // type: 'map',
- // mapType: mapName.value,
- // roam: true,
- // zoom: 1.2,
- // itemStyle: {
- // normal: {
- // borderColor: '#000', // 设置镇边界的颜色
- // borderWidth: 1, // 设置镇边界的宽度
- // areaColor: 'transparent', // 设置背景透明,只显示边界
- // },
- // emphasis: {
- // borderColor: '#fff',
- // borderWidth: 2,
- // },
- // },
- // },
+ {
+ name: '镇边界',
+ type: 'map',
+ mapType: mapName.value,
+ roam: true,
+ zoom: 1.2,
+ itemStyle: {
+ normal: {
+ borderColor: '#000', // 设置镇边界的颜色
+ borderWidth: 1, // 设置镇边界的宽度
+ areaColor: 'transparent', // 设置背景透明,只显示边界
+ },
+ emphasis: {
+ borderColor: '#fff',
+ borderWidth: 2,
+ },
+ },
+ },
// 闪烁散点图系列
{
name: '闪烁散点',