hightmaps 按地图显示统计量

时间:2014-10-10 01:01:23   收藏:0   阅读:7672

    从extjs 到 easyui html5hightchars 再到hightmaps。Exjtseasyui很相似,extjs是重量级的,easyui轻量级的,比extjs容易上手,照着demo改就可以开发了,easyui入门demo见:easyui-demo,或者到官网http://www.jeasyui.com/;会了easyui开发,上手html5界面开发也非常的快,大多类似的,到html5-demo界面开发 下载demo 然后把demo放到自己的web项目中或者访问http://www.rgraph.net/docs/line.html;进一步使用hightchar也非常容易,下载demo体验一下hightchar非常方便地例子,理解hightchar,官网http://www.highcharts.com/或见hightchars-demo

下面介绍hightmap开发中国地图分布量,效果截图。

bubuko.com,布布扣


前台代码

China-map.jsp

引入包,初始化组件

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
    <script src="js/highmaps.js"></script>
<script src="js/modules/exporting.js"></script>
<script src="js/china-data.js"></script>


    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<style type="text/css">
	#container {
    height: 700px; 
    min-width: 310px; 
    max-width: 800px; 
    margin: 0 auto; 
}
.loading {
    margin-top: 10em;
    text-align: center;
    color: gray;
}
	</style>
	<script type="text/javascript">
	$(function () {
    var data = [
        ${data}
    ];

    $('#container').highcharts('Map', {
        title : {
            text : 'xxx量统计'
        },
        subtitle : {
            text : '地区分布'
        },
        mapNavigation: {
            enabled: true,
            buttonOptions: {
                verticalAlign: 'bottom'
            }
        },
        colorAxis: {
            min: 0
        },
        series : [{
            data : data,
            mapData: Highcharts.maps['countries/china'],
            joinBy: 'hc-key',
            name: 'xxx分布',
            states: {
                hover: {
                    color: '#BADA55'
                }
            },
            dataLabels: {
                enabled: true,
                format: '{point.name}'
            }
        }]
    });
});
	
	
	</script>
  </head>
  
  <body>
  <div id="container"></div>
  </body>
</html>

Action代码

package com.li72.action;

import com.li72.dao.MapDao;
import com.opensymphony.xwork2.ActionSupport;

/**
 * @author 一个简单的前后台交换 地图展示
 *
 */
public class MapAction extends ActionSupport{
	
	
	private static final long serialVersionUID = -5452039838295753607L;
	MapDao map= new MapDao();
	private String data;
	public String  chinaMap(){
		data = map.mkData();
		return SUCCESS;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
}

dao层,产生模拟数据

package com.li72.dao;

import java.util.HashMap;
import java.util.Map;
import java.util.Random;

public class MapDao {
	
	
	/**
	 * @return  按照地图的设定,对这些省市进行设值
	 */
	public String  mkData(){
		
		StringBuffer sb = new StringBuffer("");
		Map<String,String> myMap= new HashMap<String,String>(40);
		myMap.put("吉林省","cn-jl");        
		myMap.put("天津市","cn-tj");        
		myMap.put("安徽省","cn-ah");        
		myMap.put("山东省","cn-sd");        
		myMap.put("山西省","cn-sx");        
		myMap.put("新疆维吾尔自治区","cn-xj");
		myMap.put("河北省","cn-hb");        
		myMap.put("河南省","cn-he");        
		myMap.put("湖南省","cn-hn");        
		myMap.put("甘肃省","cn-gs");        
		myMap.put("福建省","cn-fj");        
		myMap.put("贵州省","cn-gz");        
		myMap.put("重庆市","cn-cq");        
		myMap.put("江苏省","cn-js");        
		myMap.put("湖北省","cn-hu");        
		myMap.put("内蒙古自治区","cn-nm");  
		myMap.put("广西壮族自治区","cn-gx"); 
		myMap.put("黑龙江省","cn-hl");      
		myMap.put("云南省","cn-yn");        
		myMap.put("辽宁省","cn-ln");        
		myMap.put("香港特别行政区","cn-6668"); 
		myMap.put("浙江省","cn-zj");        
		myMap.put("上海市","cn-sh");        
		myMap.put("北京市","cn-bj");        
		myMap.put("广东省","cn-gd");        
		myMap.put("澳门特别行政区","cn-3681"); 
		myMap.put("西藏自治区","cn-xz");    
		myMap.put("陕西省","cn-sa");        
		myMap.put("四川省","cn-sc");        
		myMap.put("海南省","cn-ha");        
		myMap.put("宁夏回族自治区","cn-nx"); 
		myMap.put("青海省","cn-qh");        
		myMap.put("江西省","cn-jx");        
		myMap.put("台湾省","tw-tw");        
		
		//  {"hc-key": "cn-sh","value": 0},
		Random random = new Random();
		String value="";
		for (Object o : myMap.keySet()) { 
			value= random.nextInt(100)+1+"" ;
			sb.append("{'hc-key':'").
			append(myMap.get(o)).
			append("','value':").
			append(value).
			append("},").append("\n");
			;
			}
		
		return  sb.deleteCharAt(sb.length()-1)+"";
	}
Struts2配置
<package name="li72" extends="struts-default">
<action name="chinaMap" class="com.li72.action.MapAction" method="chinaMap">
<result name="success">/china-map.jsp</result>
</action>
</package>
地图数据

