zym0110 commented on issue #15902: URL: https://github.com/apache/echarts/issues/15902#issuecomment-946342196
option数据如下
{
"geo": [
{
"silent": false,
"map": "chinaMapOutline",
"show": true,
"roam": false,
"label": {
"show": false
},
"itemStyle": {
"color": {
"image": {},
"repeat": "repeat"
},
"opacity": 1,
"shadowColor": "rgba(56,164,255,0.26)",
"shadowBlur": 5,
"shadowOffsetX": 5,
"shadowOffsetY": 5
},
"layoutCenter": [
"50%",
"50%"
],
"layoutSize": "100%",
"emphasis": {
"focus": "none",
"label": {
"fontFamily": "Microsoft Yahei",
"fontSize": 15,
"color": "#ffffff",
"fontWeight": "normal",
"fontStyle": "normal"
},
"itemStyle": {
"areaColor": {
"type": "linear",
"x": 0,
"y": 1,
"x2": 0,
"y2": 0,
"colorStops": [
{
"offset": 0,
"color": "rgba(30,231,231,0.35)"
},
{
"offset": 1,
"color": "rgba(30,231,231,1)"
}
],
"global": false
},
"opacity": 1
}
},
"select": {
"focus": "none",
"label": {
"fontFamily": "Microsoft Yahei",
"fontSize": 8,
"color": "#ffffff",
"fontWeight": "normal",
"fontStyle": "normal"
},
"itemStyle": {
"areaColor": {
"type": "linear",
"x": 0,
"y": 1,
"x2": 0,
"y2": 0,
"colorStops": [
{
"offset": 0,
"color": "rgba(30,231,231,0.35)"
},
{
"offset": 1,
"color": "rgba(30,231,231,1)"
}
],
"global": false
},
"opacity": 1
}
}
}
],
"series": [
{
"map": "china",
"type": "map",
"zlevel": 1,
"label": {
"show": true,
"rotate": 0,
"offset": [
0,
0
],
"fontFamily": "Microsoft Yahei",
"fontSize": 8,
"color": "#ffffff",
"fontWeight": "normal",
"fontStyle": "normal"
},
"itemStyle": {
"areaColor": {
"type": "radial",
"x": 0.5,
"y": 0.5,
"r": 0.8,
"colorStops": [
{
"offset": 0,
"color": "rgba(147, 235, 248, 0)"
},
{
"offset": 1,
"color": "rgba(147, 235, 248, 0.2)"
}
],
"global": false
},
"opacity": 1,
"shadowColor": "rgba(56,164,255,0.26)",
"shadowBlur": 5,
"shadowOffsetX": 5,
"shadowOffsetY": 5
},
"layoutCenter": [
"50%",
"50%"
],
"layoutSize": "100%",
"emphasis": {
"focus": "none",
"label": {
"fontFamily": "Microsoft Yahei",
"fontSize": 15,
"color": "#ffffff",
"fontWeight": "normal",
"fontStyle": "normal"
},
"itemStyle": {
"areaColor": {
"type": "linear",
"x": 0,
"y": 1,
"x2": 0,
"y2": 0,
"colorStops": [
{
"offset": 0,
"color": "rgba(30,231,231,0.35)"
},
{
"offset": 1,
"color": "rgba(30,231,231,1)"
}
],
"global": false
},
"opacity": 1
}
},
"select": {
"focus": "none",
"label": {
"fontFamily": "Microsoft Yahei",
"fontSize": 8,
"color": "#ffffff",
"fontWeight": "normal",
"fontStyle": "normal"
},
"itemStyle": {
"areaColor": {
"type": "linear",
"x": 0,
"y": 1,
"x2": 0,
"y2": 0,
"colorStops": [
{
"offset": 0,
"color": "rgba(30,231,231,0.35)"
},
{
"offset": 1,
"color": "rgba(30,231,231,1)"
}
],
"global": false
},
"opacity": 1
}
},
"data": [
{
"name": "北京市",
"value": [
116.405285,
39.904989
],
"cityCode": "110000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "天津市",
"value": [
117.190182,
39.125596
],
"cityCode": "120000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "河北省",
"value": [
114.502461,
38.045474
],
"cityCode": "130000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "山西省",
"value": [
112.549248,
37.857014
],
"cityCode": "140000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "内蒙古自治区",
"value": [
111.670801,
40.818311
],
"cityCode": "150000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "辽宁省",
"value": [
123.429096,
41.796767
],
"cityCode": "210000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "吉林省",
"value": [
125.3245,
43.886841
],
"cityCode": "220000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "黑龙江省",
"value": [
126.642464,
45.756967
],
"cityCode": "230000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "上海市",
"value": [
121.472644,
31.231706
],
"cityCode": "310000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "江苏省",
"value": [
118.767413,
32.041544
],
"cityCode": "320000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "浙江省",
"value": [
120.153576,
30.287459
],
"cityCode": "330000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "安徽省",
"value": [
117.283042,
31.86119
],
"cityCode": "340000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "福建省",
"value": [
119.306239,
26.075302
],
"cityCode": "350000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "江西省",
"value": [
115.892151,
28.676493
],
"cityCode": "360000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "山东省",
"value": [
117.000923,
36.675807
],
"cityCode": "370000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "河南省",
"value": [
113.665412,
34.757975
],
"cityCode": "410000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "湖北省",
"value": [
114.298572,
30.584355
],
"cityCode": "420000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "湖南省",
"value": [
112.982279,
28.19409
],
"cityCode": "430000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "广东省",
"value": [
113.280637,
23.125178
],
"cityCode": "440000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "广西壮族自治区",
"value": [
108.320004,
22.82402
],
"cityCode": "450000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "海南省",
"value": [
110.33119,
20.031971
],
"cityCode": "460000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "重庆市",
"value": [
106.504962,
29.533155
],
"cityCode": "500000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "四川省",
"value": [
104.065735,
30.659462
],
"cityCode": "510000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "贵州省",
"value": [
106.713478,
26.578343
],
"cityCode": "520000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "云南省",
"value": [
102.712251,
25.040609
],
"cityCode": "530000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "西藏自治区",
"value": [
91.132212,
29.660361
],
"cityCode": "540000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "陕西省",
"value": [
108.948024,
34.263161
],
"cityCode": "610000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "甘肃省",
"value": [
103.823557,
36.058039
],
"cityCode": "620000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "青海省",
"value": [
101.778916,
36.623178
],
"cityCode": "630000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "宁夏回族自治区",
"value": [
106.278179,
38.46637
],
"cityCode": "640000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "新疆维吾尔自治区",
"value": [
87.617733,
43.792818
],
"cityCode": "650000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "台湾省",
"value": [
121.509062,
25.044332
],
"cityCode": "710000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "香港特别行政区",
"value": [
114.173355,
22.320048
],
"cityCode": "810000",
"parentCode": -1,
"cliclDrillDown": true
},
{
"name": "澳门特别行政区",
"value": [
113.54909,
22.198951
],
"cityCode": "820000",
"parentCode": -1,
"cliclDrillDown": true
}
]
},
{
"name": "区域地图-0",
"map": "china",
"type": "map",
"zlevel": 2,
"data": [
{
"name": "上海市",
"value": 111
},
{
"name": "福建省",
"value": 222
},
{
"name": "北京市",
"value": 333
},
{
"name": "山东省",
"value": 144
},
{
"name": "广东省",
"value": 155
}
],
"layoutCenter": [
"50%",
"50%"
],
"layoutSize": "100%",
"itemStyle": {
"areaColor": "rgba(0,0,0,0)"
}
}
],
"visualMap": [
{
"left": 10,
"top": "auto",
"right": "auto",
"bottom": 10,
"orient": "vertical",
"padding": [
5,
5,
5,
5
],
"inverse": false,
"itemWidth": 20,
"itemHeight": 14,
"showLabel": true,
"text": [
"",
""
],
"textGap": 10,
"precision": 0,
"align": "auto",
"textStyle": {
"fontFamily": "Microsoft Yahei",
"fontSize": 16,
"color": "#ffffff",
"fontWeight": "normal",
"lineHeight": 16,
"fontStyle": "normal"
},
"itemGap": 10,
"itemSymbol": "circle",
"minOpen": false,
"maxOpen": false,
"type": "piecewise",
"show": true,
"min": 0,
"max": 500,
"seriesIndex": 1,
"splitNumber": 5,
"inRange": {
"color": [
"#41a2b7",
"#ffd841",
"#ff6f5b"
]
}
}
]
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
