Skip to content

Commit b089b70

Browse files
authored
Merge pull request github#27988 from github/repo-sync
repo sync
2 parents ca5e538 + 8e86c30 commit b089b70

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

content/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,27 @@ For example, you can create a simple map:
4949
<pre>
5050
```geojson
5151
{
52-
"type": "Polygon",
53-
"coordinates": [
54-
[
55-
[-90,30],
56-
[-90,35],
57-
[-90,35],
58-
[-85,35],
59-
[-85,30]
60-
]
52+
"type": "FeatureCollection",
53+
"features": [
54+
{
55+
"type": "Feature",
56+
"id": 1,
57+
"properties": {
58+
"ID": 0
59+
},
60+
"geometry": {
61+
"type": "Polygon",
62+
"coordinates": [
63+
[
64+
[-90,35],
65+
[-90,30],
66+
[-85,30],
67+
[-85,35],
68+
[-90,35]
69+
]
70+
]
71+
}
72+
}
6173
]
6274
}
6375
```

0 commit comments

Comments
 (0)