地图完善
Showing
1 changed file
with
41 additions
and
16 deletions
| ... | @@ -74,10 +74,10 @@ export default { | ... | @@ -74,10 +74,10 @@ export default { |
| 74 | { gte: 0, lte: 500, label: "≤500", color: "#1872CC" }, | 74 | { gte: 0, lte: 500, label: "≤500", color: "#1872CC" }, |
| 75 | ], | 75 | ], |
| 76 | textStyle: { | 76 | textStyle: { |
| 77 | color: "#737373", | 77 | color: "#CEF8FF", |
| 78 | }, | 78 | } |
| 79 | }, | 79 | }, |
| 80 | geo: { | 80 | geo: [{ |
| 81 | aspectScale: 1, //长宽比 | 81 | aspectScale: 1, //长宽比 |
| 82 | zoom: 1.1, | 82 | zoom: 1.1, |
| 83 | mapType: "", // 自定义扩展图表类型 | 83 | mapType: "", // 自定义扩展图表类型 |
| ... | @@ -88,13 +88,38 @@ export default { | ... | @@ -88,13 +88,38 @@ export default { |
| 88 | normal: { | 88 | normal: { |
| 89 | //阴影 | 89 | //阴影 |
| 90 | areaColor: "#5689FD", | 90 | areaColor: "#5689FD", |
| 91 | shadowColor: "#21371d", | 91 | // shadowColor: "#21371d", |
| 92 | borderWidth: 0, | 92 | borderWidth: 1, |
| 93 | shadowOffsetX: 2, | 93 | // shadowOffsetX: 2, |
| 94 | shadowOffsetY: 20, | 94 | // shadowOffsetY: 20, |
| 95 | }, | 95 | }, |
| 96 | }, | 96 | }, |
| 97 | }, | 97 | },{ |
| 98 | aspectScale: 1, //长宽比 | ||
| 99 | zoom: 1.1, | ||
| 100 | mapType: "", // 自定义扩展图表类型 | ||
| 101 | top: "18%", | ||
| 102 | left: "10%", | ||
| 103 | map: "汉中市", | ||
| 104 | itemStyle: { | ||
| 105 | color:'#21371d', | ||
| 106 | areaColor: "#21371d", | ||
| 107 | borderWidth: 1, | ||
| 108 | borderColor:"#00A3CB", | ||
| 109 | shadowColor: "#01C5E9", | ||
| 110 | shadowBlur:10, | ||
| 111 | shadowOffsetX: 0, | ||
| 112 | shadowOffsetY: -12, | ||
| 113 | // normal: { | ||
| 114 | // //阴影 | ||
| 115 | // color:'#21371d', | ||
| 116 | // areaColor: "#21371d", | ||
| 117 | // }, | ||
| 118 | }, | ||
| 119 | emphasis: { | ||
| 120 | disabled:true | ||
| 121 | } | ||
| 122 | }], | ||
| 98 | series: [ | 123 | series: [ |
| 99 | { | 124 | { |
| 100 | type: "map", | 125 | type: "map", |
| ... | @@ -105,11 +130,11 @@ export default { | ... | @@ -105,11 +130,11 @@ export default { |
| 105 | left: "10%", | 130 | left: "10%", |
| 106 | itemStyle: { | 131 | itemStyle: { |
| 107 | normal: { | 132 | normal: { |
| 108 | areaColor: "rgba(19,54,162,.1)", | 133 | // areaColor: "rgba(19,54,162,.1)", |
| 109 | borderWidth: 1, | 134 | borderWidth: 1.6, |
| 110 | shadowBlur: 2, | 135 | // shadowBlur: 2, |
| 111 | borderColor: "rgb(155, 200, 200)", | 136 | borderColor: "#9DFFFC", |
| 112 | shadowColor: "#44f2fc", | 137 | // shadowColor: "#44f2fc", |
| 113 | }, | 138 | }, |
| 114 | emphasis: { | 139 | emphasis: { |
| 115 | // itemStyle:{ | 140 | // itemStyle:{ |
| ... | @@ -130,9 +155,9 @@ export default { | ... | @@ -130,9 +155,9 @@ export default { |
| 130 | borderType: 'dottod', | 155 | borderType: 'dottod', |
| 131 | borderWidth: 0, | 156 | borderWidth: 0, |
| 132 | borderColor:'#F8F071', | 157 | borderColor:'#F8F071', |
| 133 | shadowColor: '#4DD1B4', | 158 | shadowColor: '#000', |
| 134 | shadowBlur: 1, | 159 | shadowBlur: 10, |
| 135 | shadowOffsetY:-3 | 160 | shadowOffsetY:4 |
| 136 | // } | 161 | // } |
| 137 | 162 | ||
| 138 | } | 163 | } | ... | ... |
-
Please register or sign in to post a comment