 Highcharts.maps["countries/china"] = {"title":"中国地图","version":"1.0.3","type":"FeatureCollection","copyright":"li72 权利","copyrightShort":"Natural Earth","copyrightUrl":"#","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:EPSG:3415"}},
"features":[
{"type":"Feature","id":"CN.SH","properties":
            {"hc-group":"admin1","hc-middle-x":0.43,"hc-middle-y":0.62,"hc-key":"cn-sh","hc-a2":"SH","labelrank":"7","hasc":"CN.SH","alt-name":"Shàngh?i","woe-id":"12578012","subregion":null,"fips":"CH23","postal-code":"SH","name":"上海","country":"中国","type-en":"Municipality","region":"East 中国","longitude":"121.409","woe-name":"上海","latitude":"31.0909","woe-label":"上海, CN, 中国","type":"Zhíxiáshì"},
            "geometry":{"type":"MultiPolygon","coordinates":[[[[1429,981],[1410,988],[1408,994],[1431,984],[1429,981]]],[[[1411,952],[1401,957],[1399,964],[1407,980],[1411,982],[1424,975],[1432,962],[1411,952]]]]}},
{"type":"Feature","id":"CN.ZJ","properties":{"hc-group":"admin1","hc-middle-x":0.48,"hc-middle-y":0.52,"hc-key":"cn-zj","hc-a2":"ZJ","labelrank":"2","hasc":"CN.ZJ","alt-name":"Zhèji?ng","woe-id":"12577992","subregion":null,"fips":"CH02","postal-code":"ZJ","name":"浙江","country":"中国","type-en":"Province","region":"East 中国","longitude":"119.97","woe-name":"浙江","latitude":"29.1084","woe-label":"浙江, CN, 中国","type":"Sh?ng"},
            	"geometry":{"type":"MultiPolygon","coordinates":[[[[1440,938],[1440,932],[1446,926],[1431,931],[1440,938]]],[[[1399,964],[1401,957],[1411,952],[1401,947],[1394,935],[1399,933],[1407,939],[1414,939],[1424,928],[1434,924],[1426,912],[1433,915],[1434,894],[1423,902],[1417,895],[1424,896],[1426,885],[1420,880],[1427,868],[1418,865],[1412,856],[1412,868],[1405,854],[1394,838],[1392,825],[1389,825],[1386,831],[1368,828],[1360,841],[1351,831],[1340,833],[1334,851],[1333,863],[1324,862],[1323,877],[1309,892],[1314,902],[1320,904],[1331,914],[1336,924],[1336,936],[1352,938],[1347,945],[1353,948],[1358,966],[1368,967],[1374,960],[1381,960],[1386,954],[1399,964]]]]}},
{"type":"Feature","id":"TW.TW","properties":{"hc-group":"admin1","hc-middle-x":0.65,"hc-middle-y":0.50,"hc-key":"tw-tw","hc-a2":"TW","labelrank":"9","hasc":"TW.TP.TC","alt-name":"Taibei Shi","woe-id":"20070568","subregion":null,"fips":"TW03","postal-code":"TW","name":"台湾","country":"中国","type-en":"Special Municipality","region":"Special Municipalities","longitude":"121.559","woe-name":"台北","latitude":"25.0904","woe-label":null,"type":"Zhixiashi"},"geometry":{"type":"Polygon","coordinates":[[[1431,746],[1426,751],[1429,754],[1432,748],[1431,746]]]}},
{"type":"Feature","id":"CN.3664","properties":{"hc-group":"admin1","hc-middle-x":0.50,"hc-middle-y":0.50,"hc-key":"cn-3664","hc-a2":"PI","labelrank":"20","hasc":"CN","alt-name":null,"woe-id":"12497556","subregion":null,"fips":null,"postal-code":null,"name":"南沙群岛","country":"中国","type-en":null,"region":null,"longitude":"111.201","woe-name":"Paracel Islands","latitude":"15.7833","woe-label":null,"type":null},"geometry":{"type":"Polygon","coordinates":[[[1084,411],[1084,411],[1084,411],[1084,411],[1084,411]]]}},
{"type":"Feature","id":"CN.3681","properties":{"hc-group":"admin1","hc-middle-x":0.30,"hc-middle-y":0.41,"hc-key":"cn-3681","hc-a2":"MA","labelrank":"20","hasc":"MO","alt-name":null,"woe-id":"20070017","subregion":null,"fips":null,"postal-code":null,"name":"澳门","country":"澳门 S.A.R","type-en":null,"region":null,"longitude":"113.56","woe-name":"澳门","latitude":"22.1349","woe-label":null,"type":null},"geometry":{"type":"Polygon","coordinates":[[[1167,639],[1168,638],[1166,637],[1166,639],[1167,639]]]}},
{"type":"Feature","id":"CN.GS","properties":{"hc-group":"admin1","hc-middle-x":0.24,"hc-middle-y":0.25,"hc-key":"cn-gs","hc-a2":"GS","labelrank":"2","hasc":"CN.GS","alt-name":"G?nsù","woe-id":"12578005","subregion":"Western","fips":"CH15","postal-code":"GS","name":"甘肃","country":"中国","type-en":"Province","region":"Northwest 中国","longitude":"100.735","woe-name":"甘肃","latitude":"38.7393","woe-label":"甘肃, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[677,1426],[680,1426],[700,1426],[714,1379],[708,1374],[716,1360],[725,1349],[722,1337],[734,1337],[739,1342],[749,1346],[774,1346],[779,1334],[769,1320],[754,1308],[762,1308],[776,1299],[785,1288],[794,1286],[793,1278],[803,1271],[806,1262],[821,1257],[827,1264],[822,1272],[839,1277],[856,1271],[865,1277],[879,1281],[889,1281],[893,1268],[879,1250],[869,1244],[870,1233],[865,1232],[866,1222],[873,1219],[885,1207],[893,1204],[903,1204],[900,1198],[907,1196],[920,1179],[917,1176],[923,1159],[918,1147],[922,1141],[929,1137],[935,1127],[952,1123],[952,1137],[961,1136],[967,1140],[968,1150],[964,1155],[955,1158],[956,1174],[961,1192],[980,1187],[979,1181],[997,1174],[1002,1168],[1011,1166],[1021,1159],[1020,1146],[1015,1141],[1018,1123],[1014,1119],[989,1118],[993,1108],[974,1106],[965,1114],[955,1114],[954,1106],[946,1096],[957,1088],[953,1084],[948,1070],[952,1059],[937,1060],[926,1053],[931,1047],[930,1037],[918,1035],[910,1026],[899,1025],[888,1029],[880,1035],[884,1043],[884,1053],[876,1066],[859,1069],[860,1072],[849,1073],[848,1086],[837,1091],[824,1081],[818,1080],[826,1062],[806,1050],[809,1061],[805,1066],[800,1065],[796,1073],[786,1072],[786,1079],[776,1091],[781,1099],[801,1090],[806,1085],[820,1095],[819,1100],[807,1109],[828,1126],[825,1134],[838,1137],[839,1149],[847,1148],[847,1158],[850,1162],[844,1167],[839,1179],[841,1185],[835,1191],[838,1199],[823,1211],[821,1221],[816,1214],[796,1232],[784,1238],[782,1244],[770,1254],[770,1243],[760,1250],[741,1272],[732,1279],[726,1275],[719,1279],[711,1272],[691,1287],[681,1290],[675,1258],[663,1264],[663,1267],[650,1273],[630,1295],[623,1294],[607,1303],[585,1305],[561,1302],[563,1313],[559,1328],[565,1339],[568,1352],[578,1351],[587,1354],[602,1372],[620,1388],[635,1395],[656,1394],[664,1399],[666,1419],[677,1426]]]}},
{"type":"Feature","id":"CN.NX","properties":{"hc-group":"admin1","hc-middle-x":0.51,"hc-middle-y":0.44,"hc-key":"cn-nx","hc-a2":"NX","labelrank":"2","hasc":"CN.NX","alt-name":"宁夏 Hui|Níngxià Húizú","woe-id":"12578010","subregion":"Western","fips":"CH21","postal-code":"NX","name":"宁夏","country":"中国","type-en":"Autonomous Region","region":"Northwest 中国","longitude":"106.038","woe-name":"宁夏","latitude":"37.1762","woe-label":"宁夏, CN, 中国","type":"Zìzhìqu"},"geometry":{"type":"Polygon","coordinates":[[[992,1216],[982,1206],[979,1196],[980,1187],[961,1192],[956,1174],[955,1158],[964,1155],[968,1150],[967,1140],[961,1136],[952,1137],[952,1123],[935,1127],[929,1137],[922,1141],[918,1147],[923,1159],[917,1176],[920,1179],[907,1196],[900,1198],[903,1204],[893,1204],[895,1207],[911,1208],[923,1215],[936,1217],[939,1245],[948,1266],[954,1272],[969,1274],[974,1261],[957,1234],[968,1228],[978,1227],[985,1219],[992,1216]]]}},
{"type":"Feature","id":"CN.SA","properties":{"hc-group":"admin1","hc-middle-x":0.58,"hc-middle-y":0.69,"hc-key":"cn-sa","hc-a2":"SA","labelrank":"2","hasc":"CN.SA","alt-name":"Sh?nx?","woe-id":"12578015","subregion":"Western","fips":"CH26","postal-code":"SA","name":"陕西","country":"中国","type-en":"Province","region":"Northwest 中国","longitude":"108.363","woe-name":"陕西","latitude":"33.7713","woe-label":"陕西, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[980,1187],[979,1196],[982,1206],[992,1216],[1000,1213],[1003,1207],[1025,1208],[1027,1220],[1031,1217],[1032,1233],[1053,1258],[1069,1268],[1078,1271],[1082,1266],[1088,1274],[1097,1278],[1096,1271],[1100,1268],[1093,1256],[1088,1236],[1078,1226],[1077,1217],[1084,1210],[1085,1202],[1081,1192],[1072,1177],[1075,1166],[1074,1149],[1079,1129],[1070,1114],[1067,1094],[1069,1093],[1069,1088],[1078,1076],[1077,1065],[1088,1055],[1088,1042],[1081,1036],[1075,1042],[1065,1039],[1047,1043],[1041,1039],[1050,1036],[1049,1031],[1060,1027],[1062,1019],[1057,1017],[1046,1018],[1041,1010],[1046,998],[1044,987],[1036,986],[1027,995],[1011,1005],[996,1007],[995,1004],[978,1018],[970,1016],[966,1026],[955,1027],[940,1023],[937,1033],[920,1029],[918,1035],[930,1037],[931,1047],[926,1053],[937,1060],[952,1059],[948,1070],[953,1084],[957,1088],[946,1096],[954,1106],[955,1114],[965,1114],[974,1106],[993,1108],[989,1118],[1014,1119],[1018,1123],[1015,1141],[1020,1146],[1021,1159],[1011,1166],[1002,1168],[997,1174],[979,1181],[980,1187]]]}},
{"type":"Feature","id":"CN.AH","properties":{"hc-group":"admin1","hc-middle-x":0.44,"hc-middle-y":0.59,"hc-key":"cn-ah","hc-a2":"AH","labelrank":"2","hasc":"CN.AH","alt-name":"?nhu?","woe-id":"12578022","subregion":"Central","fips":"CH01","postal-code":"AH","name":"安徽","country":"中国","type-en":"Province","region":"East 中国","longitude":"117.253","woe-name":"安徽","latitude":"31.9537","woe-label":"安徽, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1250,915],[1243,939],[1237,947],[1245,958],[1234,967],[1230,965],[1225,974],[1229,986],[1241,988],[1240,1015],[1230,1010],[1219,1017],[1218,1027],[1209,1035],[1217,1035],[1223,1041],[1223,1050],[1232,1054],[1229,1065],[1232,1071],[1242,1069],[1249,1059],[1263,1067],[1260,1080],[1255,1079],[1247,1090],[1251,1090],[1254,1093],[1272,1084],[1275,1075],[1293,1070],[1296,1060],[1308,1062],[1310,1059],[1303,1042],[1312,1040],[1313,1031],[1318,1024],[1328,1024],[1332,1033],[1341,1028],[1343,1019],[1339,1014],[1333,1019],[1323,1018],[1326,1006],[1317,995],[1321,989],[1334,984],[1330,974],[1333,969],[1349,972],[1358,966],[1353,948],[1347,945],[1352,938],[1336,936],[1336,924],[1331,914],[1320,904],[1314,902],[1308,908],[1293,909],[1289,917],[1279,917],[1279,912],[1268,906],[1266,912],[1273,920],[1265,925],[1260,918],[1250,915]]]}},
{"type":"Feature","id":"CN.HU","properties":{"hc-group":"admin1","hc-middle-x":0.55,"hc-middle-y":0.52,"hc-key":"cn-hu","hc-a2":"HU","labelrank":"2","hasc":"CN.HU","alt-name":"Húb?i","woe-id":"12578002","subregion":"Central","fips":"CH12","postal-code":"HU","name":"湖北","country":"中国","type-en":"Province","region":"South Central 中国","longitude":"112.264","woe-name":"湖北","latitude":"30.9857","woe-label":"湖北, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1225,974],[1230,965],[1234,967],[1245,958],[1237,947],[1243,939],[1250,915],[1240,913],[1229,917],[1222,908],[1210,905],[1207,900],[1189,895],[1178,888],[1170,890],[1168,896],[1173,902],[1168,918],[1154,903],[1147,904],[1146,915],[1139,909],[1127,905],[1125,910],[1111,920],[1100,920],[1094,924],[1078,927],[1069,924],[1073,915],[1066,911],[1058,916],[1048,914],[1036,907],[1029,892],[1020,901],[1019,911],[1011,920],[1008,915],[1009,936],[1004,940],[1013,946],[1036,945],[1052,956],[1058,954],[1061,967],[1059,974],[1048,981],[1044,987],[1046,998],[1041,1010],[1046,1018],[1057,1017],[1062,1019],[1060,1027],[1049,1031],[1050,1036],[1041,1039],[1047,1043],[1065,1039],[1075,1042],[1081,1036],[1088,1042],[1095,1030],[1112,1015],[1128,1008],[1143,1008],[1152,1011],[1167,1006],[1173,1010],[1175,994],[1181,986],[1186,989],[1199,985],[1199,979],[1213,976],[1217,980],[1225,974]]]}},
{"type":"Feature","id":"CN.GD","properties":{"hc-group":"admin1","hc-middle-x":0.47,"hc-middle-y":0.32,"hc-key":"cn-gd","hc-a2":"GD","labelrank":"2","hasc":"CN.GD","alt-name":"Gu?ngd?ng","woe-id":"12578019","subregion":null,"fips":"CH30","postal-code":"GD","name":"广东","country":"中国","type-en":"Province","region":"South Central 中国","longitude":"113.72","woe-name":"广东","latitude":"23.7924","woe-label":"广东, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1189,653],[1187,653],[1184,652],[1178,650],[1173,661],[1160,665],[1169,657],[1165,640],[1155,632],[1151,641],[1149,632],[1142,632],[1134,625],[1123,623],[1115,627],[1102,617],[1084,615],[1071,611],[1064,597],[1056,598],[1056,587],[1064,580],[1060,574],[1043,572],[1039,593],[1035,597],[1039,612],[1045,617],[1039,620],[1046,630],[1060,631],[1059,642],[1069,641],[1074,645],[1071,652],[1082,657],[1093,667],[1095,685],[1104,700],[1112,706],[1111,714],[1117,719],[1116,732],[1120,734],[1122,747],[1138,745],[1142,739],[1148,740],[1146,753],[1156,759],[1168,753],[1179,757],[1182,751],[1200,756],[1205,746],[1195,740],[1187,729],[1195,723],[1210,726],[1228,734],[1238,725],[1239,735],[1243,739],[1259,736],[1265,728],[1272,726],[1279,713],[1282,697],[1287,692],[1283,694],[1273,683],[1265,685],[1268,679],[1264,668],[1258,668],[1242,661],[1237,666],[1232,660],[1217,662],[1211,654],[1208,663],[1200,660],[1199,650],[1195,655],[1189,653]]]}},
{"type":"Feature","id":"CN.FJ","properties":{"hc-group":"admin1","hc-middle-x":0.53,"hc-middle-y":0.44,"hc-key":"cn-fj","hc-a2":"FJ","labelrank":"2","hasc":"CN.FJ","alt-name":"Fújiàn","woe-id":"12577997","subregion":null,"fips":"CH07","postal-code":"FJ","name":"福建","country":"中国","type-en":"Province","region":null,"longitude":"118.178","woe-name":"福建","latitude":"26.408","woe-label":"福建, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1287,692],[1282,697],[1279,713],[1272,726],[1265,728],[1259,736],[1243,739],[1242,749],[1246,754],[1251,773],[1257,776],[1259,788],[1266,796],[1263,803],[1268,814],[1276,815],[1283,824],[1282,835],[1287,845],[1294,850],[1302,844],[1304,849],[1322,855],[1324,862],[1333,863],[1334,851],[1340,833],[1351,831],[1360,841],[1368,828],[1386,831],[1389,825],[1383,822],[1385,815],[1376,812],[1371,804],[1369,811],[1365,798],[1366,791],[1359,780],[1367,780],[1364,769],[1373,765],[1370,759],[1361,758],[1356,764],[1348,759],[1357,753],[1345,754],[1341,747],[1345,742],[1336,738],[1334,728],[1327,730],[1315,721],[1317,716],[1310,708],[1305,709],[1300,697],[1297,702],[1294,695],[1290,699],[1287,692]]]}},
{"type":"Feature","id":"CN.BJ","properties":{"hc-group":"admin1","hc-middle-x":0.49,"hc-middle-y":0.53,"hc-key":"cn-bj","hc-a2":"BJ","labelrank":"7","hasc":"CN.BJ","alt-name":"B?ij?ng","woe-id":"12578011","subregion":null,"fips":"CH22","postal-code":"BJ","name":"北京","country":"中国","type-en":"Municipality","region":"North 中国","longitude":"116.389","woe-name":"北京","latitude":"39.9488","woe-label":"北京, CN, 中国","type":"Zhíxiáshì"},"geometry":{"type":"Polygon","coordinates":[[[1276,1298],[1262,1295],[1268,1287],[1266,1282],[1264,1280],[1264,1279],[1258,1279],[1252,1273],[1247,1278],[1233,1275],[1225,1280],[1227,1286],[1223,1292],[1236,1300],[1238,1305],[1232,1314],[1259,1330],[1271,1320],[1283,1320],[1274,1313],[1280,1304],[1278,1299],[1276,1298]]]}},
{"type":"Feature","id":"CN.HB","properties":{"hc-group":"admin1","hc-middle-x":0.28,"hc-middle-y":0.63,"hc-key":"cn-hb","hc-a2":"HB","labelrank":"2","hasc":"CN.HB","alt-name":"Héb?i","woe-id":"12578000","subregion":null,"fips":"CH10","postal-code":"HB","name":"河北","country":"中国","type-en":"Province","region":"North 中国","longitude":"115.314","woe-name":"河北","latitude":"38.5205","woe-label":"河北, CN, 中国","type":"Sh?ng"},"geometry":{"type":"MultiPolygon","coordinates":[[[[1266,1282],[1268,1287],[1262,1295],[1276,1298],[1274,1280],[1266,1282]]],[[[1287,1242],[1292,1233],[1296,1229],[1284,1213],[1265,1212],[1254,1199],[1241,1193],[1230,1173],[1226,1171],[1220,1161],[1226,1149],[1215,1150],[1198,1148],[1181,1156],[1173,1156],[1167,1161],[1165,1170],[1175,1176],[1174,1184],[1183,1199],[1182,1208],[1175,1223],[1168,1227],[1168,1238],[1176,1248],[1177,1258],[1188,1258],[1193,1262],[1197,1276],[1193,1288],[1180,1294],[1184,1301],[1196,1306],[1190,1308],[1186,1322],[1176,1335],[1180,1338],[1179,1348],[1187,1355],[1189,1365],[1195,1373],[1205,1377],[1208,1368],[1207,1355],[1217,1354],[1220,1360],[1235,1368],[1240,1363],[1250,1371],[1257,1368],[1264,1372],[1264,1386],[1280,1389],[1283,1396],[1290,1395],[1297,1387],[1301,1373],[1306,1367],[1302,1361],[1308,1346],[1319,1347],[1333,1345],[1325,1335],[1323,1327],[1336,1316],[1344,1317],[1346,1304],[1353,1296],[1344,1292],[1338,1285],[1338,1274],[1330,1265],[1315,1263],[1307,1259],[1300,1265],[1296,1278],[1288,1279],[1284,1294],[1291,1297],[1280,1304],[1274,1313],[1283,1320],[1271,1320],[1259,1330],[1232,1314],[1238,1305],[1236,1300],[1223,1292],[1227,1286],[1225,1280],[1233,1275],[1247,1278],[1252,1273],[1258,1279],[1264,1279],[1267,1260],[1262,1257],[1262,1249],[1279,1240],[1287,1242]]]]}},
{"type":"Feature","id":"CN.SD","properties":{"hc-group":"admin1","hc-middle-x":0.38,"hc-middle-y":0.52,"hc-key":"cn-sd","hc-a2":"SD","labelrank":"2","hasc":"CN.SD","alt-name":"Sh?nd?ng","woe-id":"12578014","subregion":null,"fips":"CH25","postal-code":"SD","name":"山东","country":"中国","type-en":"Province","region":"East 中国","longitude":"118.114","woe-name":"山东","latitude":"36.3271","woe-label":"山东, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1254,1093],[1251,1090],[1247,1090],[1229,1090],[1225,1098],[1217,1104],[1207,1106],[1207,1112],[1219,1121],[1240,1144],[1222,1140],[1226,1149],[1220,1161],[1226,1171],[1230,1173],[1241,1193],[1254,1199],[1265,1212],[1284,1213],[1296,1229],[1303,1224],[1317,1222],[1326,1226],[1339,1208],[1332,1210],[1331,1193],[1345,1187],[1355,1189],[1357,1197],[1370,1209],[1383,1216],[1402,1208],[1409,1201],[1424,1207],[1426,1202],[1442,1203],[1440,1194],[1432,1180],[1423,1186],[1385,1164],[1384,1152],[1374,1148],[1374,1154],[1366,1154],[1369,1144],[1361,1132],[1353,1130],[1342,1111],[1330,1109],[1327,1098],[1318,1096],[1316,1087],[1309,1085],[1305,1094],[1297,1094],[1297,1089],[1288,1087],[1284,1091],[1279,1086],[1268,1105],[1257,1102],[1254,1093]]]}},
{"type":"Feature","id":"CN.TJ","properties":{"hc-group":"admin1","hc-middle-x":0.82,"hc-middle-y":0.63,"hc-key":"cn-tj","hc-a2":"TJ","labelrank":"7","hasc":"CN.TJ","alt-name":"Ti?nj?n","woe-id":"12578017","subregion":null,"fips":"CH28","postal-code":"TJ","name":"天津","country":"中国","type-en":"Municipality","region":"North 中国","longitude":"117.347","woe-name":"天津","latitude":"39.3708","woe-label":"天津, CN, 中国","type":"Zhíxiáshì"},"geometry":{"type":"Polygon","coordinates":[[[1287,1242],[1279,1240],[1262,1249],[1262,1257],[1267,1260],[1264,1279],[1264,1280],[1266,1282],[1274,1280],[1276,1298],[1278,1299],[1280,1304],[1291,1297],[1284,1294],[1288,1279],[1296,1278],[1300,1265],[1291,1261],[1295,1256],[1288,1250],[1287,1242]]]}},
{"type":"Feature","id":"CN.JS","properties":{"hc-group":"admin1","hc-middle-x":0.54,"hc-middle-y":0.39,"hc-key":"cn-js","hc-a2":"JS","labelrank":"2","hasc":"CN.JS","alt-name":"Ji?ngs?","woe-id":"12577994","subregion":null,"fips":"CH04","postal-code":"JS","name":"江苏","country":"中国","type-en":"Province","region":"East 中国","longitude":"119.942","woe-name":"江苏","latitude":"32.9844","woe-label":"江苏, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1407,980],[1399,964],[1386,954],[1381,960],[1374,960],[1368,967],[1358,966],[1349,972],[1333,969],[1330,974],[1334,984],[1321,989],[1317,995],[1326,1006],[1323,1018],[1333,1019],[1339,1014],[1343,1019],[1341,1028],[1332,1033],[1328,1024],[1318,1024],[1313,1031],[1312,1040],[1303,1042],[1310,1059],[1308,1062],[1296,1060],[1293,1070],[1275,1075],[1272,1084],[1254,1093],[1257,1102],[1268,1105],[1279,1086],[1284,1091],[1288,1087],[1297,1089],[1297,1094],[1305,1094],[1309,1085],[1316,1087],[1318,1096],[1327,1098],[1330,1109],[1342,1111],[1340,1098],[1345,1100],[1354,1092],[1373,1084],[1381,1060],[1395,1037],[1395,1024],[1411,1014],[1413,1005],[1426,999],[1426,990],[1409,996],[1399,993],[1394,1000],[1392,992],[1405,988],[1411,982],[1407,980]]]}},
{"type":"Feature","id":"CN.HA","properties":{"hc-group":"admin1","hc-middle-x":0.50,"hc-middle-y":0.45,"hc-key":"cn-ha","hc-a2":"HA","labelrank":"2","hasc":"CN.HA","alt-name":"H?inán","woe-id":"12578020","subregion":null,"fips":"CH31","postal-code":"HA","name":"海南","country":"中国","type-en":"Province","region":"South Central 中国","longitude":"109.825","woe-name":"海南","latitude":"19.1865","woe-label":"海南, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1051,566],[1065,562],[1069,569],[1077,562],[1079,551],[1068,541],[1059,516],[1054,515],[1044,507],[1036,506],[1029,498],[1025,502],[1015,503],[1000,511],[999,526],[998,539],[1018,554],[1022,561],[1027,558],[1036,564],[1045,560],[1051,566]]]}},
{"type":"Feature","id":"CN.QH","properties":{"hc-group":"admin1","hc-middle-x":0.47,"hc-middle-y":0.47,"hc-key":"cn-qh","hc-a2":"QH","labelrank":"2","hasc":"CN.QH","alt-name":null,"woe-id":"12577996","subregion":"Western","fips":null,"postal-code":"QH","name":"青海","country":"中国","type-en":"Province","region":"Northwest 中国","longitude":"96.2377","woe-name":"青海","latitude":"35.2652","woe-label":"青海, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[561,1302],[585,1305],[607,1303],[623,1294],[630,1295],[650,1273],[663,1267],[663,1264],[675,1258],[681,1290],[691,1287],[711,1272],[719,1279],[726,1275],[732,1279],[741,1272],[760,1250],[770,1243],[770,1254],[782,1244],[784,1238],[796,1232],[816,1214],[821,1221],[823,1211],[838,1199],[835,1191],[841,1185],[839,1179],[844,1167],[850,1162],[847,1158],[847,1148],[839,1149],[838,1137],[825,1134],[828,1126],[807,1109],[819,1100],[820,1095],[806,1085],[801,1090],[781,1099],[776,1091],[786,1079],[786,1072],[796,1073],[800,1065],[805,1066],[799,1051],[794,1056],[785,1052],[783,1036],[768,1037],[765,1029],[760,1041],[752,1042],[744,1052],[738,1042],[726,1049],[713,1060],[709,1079],[704,1086],[691,1092],[682,1089],[681,1094],[671,1090],[670,1081],[680,1072],[672,1065],[666,1055],[668,1047],[676,1041],[665,1040],[660,1025],[643,1023],[644,1014],[635,1016],[629,1022],[622,1015],[604,1019],[601,1027],[603,1032],[593,1039],[580,1056],[564,1051],[553,1056],[546,1055],[532,1065],[507,1068],[488,1083],[484,1094],[479,1094],[466,1089],[449,1101],[436,1129],[444,1138],[442,1152],[445,1159],[438,1161],[438,1175],[446,1178],[450,1192],[440,1199],[448,1202],[476,1199],[483,1193],[492,1197],[490,1211],[482,1220],[486,1227],[501,1229],[497,1248],[480,1261],[481,1269],[475,1287],[491,1294],[511,1294],[529,1296],[543,1301],[561,1302]]]}},
{"type":"Feature","id":"CN.JL","properties":{"hc-group":"admin1","hc-middle-x":0.48,"hc-middle-y":0.53,"hc-key":"cn-jl","hc-a2":"JL","labelrank":"2","hasc":"CN.JL","alt-name":"Jílín","woe-id":"12577995","subregion":"Northeast","fips":"CH05","postal-code":"JL","name":"吉林","country":"中国","type-en":"Province","region":"Northeast 中国","longitude":"126.466","woe-name":"吉林","latitude":"43.2978","woe-label":"吉林, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1672,1454],[1670,1432],[1651,1423],[1649,1419],[1642,1432],[1635,1430],[1632,1410],[1622,1409],[1619,1400],[1611,1391],[1586,1388],[1595,1373],[1591,1364],[1587,1368],[1576,1365],[1566,1367],[1555,1378],[1546,1372],[1544,1363],[1531,1341],[1522,1339],[1518,1341],[1523,1350],[1513,1366],[1508,1370],[1507,1380],[1512,1388],[1508,1388],[1492,1415],[1489,1424],[1482,1413],[1475,1427],[1459,1436],[1458,1431],[1449,1435],[1452,1445],[1439,1472],[1438,1477],[1419,1463],[1408,1481],[1406,1498],[1412,1505],[1403,1521],[1395,1522],[1404,1532],[1411,1526],[1416,1532],[1425,1523],[1426,1538],[1436,1544],[1458,1548],[1461,1527],[1472,1515],[1500,1515],[1509,1520],[1514,1509],[1522,1506],[1534,1511],[1545,1508],[1549,1500],[1549,1487],[1558,1490],[1564,1487],[1562,1481],[1574,1468],[1579,1471],[1578,1479],[1587,1486],[1590,1473],[1605,1451],[1614,1454],[1614,1461],[1628,1465],[1632,1472],[1638,1465],[1643,1470],[1648,1459],[1661,1452],[1672,1454]]]}},
{"type":"Feature","id":"CN.XZ","properties":{"hc-group":"admin1","hc-middle-x":0.40,"hc-middle-y":0.49,"hc-key":"cn-xz","hc-a2":"XZ","labelrank":"2","hasc":"CN.XZ","alt-name":"Tibet|X?zàng","woe-id":"12578004","subregion":"Western","fips":"CH14","postal-code":"XZ","name":"西藏","country":"中国","type-en":"Autonomous Region","region":"Southwest 中国","longitude":"88.41370000000001","woe-name":"西藏","latitude":"31.4515","woe-label":"Tibet, CN, 中国","type":"Zìzhìqu"},"geometry":{"type":"Polygon","coordinates":[[[673,880],[656,896],[648,885],[637,890],[626,905],[620,920],[620,927],[614,931],[602,931],[586,922],[570,928],[567,935],[554,928],[556,925],[532,915],[526,916],[513,906],[498,899],[497,892],[475,888],[464,891],[465,897],[455,904],[448,901],[429,908],[433,913],[422,919],[411,918],[400,914],[381,898],[374,888],[371,897],[376,907],[370,918],[353,912],[344,915],[340,912],[322,915],[319,920],[304,928],[300,922],[293,927],[285,924],[279,942],[276,939],[260,945],[264,954],[249,957],[237,970],[235,983],[216,985],[208,1003],[198,1006],[191,1017],[180,1025],[180,1034],[165,1040],[159,1040],[155,1032],[147,1029],[145,1039],[127,1053],[125,1060],[115,1071],[107,1072],[100,1081],[95,1093],[84,1092],[89,1101],[86,1108],[90,1115],[83,1126],[83,1137],[94,1139],[98,1127],[103,1127],[117,1134],[115,1146],[118,1153],[107,1161],[104,1171],[106,1191],[115,1194],[115,1198],[123,1200],[141,1196],[148,1204],[147,1213],[165,1232],[169,1227],[183,1220],[186,1223],[204,1214],[214,1215],[229,1226],[244,1222],[247,1211],[261,1207],[280,1204],[292,1208],[311,1212],[322,1207],[334,1208],[345,1220],[353,1222],[387,1221],[400,1222],[414,1221],[436,1210],[448,1202],[440,1199],[450,1192],[446,1178],[438,1175],[438,1161],[445,1159],[442,1152],[444,1138],[436,1129],[449,1101],[466,1089],[479,1094],[484,1094],[488,1083],[507,1068],[532,1065],[546,1055],[553,1056],[564,1051],[580,1056],[593,1039],[603,1032],[601,1027],[604,1019],[622,1015],[629,1022],[635,1016],[644,1014],[643,1023],[660,1025],[665,1040],[676,1041],[691,1032],[697,1018],[695,1012],[708,994],[699,988],[708,972],[706,969],[709,941],[705,932],[708,916],[698,902],[693,908],[689,897],[690,888],[685,883],[679,887],[673,880]]]}},
{"type":"Feature","id":"CN.XJ","properties":{"hc-group":"admin1","hc-middle-x":0.54,"hc-middle-y":0.55,"hc-key":"cn-xj","hc-a2":"XJ","labelrank":"2","hasc":"CN.XJ","alt-name":"新疆 Uygur|X?nji?ng Wéiwú?r","woe-id":"12578003","subregion":"Western","fips":"CH13","postal-code":"XJ","name":"新疆","country":"中国","type-en":"Autonomous Region","region":"Northwest 中国","longitude":"85.42529999999999","woe-name":"新疆","latitude":"41.122","woe-label":"新疆, CN, 中国","type":"Zìzhìqu"},"geometry":{"type":"Polygon","coordinates":[[[561,1302],[543,1301],[529,1296],[511,1294],[491,1294],[475,1287],[481,1269],[480,1261],[497,1248],[501,1229],[486,1227],[482,1220],[490,1211],[492,1197],[483,1193],[476,1199],[448,1202],[436,1210],[414,1221],[400,1222],[387,1221],[353,1222],[345,1220],[334,1208],[322,1207],[311,1212],[292,1208],[280,1204],[261,1207],[247,1211],[244,1222],[229,1226],[214,1215],[204,1214],[186,1223],[183,1220],[169,1227],[165,1232],[147,1213],[148,1204],[141,1196],[123,1200],[115,1198],[97,1215],[94,1238],[97,1245],[78,1250],[64,1258],[56,1266],[56,1272],[44,1271],[39,1283],[45,1296],[41,1305],[31,1310],[30,1317],[18,1322],[4,1332],[16,1335],[17,1332],[29,1336],[23,1345],[27,1351],[25,1363],[28,1379],[17,1388],[7,1385],[1,1390],[0,1400],[5,1404],[1,1414],[4,1422],[14,1425],[13,1434],[21,1442],[31,1441],[48,1453],[58,1447],[71,1451],[70,1438],[88,1440],[89,1436],[100,1445],[107,1455],[115,1457],[127,1452],[145,1450],[156,1461],[186,1471],[199,1471],[203,1475],[213,1474],[217,1482],[216,1497],[220,1503],[230,1505],[226,1511],[239,1512],[239,1526],[234,1552],[239,1574],[243,1576],[230,1581],[228,1586],[234,1590],[257,1589],[283,1592],[287,1584],[297,1585],[305,1581],[308,1591],[300,1597],[312,1621],[329,1648],[332,1658],[336,1658],[355,1645],[375,1641],[377,1634],[390,1641],[399,1640],[406,1652],[405,1675],[416,1693],[427,1691],[438,1694],[444,1700],[445,1712],[450,1716],[464,1712],[476,1714],[473,1699],[479,1693],[475,1691],[490,1678],[490,1672],[501,1661],[515,1661],[519,1652],[527,1653],[534,1643],[535,1628],[543,1613],[547,1596],[541,1586],[543,1575],[533,1565],[530,1555],[534,1542],[542,1542],[555,1534],[565,1533],[578,1528],[586,1529],[607,1523],[617,1510],[624,1509],[627,1503],[646,1490],[656,1490],[653,1480],[658,1478],[666,1447],[675,1435],[677,1426],[666,1419],[664,1399],[656,1394],[635,1395],[620,1388],[602,1372],[587,1354],[578,1351],[568,1352],[565,1339],[559,1328],[563,1313],[561,1302]]]}},
{"type":"Feature","id":"CN.HE","properties":{"hc-group":"admin1","hc-middle-x":0.52,"hc-middle-y":0.47,"hc-key":"cn-he","hc-a2":"HE","labelrank":"2","hasc":"CN.HE","alt-name":"Hénán","woe-id":"12577999","subregion":"Central","fips":"CH09","postal-code":"HE","name":"河南","country":"中国","type-en":"Province","region":"South Central 中国","longitude":"113.484","woe-name":"河南","latitude":"33.9055","woe-label":"河南, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1225,974],[1217,980],[1213,976],[1199,979],[1199,985],[1186,989],[1181,986],[1175,994],[1173,1010],[1167,1006],[1152,1011],[1143,1008],[1128,1008],[1112,1015],[1095,1030],[1088,1042],[1088,1055],[1077,1065],[1078,1076],[1069,1088],[1069,1093],[1075,1091],[1107,1101],[1115,1109],[1122,1108],[1122,1115],[1148,1115],[1164,1124],[1170,1130],[1173,1156],[1181,1156],[1198,1148],[1215,1150],[1226,1149],[1222,1140],[1240,1144],[1219,1121],[1207,1112],[1207,1106],[1217,1104],[1225,1098],[1229,1090],[1247,1090],[1255,1079],[1260,1080],[1263,1067],[1249,1059],[1242,1069],[1232,1071],[1229,1065],[1232,1054],[1223,1050],[1223,1041],[1217,1035],[1209,1035],[1218,1027],[1219,1017],[1230,1010],[1240,1015],[1241,988],[1229,986],[1225,974]]]}},
{"type":"Feature","id":"CN.NM","properties":{"hc-group":"admin1","hc-middle-x":0.68,"hc-middle-y":0.61,"hc-key":"cn-nm","hc-a2":"NM","labelrank":"2","hasc":"CN.NM","alt-name":"Nei Mongol|Nèim?ngg?","woe-id":"12578009","subregion":"Western","fips":"CH20","postal-code":"NM","name":"内蒙古","country":"中国","type-en":"Autonomous Region","region":"North 中国","longitude":"111.623","woe-name":"内蒙古","latitude":"41.5938","woe-label":"Nei Mongol, CN, 中国","type":"Zìzhìqu"},"geometry":{"type":"Polygon","coordinates":[[[992,1216],[985,1219],[978,1227],[968,1228],[957,1234],[974,1261],[969,1274],[954,1272],[948,1266],[939,1245],[936,1217],[923,1215],[911,1208],[895,1207],[893,1204],[885,1207],[873,1219],[866,1222],[865,1232],[870,1233],[869,1244],[879,1250],[893,1268],[889,1281],[879,1281],[865,1277],[856,1271],[839,1277],[822,1272],[827,1264],[821,1257],[806,1262],[803,1271],[793,1278],[794,1286],[785,1288],[776,1299],[762,1308],[754,1308],[769,1320],[779,1334],[774,1346],[749,1346],[739,1342],[734,1337],[722,1337],[725,1349],[716,1360],[708,1374],[714,1379],[700,1426],[765,1411],[781,1414],[815,1406],[827,1404],[837,1390],[866,1381],[884,1370],[907,1373],[907,1366],[921,1362],[927,1367],[973,1386],[1014,1391],[1032,1388],[1052,1390],[1057,1393],[1078,1401],[1094,1421],[1113,1430],[1123,1437],[1120,1446],[1108,1463],[1118,1487],[1126,1492],[1138,1490],[1142,1485],[1156,1480],[1171,1478],[1183,1485],[1193,1496],[1196,1503],[1208,1503],[1227,1506],[1242,1516],[1243,1524],[1254,1541],[1259,1544],[1273,1543],[1276,1552],[1284,1549],[1299,1558],[1312,1557],[1315,1560],[1329,1555],[1339,1554],[1345,1559],[1344,1567],[1339,1577],[1327,1587],[1321,1597],[1312,1600],[1306,1609],[1296,1611],[1282,1608],[1274,1595],[1260,1604],[1243,1603],[1232,1597],[1224,1606],[1223,1614],[1231,1620],[1230,1630],[1254,1684],[1264,1678],[1283,1672],[1294,1679],[1306,1691],[1318,1692],[1324,1697],[1325,1708],[1319,1709],[1328,1724],[1328,1731],[1334,1739],[1343,1764],[1354,1775],[1360,1784],[1355,1794],[1357,1802],[1350,1806],[1340,1804],[1339,1811],[1345,1816],[1360,1834],[1374,1836],[1385,1824],[1369,1805],[1392,1793],[1396,1801],[1412,1790],[1409,1785],[1411,1769],[1419,1756],[1435,1749],[1443,1754],[1456,1753],[1468,1758],[1475,1769],[1485,1765],[1502,1744],[1495,1734],[1497,1726],[1490,1719],[1485,1702],[1483,1688],[1485,1678],[1483,1666],[1475,1667],[1468,1641],[1468,1622],[1460,1639],[1434,1608],[1417,1596],[1413,1587],[1418,1579],[1436,1566],[1441,1571],[1447,1567],[1442,1559],[1431,1558],[1431,1551],[1436,1544],[1426,1538],[1425,1523],[1416,1532],[1411,1526],[1404,1532],[1395,1522],[1403,1521],[1412,1505],[1406,1498],[1408,1481],[1419,1463],[1438,1477],[1439,1472],[1452,1445],[1449,1435],[1458,1431],[1456,1421],[1444,1415],[1443,1410],[1432,1406],[1424,1410],[1420,1401],[1412,1404],[1401,1393],[1393,1395],[1384,1385],[1372,1381],[1356,1362],[1356,1368],[1341,1388],[1333,1380],[1336,1377],[1335,1364],[1338,1353],[1333,1345],[1319,1347],[1308,1346],[1302,1361],[1306,1367],[1301,1373],[1297,1387],[1290,1395],[1283,1396],[1280,1389],[1264,1386],[1264,1372],[1257,1368],[1250,1371],[1240,1363],[1235,1368],[1220,1360],[1217,1354],[1207,1355],[1208,1368],[1205,1377],[1195,1373],[1189,1365],[1187,1355],[1179,1348],[1180,1338],[1176,1335],[1186,1322],[1183,1312],[1162,1306],[1159,1309],[1151,1307],[1143,1300],[1135,1305],[1126,1294],[1120,1282],[1116,1279],[1108,1281],[1103,1273],[1096,1271],[1097,1278],[1088,1274],[1082,1266],[1078,1271],[1069,1268],[1053,1258],[1032,1233],[1031,1217],[1027,1220],[1025,1208],[1003,1207],[1000,1213],[992,1216]]]}},
{"type":"Feature","id":"CN.HL","properties":{"hc-group":"admin1","hc-middle-x":0.53,"hc-middle-y":0.69,"hc-key":"cn-hl","hc-a2":"HL","labelrank":"2","hasc":"CN.HL","alt-name":"H?ilóngji?ng","woe-id":"12577998","subregion":"Northeast","fips":"CH08","postal-code":"HL","name":"黑龙江","country":"中国","type-en":"Province","region":"Northeast 中国","longitude":"127.97","woe-name":"黑龙江","latitude":"46.8451","woe-label":"黑龙江, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1672,1454],[1661,1452],[1648,1459],[1643,1470],[1638,1465],[1632,1472],[1628,1465],[1614,1461],[1614,1454],[1605,1451],[1590,1473],[1587,1486],[1578,1479],[1579,1471],[1574,1468],[1562,1481],[1564,1487],[1558,1490],[1549,1487],[1549,1500],[1545,1508],[1534,1511],[1522,1506],[1514,1509],[1509,1520],[1500,1515],[1472,1515],[1461,1527],[1458,1548],[1436,1544],[1431,1551],[1431,1558],[1442,1559],[1447,1567],[1441,1571],[1436,1566],[1418,1579],[1413,1587],[1417,1596],[1434,1608],[1460,1639],[1468,1622],[1468,1641],[1475,1667],[1483,1666],[1485,1678],[1483,1688],[1485,1702],[1490,1719],[1497,1726],[1495,1734],[1502,1744],[1485,1765],[1475,1769],[1468,1758],[1456,1753],[1443,1754],[1435,1749],[1419,1756],[1411,1769],[1409,1785],[1412,1790],[1396,1801],[1392,1793],[1369,1805],[1385,1824],[1374,1836],[1398,1845],[1411,1845],[1421,1850],[1430,1850],[1447,1843],[1452,1837],[1471,1837],[1487,1829],[1497,1816],[1511,1795],[1509,1787],[1516,1771],[1523,1763],[1525,1749],[1535,1737],[1538,1719],[1545,1715],[1544,1699],[1554,1690],[1561,1689],[1580,1692],[1579,1688],[1589,1683],[1600,1687],[1612,1672],[1622,1666],[1633,1668],[1631,1658],[1640,1646],[1637,1634],[1648,1620],[1658,1624],[1663,1621],[1689,1626],[1692,1636],[1702,1644],[1712,1644],[1719,1652],[1736,1659],[1745,1656],[1743,1646],[1750,1634],[1744,1621],[1735,1613],[1734,1587],[1731,1581],[1734,1572],[1728,1567],[1724,1544],[1716,1537],[1717,1525],[1710,1521],[1706,1528],[1691,1530],[1685,1525],[1680,1529],[1671,1513],[1658,1507],[1662,1501],[1670,1477],[1669,1466],[1672,1454]]]}},
{"type":"Feature","id":"CN.YN","properties":{"hc-group":"admin1","hc-middle-x":0.42,"hc-middle-y":0.59,"hc-key":"cn-yn","hc-a2":"YN","labelrank":"2","hasc":"CN.YN","alt-name":"Yúnnán","woe-id":"12578018","subregion":"Western","fips":"CH29","postal-code":"YN","name":"云南","country":"中国","type-en":"Province","region":"Southwest 中国","longitude":"101.661","woe-name":"云南","latitude":"24.4603","woe-label":"云南, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[900,683],[893,690],[878,684],[876,675],[860,668],[856,673],[849,670],[848,663],[837,673],[832,666],[826,674],[814,662],[810,667],[797,675],[788,663],[770,665],[765,658],[771,642],[768,618],[752,623],[750,642],[735,635],[718,633],[717,641],[711,644],[712,656],[685,662],[694,674],[693,683],[700,693],[691,694],[679,700],[681,715],[675,722],[676,728],[683,734],[673,732],[660,735],[641,728],[638,731],[645,737],[644,749],[640,749],[641,760],[650,763],[648,767],[653,777],[662,781],[664,789],[670,787],[677,796],[683,797],[679,805],[688,823],[687,843],[689,858],[680,862],[676,858],[672,874],[673,880],[679,887],[685,883],[690,888],[689,897],[693,908],[698,902],[708,916],[707,887],[713,878],[715,890],[726,900],[729,891],[738,881],[734,871],[743,859],[753,863],[766,832],[776,818],[773,814],[780,805],[778,800],[786,793],[795,795],[810,804],[813,798],[823,802],[827,809],[822,823],[823,836],[831,840],[844,856],[843,865],[857,871],[855,879],[860,882],[875,882],[870,878],[875,862],[872,857],[879,853],[889,854],[894,861],[902,857],[901,847],[898,835],[887,833],[873,835],[870,839],[864,833],[856,838],[845,827],[851,822],[850,809],[858,806],[871,812],[879,800],[865,775],[880,759],[871,741],[872,729],[877,731],[889,728],[890,719],[899,714],[910,713],[918,716],[923,707],[921,695],[911,695],[900,683]]]}},
{"type":"Feature","id":"CN.GX","properties":{"hc-group":"admin1","hc-middle-x":0.58,"hc-middle-y":0.56,"hc-key":"cn-gx","hc-a2":"GX","labelrank":"2","hasc":"CN.GX","alt-name":"广西 Zhuang|广西 Zhuàngzú","woe-id":"12578006","subregion":"Western","fips":"CH16","postal-code":"GX","name":"广西","country":"中国","type-en":"Autonomous Region","region":"South Central 中国","longitude":"108.756","woe-name":"广西","latitude":"23.7451","woe-label":"广西, CN, 中国","type":"Zìzhìqu"},"geometry":{"type":"Polygon","coordinates":[[[1039,620],[1030,625],[1031,617],[1018,614],[1018,622],[1005,624],[995,632],[997,622],[991,626],[990,620],[980,618],[972,625],[958,624],[947,633],[947,636],[935,639],[936,647],[932,655],[940,666],[932,672],[926,670],[915,675],[911,673],[900,683],[911,695],[921,695],[923,707],[918,716],[910,713],[899,714],[890,719],[889,728],[877,731],[872,729],[871,741],[877,737],[893,749],[903,742],[919,735],[924,746],[952,755],[952,762],[961,766],[969,753],[974,756],[980,750],[989,754],[995,764],[1004,759],[1008,766],[1019,763],[1017,772],[1028,770],[1033,781],[1044,776],[1049,786],[1059,778],[1069,791],[1080,788],[1082,792],[1092,788],[1090,776],[1098,775],[1094,760],[1083,748],[1084,739],[1092,747],[1097,746],[1100,729],[1105,734],[1116,732],[1117,719],[1111,714],[1112,706],[1104,700],[1095,685],[1093,667],[1082,657],[1071,652],[1074,645],[1069,641],[1059,642],[1060,631],[1046,630],[1039,620]]]}},
{"type":"Feature","id":"CN.LN","properties":{"hc-group":"admin1","hc-middle-x":0.64,"hc-middle-y":0.39,"hc-key":"cn-ln","hc-a2":"LN","labelrank":"2","hasc":"CN.LN","alt-name":"Liáoníng","woe-id":"12578008","subregion":"Northeast","fips":"CH19","postal-code":"LN","name":"辽宁","country":"中国","type-en":"Province","region":"Northeast 中国","longitude":"123.07","woe-name":"辽宁","latitude":"41.386","woe-label":"辽宁, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1333,1345],[1338,1353],[1335,1364],[1336,1377],[1333,1380],[1341,1388],[1356,1368],[1356,1362],[1372,1381],[1384,1385],[1393,1395],[1401,1393],[1412,1404],[1420,1401],[1424,1410],[1432,1406],[1443,1410],[1444,1415],[1456,1421],[1458,1431],[1459,1436],[1475,1427],[1482,1413],[1489,1424],[1492,1415],[1508,1388],[1512,1388],[1507,1380],[1508,1370],[1513,1366],[1523,1350],[1518,1341],[1522,1339],[1514,1330],[1500,1323],[1485,1307],[1479,1297],[1457,1294],[1446,1289],[1429,1278],[1414,1259],[1393,1250],[1392,1258],[1408,1264],[1406,1268],[1411,1275],[1397,1275],[1396,1283],[1403,1286],[1403,1293],[1412,1299],[1424,1319],[1410,1331],[1390,1333],[1373,1313],[1370,1305],[1353,1296],[1346,1304],[1344,1317],[1336,1316],[1323,1327],[1325,1335],[1333,1345]]]}},
{"type":"Feature","id":"CN.SC","properties":{"hc-group":"admin1","hc-middle-x":0.45,"hc-middle-y":0.50,"hc-key":"cn-sc","hc-a2":"SC","labelrank":"2","hasc":"CN.SC","alt-name":"Sìchu?n","woe-id":"12578016","subregion":"Western","fips":"CH32","postal-code":"SC","name":"四川","country":"中国","type-en":"Province","region":"Southwest 中国","longitude":"102.384","woe-name":"四川","latitude":"30.5431","woe-label":"四川, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[805,1066],[809,1061],[806,1050],[826,1062],[818,1080],[824,1081],[837,1091],[848,1086],[849,1073],[860,1072],[859,1069],[876,1066],[884,1053],[884,1043],[880,1035],[888,1029],[899,1025],[910,1026],[918,1035],[920,1029],[937,1033],[940,1023],[955,1027],[966,1026],[970,1016],[978,1018],[995,1004],[996,1007],[1011,1005],[1003,997],[1010,990],[1006,982],[994,970],[990,957],[977,956],[976,948],[961,929],[951,929],[946,940],[936,936],[933,941],[922,944],[914,934],[920,930],[919,924],[905,914],[908,905],[917,901],[918,892],[934,887],[938,876],[936,873],[925,883],[915,877],[914,869],[921,862],[928,862],[935,849],[912,845],[901,847],[902,857],[894,861],[889,854],[879,853],[872,857],[875,862],[870,878],[875,882],[860,882],[855,879],[857,871],[843,865],[844,856],[831,840],[823,836],[822,823],[827,809],[823,802],[813,798],[810,804],[795,795],[786,793],[778,800],[780,805],[773,814],[776,818],[766,832],[753,863],[743,859],[734,871],[738,881],[729,891],[726,900],[715,890],[713,878],[707,887],[708,916],[705,932],[709,941],[706,969],[708,972],[699,988],[708,994],[695,1012],[697,1018],[691,1032],[676,1041],[668,1047],[666,1055],[672,1065],[680,1072],[670,1081],[671,1090],[681,1094],[682,1089],[691,1092],[704,1086],[709,1079],[713,1060],[726,1049],[738,1042],[744,1052],[752,1042],[760,1041],[765,1029],[768,1037],[783,1036],[785,1052],[794,1056],[799,1051],[805,1066]]]}},
{"type":"Feature","id":"CN.CQ","properties":{"hc-group":"admin1","hc-middle-x":0.42,"hc-middle-y":0.62,"hc-key":"cn-cq","hc-a2":"CQ","labelrank":"2","hasc":"CN.CQ","alt-name":"Chóngqìng","woe-id":"20070171","subregion":"Western","fips":"CH33","postal-code":"CQ","name":"重庆","country":"中国","type-en":"Municipality","region":"Southwest 中国","longitude":"107.73","woe-name":"重庆","latitude":"30.0173","woe-label":"重庆, CN, 中国","type":"Zhíxiáshì"},"geometry":{"type":"Polygon","coordinates":[[[1044,987],[1048,981],[1059,974],[1061,967],[1058,954],[1052,956],[1036,945],[1013,946],[1004,940],[1009,936],[1008,915],[1011,920],[1019,911],[1020,901],[1029,892],[1031,890],[1030,870],[1024,859],[1012,861],[1014,868],[1000,878],[999,892],[986,889],[983,894],[974,899],[972,886],[959,886],[953,883],[948,872],[941,885],[938,876],[934,887],[918,892],[917,901],[908,905],[905,914],[919,924],[920,930],[914,934],[922,944],[933,941],[936,936],[946,940],[951,929],[961,929],[976,948],[977,956],[990,957],[994,970],[1006,982],[1010,990],[1003,997],[1011,1005],[1027,995],[1036,986],[1044,987]]]}},
{"type":"Feature","id":"CN.GZ","properties":{"hc-group":"admin1","hc-middle-x":0.53,"hc-middle-y":0.50,"hc-key":"cn-gz","hc-a2":"GZ","labelrank":"2","hasc":"CN.GZ","alt-name":"Gùizh?u","woe-id":"12578007","subregion":"Western","fips":"CH18","postal-code":"GZ","name":"贵州","country":"中国","type-en":"Province","region":"Southwest 中国","longitude":"106.559","woe-name":"贵州","latitude":"26.8033","woe-label":"贵州, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[871,741],[880,759],[865,775],[879,800],[871,812],[858,806],[850,809],[851,822],[845,827],[856,838],[864,833],[870,839],[873,835],[887,833],[898,835],[901,847],[912,845],[935,849],[928,862],[921,862],[914,869],[915,877],[925,883],[936,873],[938,876],[941,885],[948,872],[953,883],[959,886],[972,886],[974,899],[983,894],[986,889],[999,892],[1000,878],[1014,868],[1012,861],[1024,859],[1030,870],[1032,861],[1031,853],[1035,839],[1013,819],[1034,820],[1036,810],[1029,806],[1032,799],[1029,791],[1033,781],[1028,770],[1017,772],[1019,763],[1008,766],[1004,759],[995,764],[989,754],[980,750],[974,756],[969,753],[961,766],[952,762],[952,755],[924,746],[919,735],[903,742],[893,749],[877,737],[871,741]]]}},
{"type":"Feature","id":"CN.HN","properties":{"hc-group":"admin1","hc-middle-x":0.51,"hc-middle-y":0.50,"hc-key":"cn-hn","hc-a2":"HN","labelrank":"2","hasc":"CN.HN","alt-name":"Húnán","woe-id":"12578001","subregion":"Central","fips":"CH11","postal-code":"HN","name":"湖南","country":"中国","type-en":"Province","region":"South Central 中国","longitude":"111.712","woe-name":"湖南","latitude":"27.6667","woe-label":"湖南, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1033,781],[1029,791],[1032,799],[1029,806],[1036,810],[1034,820],[1013,819],[1035,839],[1031,853],[1032,861],[1030,870],[1031,890],[1029,892],[1036,907],[1048,914],[1058,916],[1066,911],[1073,915],[1069,924],[1078,927],[1094,924],[1100,920],[1111,920],[1125,910],[1127,905],[1139,909],[1146,915],[1147,904],[1154,903],[1168,918],[1173,902],[1168,896],[1170,890],[1178,888],[1186,878],[1183,870],[1189,864],[1179,850],[1173,849],[1167,835],[1169,827],[1177,826],[1173,818],[1178,811],[1177,801],[1184,798],[1179,783],[1187,785],[1178,768],[1179,757],[1168,753],[1156,759],[1146,753],[1148,740],[1142,739],[1138,745],[1122,747],[1120,734],[1116,732],[1105,734],[1100,729],[1097,746],[1092,747],[1084,739],[1083,748],[1094,760],[1098,775],[1090,776],[1092,788],[1082,792],[1080,788],[1069,791],[1059,778],[1049,786],[1044,776],[1033,781]]]}},
{"type":"Feature","id":"CN.SX","properties":{"hc-group":"admin1","hc-middle-x":0.50,"hc-middle-y":0.44,"hc-key":"cn-sx","hc-a2":"SX","labelrank":"2","hasc":"CN.SX","alt-name":"Sh?nx?","woe-id":"12578013","subregion":"Central","fips":"CH24","postal-code":"SX","name":"山西","country":"中国","type-en":"Province","region":"North 中国","longitude":"112.389","woe-name":"山西","latitude":"37.7586","woe-label":"山西, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1069,1093],[1067,1094],[1070,1114],[1079,1129],[1074,1149],[1075,1166],[1072,1177],[1081,1192],[1085,1202],[1084,1210],[1077,1217],[1078,1226],[1088,1236],[1093,1256],[1100,1268],[1096,1271],[1103,1273],[1108,1281],[1116,1279],[1120,1282],[1126,1294],[1135,1305],[1143,1300],[1151,1307],[1159,1309],[1162,1306],[1183,1312],[1186,1322],[1190,1308],[1196,1306],[1184,1301],[1180,1294],[1193,1288],[1197,1276],[1193,1262],[1188,1258],[1177,1258],[1176,1248],[1168,1238],[1168,1227],[1175,1223],[1182,1208],[1183,1199],[1174,1184],[1175,1176],[1165,1170],[1167,1161],[1173,1156],[1170,1130],[1164,1124],[1148,1115],[1122,1115],[1122,1108],[1115,1109],[1107,1101],[1075,1091],[1069,1093]]]}},
{"type":"Feature","id":"CN.6668","properties":{"hc-group":"admin1","hc-middle-x":0.52,"hc-middle-y":0.58,"hc-key":"cn-6668","hc-a2":"YL","labelrank":"20","hasc":"HK.","alt-name":null,"woe-id":"24703143","subregion":null,"fips":null,"postal-code":null,"name":"香港","country":"Hong Kong S.A.R.","type-en":null,"region":"The New Territories","longitude":"114.058","woe-name":"Yuen Long","latitude":"22.4415","woe-label":null,"type":null},"geometry":{"type":"Polygon","coordinates":[[[1186,648],[1184,648],[1183,647],[1181,648],[1179,649],[1181,651],[1184,652],[1185,650],[1186,650],[1186,650],[1186,648],[1190,648],[1189,647],[1189,646],[1188,646],[1187,646],[1187,646],[1187,646],[1186,647],[1187,648],[1187,648],[1188,648],[1188,649],[1189,648],[1190,649],[1190,648],[1190,648]]]}},
{"type":"Feature","id":"CN.JX","properties":{"hc-group":"admin1","hc-middle-x":0.50,"hc-middle-y":0.37,"hc-key":"cn-jx","hc-a2":"JX","labelrank":"2","hasc":"CN.JX","alt-name":"Ji?ngx?","woe-id":"12577993","subregion":"Central","fips":"CH03","postal-code":"JX","name":"江西","country":"中国","type-en":"Province","region":"East 中国","longitude":"116.017","woe-name":"江西","latitude":"27.6397","woe-label":"江西, CN, 中国","type":"Sh?ng"},"geometry":{"type":"Polygon","coordinates":[[[1179,757],[1178,768],[1187,785],[1179,783],[1184,798],[1177,801],[1178,811],[1173,818],[1177,826],[1169,827],[1167,835],[1173,849],[1179,850],[1189,864],[1183,870],[1186,878],[1178,888],[1189,895],[1207,900],[1210,905],[1222,908],[1229,917],[1240,913],[1250,915],[1260,918],[1265,925],[1273,920],[1266,912],[1268,906],[1279,912],[1279,917],[1289,917],[1293,909],[1308,908],[1314,902],[1309,892],[1323,877],[1324,862],[1322,855],[1304,849],[1302,844],[1294,850],[1287,845],[1282,835],[1283,824],[1276,815],[1268,814],[1263,803],[1266,796],[1259,788],[1257,776],[1251,773],[1246,754],[1242,749],[1243,739],[1239,735],[1238,725],[1228,734],[1210,726],[1195,723],[1187,729],[1195,740],[1205,746],[1200,756],[1182,751],[1179,757]]]}}]}

下载地图开发实例,包括地图数据,包括其他的example

bubuko.com,布布扣

地图开发代码

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!