abstract
GeoObject
Abstract base-class for all GeoJSON class constructors.
Implements
Constructors
new GeoObject()
protected new GeoObject(bbox?): GeoObject
Parameters
Parameter | Type |
---|---|
bbox ? | BBox2DLiteral | BBox3DLiteral |
Returns
Properties
bbox?
optional bbox: BBox2DLiteral | BBox3DLiteral;
A bounding box of the coordinate range of the object's Geometries, Features, or Feature.
See
BBox2DLiteral
for 2-dimensional bounding boxes.BBox3DLiteral
for 3-dimensional bounding boxes.
Implementation of
type
abstract type: GeometryType;
The JSON literal type of the GeoJSON object.
Implementation of
Methods
is2D()
is2D(): boolean
Predicate to determine if the GeoJSON object is 2-dimensional.
Returns
boolean