Compare commits

..

2 Commits

1 changed files with 12 additions and 52 deletions

View File

@ -29,7 +29,7 @@
districtData: [ districtData: [
{ {
name: '市南区', name: '市南区',
value: [120.395966, 36.000892], value: [120.435966, 35.980892],
}, },
{ {
name: '市北区', name: '市北区',
@ -133,25 +133,25 @@
itemStyle: { itemStyle: {
borderColor: '#25e8ff', borderColor: '#25e8ff',
borderWidth: 2, borderWidth: 2,
/* areaColor: "#004d8e", //rgba设置透明度0
shadowColor: "#10daff",
shadowBlur: 10,
shadowOffsetX: 10,
opacity: 0.53, */
areaColor: { areaColor: {
image: img, image: img,
repeat: 'repeat', repeat: 'repeat',
}, },
}, },
emphasis: { emphasis: {
disabled: false, //disabled: false,
//areaColor: '#3066ba',
focus: 'none', focus: 'none',
itemStyle: { itemStyle: {
color: null, // color: '#3066ba',//
color: '#1ef6f5',//
}, },
label: { label: {
show: true, show: true,
//color: "#fff", color: "#ff934a",
fontWeight:'bold'
}, },
}, },
}, },
@ -210,47 +210,7 @@
}, },
], ],
series: [ series: [
// {
// tooltip: {
// show: false,
// },
// type: "effectScatter",
// coordinateSystem: "geo",
// rippleEffect: {
// scale: 3,
// brushType: "stroke",
// },
// showEffectOn: "render",
// itemStyle: {
// normal: {
// shadowColor: "#ffffff",
// shadowBlur: 10,
// shadowOffsetX: 0,
// shadowOffsetY: 0,
// color: "#df1818",
// },
// },
// label: {
// normal: {
// color: "#fff",
// },
// },
// symbol: "circle",
// symbolSize: [10, 5],
// data:data, //
// zlevel: 1,
// },
// {
// type: "scatter",
// coordinateSystem: "geo",
// symbol: function (value, params) {
// return 'image://static/assets/warning-reservoir.png';
// },
// symbolSize: [25, 35],
// symbolOffset: [0, -20],
// z: 9999,
// data:data, //
// },
{ {
type: 'scatter', type: 'scatter',
coordinateSystem: 'geo', coordinateSystem: 'geo',
@ -336,8 +296,8 @@
background-size: 100% 100%; background-size: 100% 100%;
.city-map-content-echarts { .city-map-content-echarts {
width: 10rem; width: 10rem;
height: 7.9rem; height: 7.8rem;
top: 10px; top: 20px;
left: 500px; left: 500px;
bottom: 2rem; bottom: 2rem;
position: absolute; position: absolute;