Merge pull request #18028 from sugatoray/patch-2
Updated geojson snippet
This commit is contained in:
@@ -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]
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user