A GeoJSON object with the type "Feature" is a feature object:
A feature object must have a member with the name "geometry". The value of the geometry member is a geometry object as defined above or a JSON null value.
A feature object must have a member with the name "properties". The value of the properties member is an object (any JSON object or a JSON null value).
If a feature has a commonly used identifier, that identifier should be included as a member of the feature object with the name "id".
Other geo types:
FeatureCollection
,
GeometryCollection
,
LineString
,
MultiLineString
,
MultiPoint
,
MultiPolygon
,
Point
,
Polygon
,
geojson-types
1 2 3 4 5 6 7 8 9 10 | '{
"type": "Feature",
"properties": {
"population": 200
},
"geometry": {
"type": "Point",
"coordinates": [10.724029, 59.926807]
}
}'
|
[1] "{\n \"type\": \"Feature\",\n \"properties\": {\n \"population\": 200\n },\n \"geometry\": {\n \"type\": \"Point\",\n \"coordinates\": [10.724029, 59.926807]\n }\n}"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.