重庆地图json数组
时间: 2024-05-22 21:07:50 浏览: 157
重庆所有区县地图json数据.rar
3星 · 编辑精心推荐
重庆地图的JSON数组可以用于展示重庆市的地理信息数据。一般包含以下信息:
1. 地图的基本属性:如地图的名称、地图的缩放等级、中心点坐标等。
2. 区域边界信息:重庆市各区县的边界信息,可以用于绘制区域边界。
3. 地理坐标信息:重庆市各个地理位置的经纬度坐标信息,可以用于绘制地图上的各个点位。
以下是一个简单的重庆地图JSON数组示例:
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [106.530635, 29.544606]
},
"properties": {
"name": "江北区"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [106.635188, 29.709956]
},
"properties": {
"name": "渝北区"
}
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[106.581589, 29.561784],
[106.577962, 29.564814],
[106.570017, 29.572199],
[106.567471, 29.574679],
[106.566731, 29.577522],
[106.567428, 29.58037],
[106.568933, 29.582913]
]
},
"properties": {
"name": "江北区边界"
}
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[106.718261, 29.834411],
[106.716823, 29.833236],
[106.711361, 29.830463],
[106.710646, 29.829708],
[106.709396, 29.827305],
[106.707895, 29.826068],
[106.705758, 29.824956]
]
},
"properties": {
"name": "渝北区边界"
}
}
]
}
阅读全文