Skip to main content

abstract GeoObject

Abstract base-class for all GeoJSON class constructors.

Implements​

Constructors​

new GeoObject()​

protected new GeoObject(bbox?): GeoObject

Parameters​

ParameterType
bbox?BBox2DLiteral | BBox3DLiteral

Returns​

GeoObject

Properties​

bbox?​

optional bbox: BBox2DLiteral | BBox3DLiteral;

A bounding box of the coordinate range of the object's Geometries, Features, or Feature.

See​

Implementation of​

GeoObjectLiteral.bbox


type​

abstract type: GeometryType;

The JSON literal type of the GeoJSON object.

Implementation of​

GeoObjectLiteral.type

Methods​

is2D()​

is2D(): boolean

Predicate to determine if the GeoJSON object is 2-dimensional.

Returns​

boolean