echarts地图省市坐标
echarts地图省市坐标
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
用的是省会的坐标
-
const geoCoordMap = {
-
'北京': ['116.46', '39.92'],
-
'上海': ['121.48', '31.22'],
-
'天津': ['117.2', '39.13'],
-
'重庆': ['106.54', '29.59'],
-
'河北': ['114.48', '38.03'],
-
'山西': ['112.53', '37.87'],
-
'辽宁': ['123.38', '41.8'],
-
'吉林': ['125.35', '43.88'],
-
'黑龙江': ['126.63', '45.75'],
-
'浙江': ['120.19', '30.26'],
-
'福建': ['119.3', '26.08'],
-
'山东': ['106.54', '29.59'],
-
'河南': ['113.65', '34.76'],
-
'湖北': ['114.31', '30.52'],
-
'湖南': ['113', '28.21'],
-
'广东': ['113.23', '23.16'],
-
'海南': ['110.35', '20.02'],
-
'四川': ['104.06', '30.67'],
-
'贵州': ['106.71', '26.57'],
-
'云南': ['102.73', '25.04'],
-
'江西': ['115.89', '28.68'],
-
'陕西': ['108.95', '34.27'],
-
'青海': ['101.74', '36.56'],
-
'甘肃': ['103.73', '36.03'],
-
'广西': ['106.54', '29.59'],
-
'新疆': ['87.68', '43.77'],
-
'内蒙古': ['111.65', '40.82'],
-
'西藏': ['91.11', '29.97'],
-
'宁夏': ['106.27', '38.47'],
-
'台湾': ['121.5', '25.14'],
-
'香港': ['114.1', '22.2'],
-
'澳门': ['113.33', '22.13'],
-
'安徽': ['117.27', '31.86'],
-
'江苏': ['118.78', '32.04']
-
https://blog.csdn.net/piano9425/article/details/88312471