一.概要
二.地図の構成
1.GISレイヤー(基礎のレイヤー)
http://webmapping.mgis.psu.edu/geoserver/wms?
2.表示データ
{
"type": "FeatureCollection",
"features":
[
{/* Here below is the first region */
"type": "Feature",
"geometry":
{
"type": "MultiPolygon",
"coordinates":
/* Here stores the coordinate pairs of region multipolygon */
[
[
[
117.210024,
40.082262
],
[
117.344299,
40.13443
]
]
]
},
"properties":
{
"adcode": 110000,//Here is the area code
"name": "Beijing",//Here is the area name
"center":
/* Here stores the coordinates of the center point*/
[
116.405285,
39.904989
],
"bbox":
[
115.426264,
39.44296,
117.49582,
41.053072
]
}
}
{/* Here is the second region */}
{...}
...
]
}{
"features":
[
{/* Here below is the first point */
"geometry":
{
"coordinates":
/* Here stores the coordinates of the point */
[
111.5547,
22.1484
],
"type": "Point"
},
"properties":
{/*Point name*/
"name": "Macau Special Administrative Region"
},
"type": "Feature"
},
{/* Here is the second point */}
{...}
...
]
}