ECharts 引入中国地图和区域地图

  • ECharts 引入中国地图和区域地图已关闭评论
  • 54 次浏览
  • A+
所属分类:Web前端
摘要

一,引入中国地图 二,引入区域地图 

一,引入中国地图

 
<div  id="chinaMap"></div>
ECharts 引入中国地图和区域地图ECharts 引入中国地图和区域地图

import china from 'echarts/map/js/china.js' export default {   data() {     return {       myChart: {},       echarts:echarts,     };   },   mounted(){     this.initmyChart(); // 初始化地图   },   methods:{         initmyChart(){             var mapChart = this.$echarts.init(document.getElementById('chinaMap'));             var dataValue = this.dealWithData();             var data1 = dataValue.splice(0, 6);             var option ={                 geo:{                     show:true,                     roam: false, //是否允许鼠标滚动放大,缩小                     map:'china',                     label: {  //图形上的文本标签,可用于说明图形的一些数据信息                         show:false,  //是否显示文本                         color:'#CCC',  //文本颜色                     },                     center: [105, 36], // 调整地图位置                     zoom: 1.23,                     itemStyle: { //地图区域的多边形 图形样式。 默认样试。                         areaColor: '#323c48', //地图区域的颜色。                         borderColor: '#111', //边框线                     },                     emphasis:{ //高亮状态下的多边形和标签样式。                         label:{ //文本                             color: '#ADA',                         },                         itemStyle:{ //区域                             areaColor: '#F60'                         }                     },                     itemStyle: {                       normal: {                         areaColor: "#0d0059",                         borderColor: "#389dff",                         borderWidth: 1, //设置外层边框                         shadowBlur: 5,                         shadowOffsetY: 8,                         shadowOffsetX: 0,                         shadowColor: "#01012a"                       },                       emphasis: {                         areaColor: "#184cff",                         shadowOffsetX: 0,                         shadowOffsetY: 0,                         shadowBlur: 5,                         borderWidth: 0,                         shadowColor: "rgba(0, 0, 0, 0.5)"                       }                     }                 },                 tooltip:{                     show:true,                 },                 series:[                     {                         type:'scatter', //样试                         coordinateSystem:'geo', //该系列使用的坐标系                         data:[ //数据                             {name: '宜昌', value: [111.3,30.7,100]},                             {name: '信阳', value: [114.089435,32.167686,80]},                             {name: '北京', value: [116.422586,39.921549,70]},                             {name: "乳山",value:[121.52, 36.89,100]},                             {name: "潮州",value:[116.63, 23.68,200]},                             {name: "丹东",value:[124.37, 40.13,150]},                         ],                         itemStyle: { //样试。                             normal:{ //默认样试                                 color: '#d6f628'                             }                         },                         label: {                             normal: {                                 formatter: '{b}',                                 position: 'right',                                 show: false                             }                         },                         //标记的大小,可以设置数组或者函数返回值的形式                         symbolSize: function (val) {                             return val[2] / 11;                         },                         // rippleEffect: { //涟漪特效相关配置。                         //     brushType: 'stroke' //波纹的绘制方式                         // },                         hoverAnimation: true, //鼠标移入放大圆                         tooltip: {                           show: false                         },                         encode: {                           value: 2                         },                         showEffectOn: "render",                         rippleEffect: {                           brushType: "stroke",                           color: "#FFCC00",                           period: 9,                           scale: 5                         },                         hoverAnimation: true, // 动画                         label: {                           formatter: "{b}",                           position: "right",                           show: false                         },                         itemStyle: {                           color: "#FFCC00",                           shadowBlur: 2,                           shadowColor: "#333"                         },                         zlevel: 1                   }                 ]             }             mapChart.setOption(option)         },         dealWithData() {           var geoCoordMap = {             海门: [121.15, 31.89],             鄂尔多斯: [109.781327, 39.608266],             招远: [120.38, 37.35],             舟山: [122.207216, 29.985295],             齐齐哈尔: [123.97, 47.33],             盐城: [120.13, 33.38],             赤峰: [118.87, 42.28],             青岛: [120.33, 36.07],             乳山: [121.52, 36.89],             金昌: [102.188043, 38.520089],             泉州: [118.58, 24.93],             莱西: [120.53, 36.86],             日照: [119.46, 35.42],             胶南: [119.97, 35.88],             南通: [121.05, 32.08],             拉萨: [91.11, 29.97],             云浮: [112.02, 22.93],             梅州: [116.1, 24.55],             文登: [122.05, 37.2],             上海: [121.48, 31.22],             攀枝花: [101.718637, 26.582347],             威海: [122.1, 37.5],             承德: [117.93, 40.97],             厦门: [118.1, 24.46],             汕尾: [115.375279, 22.786211],             潮州: [116.63, 23.68],             丹东: [124.37, 40.13],             太仓: [121.1, 31.45],             曲靖: [103.79, 25.51],             烟台: [121.39, 37.52],             福州: [119.3, 26.08],             瓦房店: [121.979603, 39.627114],             即墨: [120.45, 36.38],             抚顺: [123.97, 41.97],             玉溪: [102.52, 24.35],             张家口: [114.87, 40.82],             阳泉: [113.57, 37.85],             莱州: [119.942327, 37.177017],             湖州: [120.1, 30.86],             汕头: [116.69, 23.39],             昆山: [120.95, 31.39],             宁波: [121.56, 29.86],             湛江: [110.359377, 21.270708],             揭阳: [116.35, 23.55],             荣成: [122.41, 37.16],             连云港: [119.16, 34.59],             葫芦岛: [120.836932, 40.711052],             常熟: [120.74, 31.64],             东莞: [113.75, 23.04],             河源: [114.68, 23.73],             淮安: [119.15, 33.5],             泰州: [119.9, 32.49],             南宁: [108.33, 22.84],             营口: [122.18, 40.65],             惠州: [114.4, 23.09],             江阴: [120.26, 31.91],             蓬莱: [120.75, 37.8],             韶关: [113.62, 24.84],             嘉峪关: [98.289152, 39.77313],             广州: [113.23, 23.16],             延安: [109.47, 36.6],             太原: [112.53, 37.87],             清远: [113.01, 23.7],             中山: [113.38, 22.52],             昆明: [102.73, 25.04],             寿光: [118.73, 36.86],             盘锦: [122.070714, 41.119997],             长治: [113.08, 36.18],             深圳: [114.07, 22.62],             珠海: [113.52, 22.3],             宿迁: [118.3, 33.96],             咸阳: [108.72, 34.36],             铜川: [109.11, 35.09],             平度: [119.97, 36.77],             佛山: [113.11, 23.05],             海口: [110.35, 20.02],             江门: [113.06, 22.61],             章丘: [117.53, 36.72],             肇庆: [112.44, 23.05],             大连: [121.62, 38.92],             临汾: [111.5, 36.08],             吴江: [120.63, 31.16],             石嘴山: [106.39, 39.04],             沈阳: [123.38, 41.8],             苏州: [120.62, 31.32],             茂名: [110.88, 21.68],             嘉兴: [120.76, 30.77],             长春: [125.35, 43.88],             胶州: [120.03336, 36.264622],             银川: [106.27, 38.47],             张家港: [120.555821, 31.875428],             三门峡: [111.19, 34.76],             锦州: [121.15, 41.13],             南昌: [115.89, 28.68],             柳州: [109.4, 24.33],             三亚: [109.511909, 18.252847],             自贡: [104.778442, 29.33903],             吉林: [126.57, 43.87],             阳江: [111.95, 21.85],             泸州: [105.39, 28.91],             西宁: [101.74, 36.56],             宜宾: [104.56, 29.77],             呼和浩特: [111.65, 40.82],             成都: [104.06, 30.67],             大同: [113.3, 40.12],             镇江: [119.44, 32.2],             桂林: [110.28, 25.29],             张家界: [110.479191, 29.117096],             宜兴: [119.82, 31.36],             北海: [109.12, 21.49],             西安: [108.95, 34.27],             金坛: [119.56, 31.74],             东营: [118.49, 37.46],             牡丹江: [129.58, 44.6],             遵义: [106.9, 27.7],             绍兴: [120.58, 30.01],             扬州: [119.42, 32.39],             常州: [119.95, 31.79],             潍坊: [119.1, 36.62],             重庆: [106.54, 29.59],             台州: [121.420757, 28.656386],             南京: [118.78, 32.04],             滨州: [118.03, 37.36],             贵阳: [106.71, 26.57],             无锡: [120.29, 31.59],             本溪: [123.73, 41.3],             克拉玛依: [84.77, 45.59],             渭南: [109.5, 34.52],             马鞍山: [118.48, 31.56],             宝鸡: [107.15, 34.38],             焦作: [113.21, 35.24],             句容: [119.16, 31.95],             北京: [116.46, 39.92],             徐州: [117.2, 34.26],             衡水: [115.72, 37.72],             包头: [110, 40.58],             绵阳: [104.73, 31.48],             乌鲁木齐: [87.68, 43.77],             枣庄: [117.57, 34.86],             杭州: [120.19, 30.26],             淄博: [118.05, 36.78],             鞍山: [122.85, 41.12],             溧阳: [119.48, 31.43],             库尔勒: [86.06, 41.68],             安阳: [114.35, 36.1],             开封: [114.35, 34.79],             济南: [117, 36.65],             德阳: [104.37, 31.13],             温州: [120.65, 28.01],             九江: [115.97, 29.71],             邯郸: [114.47, 36.6],             临安: [119.72, 30.23],             兰州: [103.73, 36.03],             沧州: [116.83, 38.33],             临沂: [118.35, 35.05],             南充: [106.110698, 30.837793],             天津: [117.2, 39.13],             富阳: [119.95, 30.07],             泰安: [117.13, 36.18],             诸暨: [120.23, 29.71],             郑州: [113.65, 34.76],             哈尔滨: [126.63, 45.75],             聊城: [115.97, 36.45],             芜湖: [118.38, 31.33],             唐山: [118.02, 39.63],             平顶山: [113.29, 33.75],             邢台: [114.48, 37.05],             德州: [116.29, 37.45],             济宁: [116.59, 35.38],             荆州: [112.239741, 30.335165],             宜昌: [111.3, 30.7],             义乌: [120.06, 29.32],             丽水: [119.92, 28.45],             洛阳: [112.44, 34.7],             秦皇岛: [119.57, 39.95],             株洲: [113.16, 27.83],             石家庄: [114.48, 38.03],             莱芜: [117.67, 36.19],             常德: [111.69, 29.05],             保定: [115.48, 38.85],             湘潭: [112.91, 27.87],             金华: [119.64, 29.12],             岳阳: [113.09, 29.37],             长沙: [113, 28.21],             衢州: [118.88, 28.97],             廊坊: [116.7, 39.53],             菏泽: [115.480656, 35.23375],             合肥: [117.27, 31.86],             武汉: [114.31, 30.52],             大庆: [125.03, 46.58]           };           var data = [];           for (var key in geoCoordMap) {             data.push({ name: key, value: geoCoordMap[key] });           }           return data;         },        },   }; </script>

View Code

 

二,引入区域地图

<div  id="regionMap"></div>
ECharts 引入中国地图和区域地图ECharts 引入中国地图和区域地图

<script> import {beihai} from './js/beihaiCity.js' export default {   data() {     return {       myChart: {},       echarts:echarts,       bh:beihai,     };   },  mounted(){this.regionMap();   },   methods: {     regionMap(){       this.$echarts.registerMap('bhMap',beihai);       // //生成地图       var mapChart = this.$echarts.init(document.getElementById('regionMap'));       var option = {         geo: {           map: 'bhMap', // js 地图包要和echarts.registerMap()里面的名字保持一致           mapType: 'bhMap', // 自定义地区要和echarts.registerMap()里面的名字保持一致           coordinateSystem: 'geo',           roam: false,           zoom: 1,           zlevel: 2,           label: {                     show: true                 },                 itemStyle: {                   normal: {                       areaColor: "#0d0059",                       borderColor: "#389dff",                       borderWidth: 1, //设置外层边框                       shadowBlur: 5,                       hadowOffsetY: 8,                       shadowOffsetX: 0,                       hadowColor: "#01012a"                   },                   emphasis: {                     areaColor: "#184cff",                     shadowOffsetX: 0,                     shadowOffsetY: 0,                     shadowBlur: 5,                     borderWidth: 0,                     shadowColor: "rgba(0, 0, 0, 0.5)"                   }                 },                 // 自定义名称映射                 nameMap: {                     'Central and Western': '中西区',                     'Eastern': '东区',                     'Islands': '离岛',                     'Kowloon City': '九龙城',                     'Kwai Tsing': '葵青',                     'Kwun Tong': '观塘',                     'North': '北区',                     'Sai Kung': '西贡',                     'Sha Tin': '沙田',                     'Sham Shui Po': '深水埗',                     'Southern': '南区',                     'Tai Po': '大埔',                     'Tsuen Wan': '荃湾',                     'Tuen Mun': '屯门',                     'Wan Chai': '湾仔',                     'Wong Tai Sin': '黄大仙',                     'Yau Tsim Mong': '油尖旺',                     'Yuen Long': '元朗'                 },         },         series: [           {             name: ' ',             type: 'scatter', // 涟漪动画             mapType: 'bhMap', // 自定义扩展图表类型             coordinateSystem: 'geo',             roam: false,             zoom: 1, // 显示比例             zlevel: 2,             symbol: 'circle', // 标记的图形。             symbolSize: function (val) { // 标记大小 可写死               return val[2] / 11;             },             // rippleEffect: {             //   period: 4, // 动画速度,值越小,动画越快             //   brushType: 'stroke' // 波纹的绘制方式             // },             label: {               normal: {                 show: true,                 // 提示内容                 formatter: params => {                   return params.name                 },                 position: 'top', // 提示方向                 color: '#fff'               },               emphasis: {                 show: true //               }             },             itemStyle: {               normal: {                 color: '#00BD16', // 圆球拨动的颜色                 borderColor: 'rgba(147, 235, 248, 1)',                 borderWidth: 0.5,                 areaColor: '#021642'               },               emphasis: {                 areaColor: 'orangered', // 滑过高亮颜色                 borderColor: '#111'               }               // areaColor: '#021642'             },             data: this.shTempData, //  在 type为'effectScatter'时就是圆点进度纬度             nameMap: {               'Central and Western': '中西区',               'Eastern': '东区',               'Islands': '离岛',               'Kowloon City': '九龙城',               'Kwai Tsing': '葵青',               'Kwun Tong': '观塘',               'North': '北区',               'Sai Kung': '西贡',               'Sha Tin': '沙田',               'Sham Shui Po': '深水埗',               'Southern': '南区',               'Tai Po': '大埔',               'Tsuen Wan': '荃湾',               'Tuen Mun': '屯门',               'Wan Chai': '湾仔',               'Wong Tai Sin': '黄大仙',               'Yau Tsim Mong': '油尖旺',               'Yuen Long': '元朗'             }           }         ]       }       mapChart.setOption(option)     },       }, }; </script>

View Code

beihaiCity.js 文件
ECharts 引入中国地图和区域地图ECharts 引入中国地图和区域地图

1 export const beihai = {"features":[{"type":"Feature","properties":{"adcode":450502,"name":"海城区","center":[109.107529,21.468443],"centroid":[109.145908,21.501717],"childrenNum":0,"level":"district","subFeatureIndex":0,"acroutes":[100000,450000,450500]},"geometry":{"type":"MultiPolygon","coordinates":[[[[109.207597,21.601581],[109.20755,21.598748],[109.203326,21.589951],[109.203964,21.586373],[109.204161,21.578962],[109.203288,21.573304],[109.203636,21.568064],[109.207625,21.549457],[109.210431,21.543604],[109.212393,21.536242],[109.209812,21.514133],[109.202444,21.502791],[109.198548,21.497314],[109.186806,21.479412],[109.184187,21.476209],[109.174538,21.468863],[109.168643,21.467619],[109.168709,21.464762],[109.173562,21.460518],[109.173393,21.456539],[109.166447,21.450845],[109.166973,21.444019],[109.160928,21.443734],[109.158018,21.450029],[109.154629,21.459528],[109.11974,21.449499],[109.113799,21.447336],[109.104084,21.445009],[109.098762,21.444111],[109.096265,21.44457],[109.08732,21.447642],[109.083134,21.450437],[109.078431,21.445387],[109.070978,21.448111],[109.064398,21.452539],[109.059452,21.453427],[109.05687,21.452866],[109.041223,21.46114],[109.042566,21.464497],[109.047418,21.4707],[109.057903,21.480789],[109.074395,21.489521],[109.124556,21.501231],[109.142155,21.512052],[109.147374,21.518334],[109.150284,21.52374],[109.151447,21.531867],[109.15202,21.540769],[109.150284,21.549865],[109.146998,21.558195],[109.142737,21.564384],[109.159435,21.564802],[109.168606,21.567218],[109.178386,21.57779],[109.183051,21.578942],[109.194315,21.587678],[109.207597,21.601581]]],[[[109.088531,21.014725],[109.085752,21.020271],[109.088643,21.030862],[109.085799,21.043284],[109.085893,21.047039],[109.087573,21.052778],[109.092379,21.057402],[109.106787,21.064983],[109.118248,21.070231],[109.128901,21.071581],[109.138982,21.067316],[109.145027,21.057832],[109.145562,21.048379],[109.14453,21.041268],[109.140353,21.032817],[109.136992,21.027485],[109.13382,21.019361],[109.130807,21.015799],[109.128122,21.01453],[109.125757,21.015073],[109.122782,21.017273],[109.118098,21.017846],[109.114052,21.019412],[109.112062,21.025019],[109.107801,21.025879],[109.102263,21.022676],[109.100198,21.019279],[109.102028,21.014827],[109.105877,21.011317],[109.105952,21.007469],[109.104075,21.005392],[109.099869,21.005719],[109.094754,21.007909],[109.088531,21.014725]]],[[[109.206968,20.906815],[109.20571,20.910963],[109.206827,20.916666],[109.210093,20.917977],[109.21719,20.9147],[109.220559,20.911946],[109.222305,20.909089],[109.222681,20.903733],[109.218513,20.899308],[109.214965,20.898448],[109.210403,20.900681],[109.206968,20.906815]]]]}},{"type":"Feature","properties":{"adcode":450503,"name":"银海区","center":[109.118707,21.444909],"centroid":[109.267962,21.521118],"childrenNum":0,"level":"district","subFeatureIndex":1,"acroutes":[100000,450000,450500]},"geometry":{"type":"MultiPolygon","coordinates":[[[[109.384933,21.648969],[109.384642,21.646167],[109.38207,21.64418],[109.378513,21.636232],[109.377387,21.63236],[109.378935,21.626724],[109.381517,21.621568],[109.389589,21.617145],[109.388791,21.611488],[109.392827,21.608533],[109.398074,21.610581],[109.399313,21.60945],[109.398759,21.607075],[109.39309,21.603548],[109.38972,21.604038],[109.388125,21.602529],[109.387111,21.597769],[109.383816,21.591592],[109.383582,21.588983],[109.384849,21.586608],[109.383713,21.5815],[109.38712,21.576159],[109.392743,21.570368],[109.396066,21.562457],[109.398027,21.559072],[109.396563,21.556349],[109.393728,21.557063],[109.390528,21.556288],[109.390903,21.552393],[109.393278,21.550446],[109.394442,21.543492],[109.394376,21.540667],[109.397689,21.540606],[109.399839,21.539219],[109.398666,21.537455],[109.399266,21.531235],[109.398337,21.530501],[109.398375,21.52121],[109.397314,21.518712],[109.400383,21.515499],[109.400036,21.509227],[109.400956,21.508125],[109.398797,21.50325],[109.400205,21.502006],[109.398966,21.499435],[109.396957,21.499038],[109.397398,21.496559],[109.396,21.493356],[109.392461,21.492601],[109.382878,21.494305],[109.375153,21.496794],[109.369896,21.49765],[109.358417,21.497059],[109.355657,21.494968],[109.35286,21.494509],[109.351462,21.491],[109.347444,21.488827],[109.333778,21.48693],[109.331328,21.483798],[109.332492,21.479646],[109.331431,21.475066],[109.335204,21.470077],[109.334913,21.46821],[109.336969,21.466088],[109.33803,21.461803],[109.337401,21.458661],[109.331037,21.449733],[109.330117,21.447152],[109.330689,21.443723],[109.334472,21.435713],[109.317117,21.43504],[109.279064,21.427315],[109.272963,21.426652],[109.265999,21.427213],[109.24579,21.425692],[109.241144,21.418722],[109.230687,21.409833],[109.2129,21.401719],[109.186224,21.39093],[109.162645,21.385939],[109.147571,21.386357],[109.13886,21.38898],[109.108289,21.41068],[109.094744,21.419386],[109.082927,21.424794],[109.073231,21.426723],[109.064689,21.426907],[109.059452,21.425927],[109.052853,21.423784],[109.046639,21.424447],[109.043345,21.427539],[109.040041,21.433336],[109.038098,21.443397],[109.038098,21.451907],[109.041223,21.46114],[109.05687,21.452866],[109.059452,21.453427],[109.064398,21.452539],[109.070978,21.448111],[109.078431,21.445387],[109.083134,21.450437],[109.08732,21.447642],[109.096265,21.44457],[109.098762,21.444111],[109.104084,21.445009],[109.113799,21.447336],[109.11974,21.449499],[109.154629,21.459528],[109.158018,21.450029],[109.160928,21.443734],[109.166973,21.444019],[109.166447,21.450845],[109.173393,21.456539],[109.173562,21.460518],[109.168709,21.464762],[109.168643,21.467619],[109.174538,21.468863],[109.184187,21.476209],[109.186806,21.479412],[109.198548,21.497314],[109.202444,21.502791],[109.209812,21.514133],[109.212393,21.536242],[109.210431,21.543604],[109.207625,21.549457],[109.203636,21.568064],[109.203288,21.573304],[109.204161,21.578962],[109.203964,21.586373],[109.203326,21.589951],[109.20755,21.598748],[109.207597,21.601581],[109.216345,21.610428],[109.22223,21.615718],[109.22835,21.619173],[109.238196,21.619886],[109.243124,21.618062],[109.251994,21.612813],[109.256678,21.60893],[109.258762,21.599257],[109.264131,21.593906],[109.272438,21.593651],[109.275732,21.599482],[109.276633,21.603324],[109.276023,21.606392],[109.272823,21.611009],[109.272738,21.612538],[109.275901,21.616197],[109.282631,21.620977],[109.286367,21.624156],[109.290469,21.62914],[109.290863,21.631443],[109.288779,21.636589],[109.288854,21.639697],[109.295134,21.645179],[109.30208,21.656387],[109.309101,21.661288],[109.313512,21.665037],[109.313785,21.666759],[109.320289,21.671924],[109.333627,21.674552],[109.343464,21.678974],[109.350429,21.683456],[109.360125,21.686369],[109.364546,21.684791],[109.369211,21.68093],[109.375059,21.677222],[109.37627,21.67497],[109.37519,21.667462],[109.378203,21.664069],[109.381564,21.653147],[109.384933,21.648969]]]]}},{"type":"Feature","properties":{"adcode":450512,"name":"铁山港区","center":[109.450573,21.5928],"centroid":[109.475623,21.546273],"childrenNum":0,"level":"district","subFeatureIndex":2,"acroutes":[100000,450000,450500]},"geometry":{"type":"MultiPolygon","coordinates":[[[[109.607484,21.544614],[109.604499,21.523495],[109.576847,21.49356],[109.566653,21.477494],[109.541029,21.466109],[109.544821,21.443611],[109.529896,21.436958],[109.48518,21.453417],[109.448488,21.442672],[109.417157,21.438836],[109.334472,21.435713],[109.330689,21.443723],[109.330117,21.447152],[109.331037,21.449733],[109.337401,21.458661],[109.33803,21.461803],[109.336969,21.466088],[109.334913,21.46821],[109.335204,21.470077],[109.331431,21.475066],[109.332492,21.479646],[109.331328,21.483798],[109.333778,21.48693],[109.347444,21.488827],[109.351462,21.491],[109.35286,21.494509],[109.355657,21.494968],[109.358417,21.497059],[109.369896,21.49765],[109.375153,21.496794],[109.382878,21.494305],[109.392461,21.492601],[109.396,21.493356],[109.397398,21.496559],[109.396957,21.499038],[109.398966,21.499435],[109.400205,21.502006],[109.398797,21.50325],[109.400956,21.508125],[109.400036,21.509227],[109.400383,21.515499],[109.397314,21.518712],[109.398375,21.52121],[109.398337,21.530501],[109.399266,21.531235],[109.398666,21.537455],[109.399839,21.539219],[109.397689,21.540606],[109.394376,21.540667],[109.394442,21.543492],[109.393278,21.550446],[109.390903,21.552393],[109.390528,21.556288],[109.393728,21.557063],[109.396563,21.556349],[109.398027,21.559072],[109.396066,21.562457],[109.392743,21.570368],[109.38712,21.576159],[109.383713,21.5815],[109.384849,21.586608],[109.383582,21.588983],[109.383816,21.591592],[109.387111,21.597769],[109.388125,21.602529],[109.38972,21.604038],[109.39309,21.603548],[109.398759,21.607075],[109.399313,21.60945],[109.398074,21.610581],[109.392827,21.608533],[109.388791,21.611488],[109.389589,21.617145],[109.381517,21.621568],[109.378935,21.626724],[109.377387,21.63236],[109.378513,21.636232],[109.38207,21.64418],[109.384642,21.646167],[109.384933,21.648969],[109.387862,21.64901],[109.394357,21.658506],[109.397201,21.65869],[109.400008,21.657518],[109.40089,21.654665],[109.399435,21.650243],[109.40425,21.647288],[109.406494,21.643192],[109.409432,21.643528],[109.409169,21.648378],[109.412539,21.648918],[109.406494,21.654359],[109.403302,21.654064],[109.402749,21.656601],[109.400881,21.657987],[109.402336,21.665149],[109.414284,21.668766],[109.416481,21.671364],[109.419071,21.669856],[109.420611,21.666127],[109.425088,21.663173],[109.428392,21.662368],[109.429706,21.664069],[109.438501,21.670457],[109.440003,21.670396],[109.442472,21.67334],[109.444546,21.673982],[109.446958,21.670977],[109.455519,21.67062],[109.464868,21.670752],[109.471701,21.668083],[109.483528,21.658282],[109.491046,21.654492],[109.507838,21.649214],[109.52173,21.646371],[109.542099,21.640706],[109.562176,21.629435],[109.578809,21.615871],[109.589246,21.601928],[109.594287,21.59148],[109.601242,21.570582],[109.607484,21.544614]]]]}},{"type":"Feature","properties":{"adcode":450521,"name":"合浦县","center":[109.200695,21.663554],"centroid":[109.342745,21.723659],"childrenNum":0,"level":"district","subFeatureIndex":3,"acroutes":[100000,450000,450500]},"geometry":{"type":"MultiPolygon","coordinates":[[[[109.607484,21.544614],[109.601242,21.570582],[109.594287,21.59148],[109.589246,21.601928],[109.578809,21.615871],[109.562176,21.629435],[109.542099,21.640706],[109.52173,21.646371],[109.507838,21.649214],[109.491046,21.654492],[109.483528,21.658282],[109.471701,21.668083],[109.464868,21.670752],[109.455519,21.67062],[109.446958,21.670977],[109.444546,21.673982],[109.442472,21.67334],[109.440003,21.670396],[109.438501,21.670457],[109.429706,21.664069],[109.428392,21.662368],[109.425088,21.663173],[109.420611,21.666127],[109.419071,21.669856],[109.416481,21.671364],[109.414284,21.668766],[109.402336,21.665149],[109.400881,21.657987],[109.402749,21.656601],[109.403302,21.654064],[109.406494,21.654359],[109.412539,21.648918],[109.409169,21.648378],[109.409432,21.643528],[109.406494,21.643192],[109.40425,21.647288],[109.399435,21.650243],[109.40089,21.654665],[109.400008,21.657518],[109.397201,21.65869],[109.394357,21.658506],[109.387862,21.64901],[109.384933,21.648969],[109.381564,21.653147],[109.378203,21.664069],[109.37519,21.667462],[109.37627,21.67497],[109.375059,21.677222],[109.369211,21.68093],[109.364546,21.684791],[109.360125,21.686369],[109.350429,21.683456],[109.343464,21.678974],[109.333627,21.674552],[109.320289,21.671924],[109.313785,21.666759],[109.313512,21.665037],[109.309101,21.661288],[109.30208,21.656387],[109.295134,21.645179],[109.288854,21.639697],[109.288779,21.636589],[109.290863,21.631443],[109.290469,21.62914],[109.286367,21.624156],[109.282631,21.620977],[109.275901,21.616197],[109.272738,21.612538],[109.272823,21.611009],[109.276023,21.606392],[109.276633,21.603324],[109.275732,21.599482],[109.272438,21.593651],[109.264131,21.593906],[109.258762,21.599257],[109.256678,21.60893],[109.251994,21.612813],[109.243124,21.618062],[109.238196,21.619886],[109.22835,21.619173],[109.22223,21.615718],[109.216345,21.610428],[109.207597,21.601581],[109.194315,21.587678],[109.183051,21.578942],[109.178386,21.57779],[109.168606,21.567218],[109.159435,21.564802],[109.142737,21.564384],[109.138682,21.567299],[109.132684,21.570011],[109.123514,21.571571],[109.118201,21.570623],[109.114597,21.568451],[109.110307,21.568309],[109.106872,21.566066],[109.09864,21.571326],[109.096077,21.573681],[109.09405,21.579146],[109.092229,21.579961],[109.061404,21.583152],[109.014998,21.586811],[108.991485,21.588188],[108.966039,21.587443],[108.938095,21.589706],[108.915991,21.596271],[108.901667,21.604394],[108.88541,21.621425],[108.869547,21.644659],[108.85833,21.660544],[108.854275,21.670803],[108.853177,21.677812],[108.850295,21.686899],[108.850718,21.703727],[108.85222,21.714584],[108.854707,21.724513],[108.859907,21.737294],[108.866768,21.742966],[108.872926,21.744371],[108.879431,21.744371],[108.886883,21.740339],[108.892572,21.740094],[108.898607,21.742701],[108.903704,21.747904],[108.907496,21.750979],[108.910124,21.75214],[108.914179,21.752293],[108.918525,21.751437],[108.923481,21.752995],[108.925133,21.754696],[108.930783,21.75833],[108.936237,21.758931],[108.93864,21.76334],[108.942075,21.761181],[108.945595,21.76054],[108.944553,21.76562],[108.946506,21.76614],[108.946797,21.770996],[108.948505,21.774111],[108.952504,21.775587],[108.951133,21.780321],[108.956296,21.782713],[108.952917,21.784688],[108.952588,21.787192],[108.954991,21.789289],[108.954869,21.790847],[108.957169,21.791172],[108.955948,21.792781],[108.957976,21.794603],[108.959553,21.791631],[108.961993,21.797494],[108.967296,21.797687],[108.967212,21.800333],[108.965372,21.80072],[108.963382,21.803102],[108.968216,21.807061],[108.966714,21.809565],[108.967719,21.811753],[108.965419,21.81268],[108.961946,21.812232],[108.957309,21.810135],[108.956145,21.811896],[108.957,21.816801],[108.955798,21.820781],[108.956136,21.824068],[108.961355,21.823691],[108.964462,21.826571],[108.967803,21.828536],[108.972205,21.828251],[108.970422,21.831456],[108.9752,21.831985],[108.975847,21.828505],[108.973491,21.825941],[108.968038,21.823691],[108.967738,21.82191],[108.972243,21.813901],[108.974796,21.815224],[108.973801,21.819112],[108.976974,21.820292],[108.977171,21.824048],[108.979668,21.826744],[108.978757,21.830011],[108.980193,21.831181],[108.983713,21.829563],[108.984445,21.833257],[108.98698,21.834855],[108.98789,21.831935],[108.992245,21.833491],[108.995071,21.836086],[108.997689,21.834621],[108.998825,21.837949],[109.009188,21.83859],[109.012858,21.83746],[109.015974,21.835384],[109.02215,21.836351],[109.030298,21.83979],[109.035958,21.843179],[109.045851,21.842935],[109.054524,21.83863],[109.061198,21.837063],[109.067853,21.839404],[109.077032,21.847015],[109.084588,21.851869],[109.088981,21.864047],[109.094622,21.871637],[109.104215,21.874435],[109.113855,21.871261],[109.119787,21.866225],[109.123495,21.862114],[109.128451,21.854097],[109.133163,21.847687],[109.141535,21.844949],[109.15064,21.846354],[109.154066,21.850709],[109.164391,21.851879],[109.177936,21.850983],[109.191696,21.85078],[109.202021,21.852398],[109.212121,21.852642],[109.22025,21.850597],[109.231569,21.852225],[109.242157,21.858441],[109.245105,21.860517],[109.254942,21.865818],[109.261343,21.873865],[109.261503,21.877212],[109.257889,21.87888],[109.259888,21.884069],[109.258142,21.887609],[109.258424,21.890965],[109.260648,21.890691],[109.266177,21.886612],[109.267716,21.886703],[109.268373,21.891169],[109.271997,21.889836],[109.276662,21.889684],[109.278445,21.890599],[109.275648,21.894505],[109.275085,21.897272],[109.272832,21.899418],[109.274456,21.905063],[109.270739,21.906304],[109.270992,21.902653],[109.26781,21.90311],[109.267557,21.906365],[109.265942,21.908227],[109.267285,21.911003],[109.268993,21.910332],[109.273254,21.910749],[109.275385,21.909864],[109.280069,21.913525],[109.281261,21.912051],[109.28142,21.908104],[109.287709,21.904819],[109.288648,21.906314],[109.284809,21.90844],[109.285917,21.913098],[109.290469,21.909366],[109.290563,21.914919],[109.293031,21.915834],[109.292149,21.912132],[109.295209,21.907403],[109.296185,21.909447],[109.297969,21.908827],[109.296673,21.904148],[109.29963,21.898716],[109.30101,21.897862],[109.304905,21.899083],[109.303516,21.901249],[109.300785,21.902368],[109.303291,21.905613],[109.310321,21.903751],[109.312527,21.901158],[109.312442,21.893854],[109.311513,21.891871],[109.306773,21.889145],[109.306689,21.88767],[109.309054,21.88473],[109.312339,21.884577],[109.313691,21.887253],[109.317924,21.887802],[109.317877,21.892339],[109.320627,21.892481],[109.322242,21.890813],[109.321435,21.887548],[109.32564,21.89066],[109.326747,21.895604],[109.325433,21.89895],[109.332642,21.903965],[109.333055,21.907169],[109.339963,21.908399],[109.343399,21.905562],[109.347407,21.905287],[109.347482,21.902165],[109.351208,21.899357],[109.353827,21.898615],[109.356267,21.896306],[109.359524,21.895604],[109.360623,21.892654],[109.363279,21.891891],[109.363795,21.893681],[109.367578,21.896784],[109.37366,21.898096],[109.379057,21.896224],[109.386144,21.894912],[109.386801,21.893244],[109.384445,21.890467],[109.385177,21.889613],[109.389805,21.889918],[109.38988,21.893173],[109.391626,21.902765],[109.390884,21.907352],[109.393343,21.909915],[109.398159,21.910047],[109.406447,21.907362],[109.413449,21.906538],[109.414313,21.904677],[109.418536,21.906091],[109.419006,21.911064],[109.423117,21.911624],[109.426665,21.918336],[109.428805,21.919038],[109.435047,21.918],[109.442425,21.914736],[109.443148,21.910901],[109.442162,21.907016],[109.444696,21.896001],[109.449183,21.894688],[109.450704,21.892349],[109.455716,21.890111],[109.457021,21.887965],[109.461488,21.885615],[109.468397,21.885879],[109.471494,21.888443],[109.47325,21.892074],[109.473334,21.900547],[109.477933,21.902734],[109.483631,21.90128],[109.484889,21.899632],[109.486043,21.890833],[109.487874,21.885859],[109.493871,21.880844],[109.497044,21.879481],[109.500592,21.879064],[109.505407,21.880783],[109.506196,21.877568],[109.508749,21.875757],[109.510842,21.876225],[109.512522,21.874893],[109.518041,21.873946],[109.51882,21.871902],[109.520792,21.874089],[109.523795,21.873153],[109.524809,21.876836],[109.528545,21.881647],[109.529774,21.88591],[109.527878,21.888829],[109.529924,21.889541],[109.533754,21.889084],[109.536148,21.893244],[109.53535,21.895289],[109.538184,21.897058],[109.538438,21.900079],[109.540287,21.902063],[109.542296,21.898777],[109.545581,21.89832],[109.546482,21.896936],[109.549016,21.896936],[109.548096,21.895177],[109.550452,21.895339],[109.552686,21.897984],[109.556075,21.896784],[109.558863,21.893885],[109.564804,21.896489],[109.566822,21.894343],[109.572323,21.89655],[109.576753,21.897384],[109.577654,21.900181],[109.582282,21.90311],[109.582422,21.904962],[109.585736,21.906986],[109.584159,21.909081],[109.579991,21.909518],[109.580179,21.912],[109.587285,21.910668],[109.594221,21.913353],[109.595132,21.911603],[109.599046,21.911532],[109.599393,21.908633],[109.605729,21.908013],[109.607615,21.908837],[109.609765,21.904809],[109.61565,21.902643],[109.617724,21.900181],[109.619761,21.89597],[109.622859,21.896662],[109.625787,21.89594],[109.626482,21.899062],[109.625881,21.901686],[109.627655,21.903772],[109.631569,21.905633],[109.641444,21.908176],[109.649601,21.90544],[109.653036,21.903619],[109.660479,21.896753],[109.663793,21.89536],[109.667763,21.89718],[109.672691,21.897821],[109.674287,21.895075],[109.68158,21.895797],[109.685316,21.898238],[109.696992,21.902348],[109.69887,21.896407],[109.70177,21.896529],[109.704849,21.894302],[109.703675,21.890528],[109.70346,21.883682],[109.703957,21.881546],[109.702868,21.878596],[109.705506,21.876317],[109.705149,21.872583],[109.703084,21.87061],[109.701263,21.86653],[109.702502,21.864719],[109.698757,21.862348],[109.69534,21.861178],[109.702389,21.854921],[109.70115,21.853914],[109.70758,21.845825],[109.706904,21.839668],[109.707505,21.836158],[109.70346,21.830316],[109.692346,21.823183],[109.694327,21.813321],[109.699498,21.811947],[109.704943,21.809433],[109.708134,21.800262],[109.704445,21.792007],[109.703957,21.783965],[109.699508,21.773174],[109.696307,21.763075],[109.694486,21.751203],[109.694787,21.745684],[109.69289,21.744605],[109.69367,21.742731],[109.692149,21.74099],[109.692778,21.73876],[109.690356,21.729392],[109.69627,21.728261],[109.69565,21.726795],[109.696007,21.721652],[109.697715,21.715195],[109.695894,21.708015],[109.696523,21.70228],[109.690394,21.694529],[109.688554,21.689782],[109.689033,21.686196],[109.694599,21.677598],[109.695078,21.672006],[109.696476,21.667706],[109.700024,21.664701],[109.705806,21.661756],[109.706726,21.659413],[109.707364,21.662082],[109.710236,21.66521],[109.713728,21.664487],[109.715559,21.666871],[109.715859,21.669907],[109.722551,21.671282],[109.723706,21.670345],[109.723593,21.667278],[109.727376,21.666484],[109.729066,21.663285],[109.732229,21.663132],[109.735214,21.660269],[109.734022,21.658771],[109.734894,21.656377],[109.73864,21.66088],[109.742976,21.660299],[109.745004,21.657161],[109.745163,21.652688],[109.748589,21.65275],[109.752353,21.65709],[109.753264,21.66087],[109.7573,21.664548],[109.758126,21.667105],[109.760735,21.665485],[109.764893,21.665516],[109.766761,21.664263],[109.765823,21.660595],[109.76601,21.657233],[109.763251,21.651038],[109.760698,21.647716],[109.757056,21.644934],[109.758126,21.640828],[109.75455,21.634581],[109.752409,21.632859],[109.753808,21.627845],[109.751048,21.625135],[109.746233,21.622954],[109.746055,21.616666],[109.743511,21.617084],[109.743399,21.614617],[109.747087,21.609613],[109.747078,21.606881],[109.743821,21.601041],[109.747913,21.59836],[109.748157,21.595119],[109.746534,21.591796],[109.750391,21.588952],[109.754474,21.582581],[109.752081,21.577627],[109.754831,21.576872],[109.755939,21.573355],[109.753536,21.570949],[109.753705,21.565892],[109.755432,21.561733],[109.754822,21.556339],[109.759327,21.550375],[109.763589,21.54392],[109.772919,21.531266],[109.773153,21.530052],[109.771389,21.516438],[109.774195,21.507626],[109.778757,21.50118],[109.783272,21.497385],[109.788322,21.49048],[109.788922,21.485502],[109.788125,21.475586],[109.786266,21.469955],[109.785703,21.466241],[109.785618,21.456947],[109.782239,21.457416],[109.776326,21.45711],[109.760125,21.455059],[109.750222,21.454937],[109.739916,21.455835],[109.720871,21.458569],[109.70421,21.462609],[109.682096,21.472628],[109.663868,21.483431],[109.654941,21.493479],[109.641754,21.525575],[109.633625,21.54027],[109.623929,21.549549],[109.612309,21.5569],[109.607484,21.544614]]]]}}]}

View Code