GeoJSON::Polygon
Inherits GeoJSON::Object < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A Polygon is a Geometry representing a closed geometric figure in
geographic space with optional holes within it.
This class corresponds to the GeoJSON Polygon.
Constructors
new(pull : JSON::PullParser)
A Polygon is a Geometry representing a closed geometric figure in
geographic space with optional holes within it.
This class corresponds to the GeoJSON Polygon.
Creates a new Polygon with the given coordinates and optional bounding
box bbox.
Creates a new Polygon with the given coordinates and optional bounding
box bbox.