Polygon | R Documentation |
For type "Polygon", the "coordinates" member must be an array of LinearRing coordinate arrays. For Polygons with multiple rings, the first must be the exterior ring and any others must be interior rings or holes.
Other geo types:
Feature
,
FeatureCollection
,
GeometryCollection
,
LineString
,
MultiLineString
,
MultiPoint
,
MultiPolygon
,
Point
,
geojson-types
'{
"type": "Polygon",
"coordinates": [
[
[100.0, 0.0],
[101.0, 0.0],
[101.0, 1.0],
[100.0, 1.0],
[100.0, 0.0]
]
]
}'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.