PolygonLiteral<P>
An array of positions forming a closed shape, such as a country or a lake.
Extends
Type Parameters
Type Parameter | Default type |
---|---|
P extends PolygonPath | SolidPolygonPath |
Properties
bbox?
optional bbox: BBox2DLiteral | BBox3DLiteral;
A bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections.
This is useful when defining the extent of a GeoJSON object, i.e. the minimum and maximum coordinates of the object's Geometries, Features, or Feature Collections.
@TJS-type array @TJS-items.type number
See
Inherited from
coordinates
coordinates: P;
An array of positions for each point in the geometry.
@TJS-type array @TJS-items.type number
See
crs?
optional crs: object;
Coordinate reference system for GeoJSON objects.
properties
properties: object;
properties.name
properties.name: string;
The name of the coordinate reference system.
Default
"EPSG:4326"
type
type: "name";
Title
Coordinate Reference System
See
Inherited from
id?
optional id: null | string | number;
A unique identifier for the feature, such as a UUID, a serial number, or a name.
Inherited from
type
type: "Polygon";
Declares the type of GeoJSON object as a Polygon
geometry.