diff --git a/beijing.geojson b/beijing.geojson index cc07757..a193def 100644 --- a/beijing.geojson +++ b/beijing.geojson @@ -1,11 +1,35 @@ { - "type": "Feature", - "geometry": { - "type": "Point", - "coordinates": [116.4074, 39.9042] // 经度, 纬度 - }, - "properties": { - "name": "北京天安门", - "category": "景点" - } -} \ No newline at end of file + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { + "name": "北京首都国际机场", + "category": "Airport" + }, + "geometry": { + "type": "Point", + "coordinates": [116.5873, 40.0779] + } + }, + { + "type": "Feature", + "properties": { + "name": "示例区域", + "category": "Park" + }, + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [116.38, 39.90], + [116.40, 39.90], + [116.40, 39.92], + [116.38, 39.92], + [116.38, 39.90] + ] + ] + } + } + ] +}