1
0
mirror of synced 2026-01-07 00:01:39 -05:00

Merge pull request #18028 from sugatoray/patch-2

Updated geojson snippet
This commit is contained in:
Courtney Wilson
2022-05-25 11:27:01 -05:00
committed by GitHub

View File

@@ -49,15 +49,27 @@ For example, you can create a simple map:
<pre>
```geojson
{
"type": "Polygon",
"coordinates": [
[
[-90,30],
[-90,35],
[-90,35],
[-85,35],
[-85,30]
]
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 1,
"properties": {
"ID": 0
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-90,35],
[-90,30],
[-85,30],
[-85,35],
[-90,35]
]
]
}
}
]
}
```