推送
This commit is contained in:
@ -19,26 +19,20 @@ let map = ref();
|
|||||||
// 注册崇州地图
|
// 注册崇州地图
|
||||||
echarts.registerMap("sichuan", sichuanJSON);
|
echarts.registerMap("sichuan", sichuanJSON);
|
||||||
const initialPoints = [
|
const initialPoints = [
|
||||||
{
|
{ name: "攀枝花", value: [101.718, 26.582, 0], count: 0 },
|
||||||
name: "绵阳",
|
{ name: "雅安", value: [103.009, 29.988, 0], count: 0 },
|
||||||
value: [104.684185, 31.473263, 0],
|
{ name: "眉山", value: [103.848, 30.082, 0], count: 0 },
|
||||||
count: 0
|
{ name: "自贡", value: [104.777, 29.350, 0], count: 0 },
|
||||||
},
|
{ name: "泸州", value: [105.442, 28.871, 0], count: 0 },
|
||||||
{
|
{ name: "资阳", value: [104.628, 30.122, 0], count: 0 },
|
||||||
name: "崇州",
|
{ name: "遂宁", value: [105.576, 30.523, 0], count: 0 },
|
||||||
value: [103.68055, 30.634619, 0],
|
{ name: "广安", value: [106.636, 30.463, 0], count: 0 },
|
||||||
count: 0
|
{ name: "德阳", value: [104.399, 31.130, 0], count: 0 },
|
||||||
},
|
{ name: "绵阳", value: [104.684185, 31.473263, 0], count: 0 },
|
||||||
{
|
{ name: "广元", value: [105.834, 32.435, 0], count: 0 },
|
||||||
name: "武侯",
|
{ name: "巴中", value: [106.753, 31.857, 0], count: 0 },
|
||||||
value: [104.04777, 30.648289, 0],
|
{ name: "达州", value: [107.467, 31.209, 0], count: 0 },
|
||||||
count: 0
|
{ name: "南充", value: [106.110, 30.837, 0], count: 0 }
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "成华",
|
|
||||||
value: [104.108719, 30.665854, 0],
|
|
||||||
count: 0
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
// 地图参数设置
|
// 地图参数设置
|
||||||
let option = {
|
let option = {
|
||||||
@ -64,13 +58,13 @@ let option = {
|
|||||||
fontWeight: "bold"
|
fontWeight: "bold"
|
||||||
},
|
},
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
color: "rgba(27, 129, 150, 0.7)",
|
color: "rgba(27, 129, 150, 0.4)",
|
||||||
borderColor: "#61cfff",
|
borderColor: "#61cfff",
|
||||||
borderWidth: 2,
|
borderWidth: 2,
|
||||||
opacity: 0.95
|
opacity: 0.75
|
||||||
},
|
},
|
||||||
emphasis: {
|
emphasis: {
|
||||||
itemStyle: { color: "rgba(27, 129, 150, 0.8)" },
|
itemStyle: { color: "rgba(27, 129, 150, 0.65)", opacity: 0.85 },
|
||||||
label: { color: "#ffff00" }
|
label: { color: "#ffff00" }
|
||||||
},
|
},
|
||||||
light: {
|
light: {
|
||||||
|
|||||||
Reference in New Issue
Block a user