Skip to main content

PointLiteral

A JSON-serializeable single point geometry, such as a specific location, address, or longitude, latitude pair.

{
"type": "Point",
"coordinates": [100, 0]
}

Title

Point Geometry

Extends

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

GeoJSON Bounding Boxes

Inherited from

GeoObjectLiteral.bbox


coordinates

coordinates: Coordinates2D | Coordinates3D;

A pair of coordinates in the form of [longitude, latitude].

@TJS-type array @TJS-items.type number

See

Point2DCoordinates for more information.


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

Coordinate Reference Systems

Inherited from

GeoObjectLiteral.crs


id?

optional id: null | string | number;

A unique identifier for the feature, such as a UUID, a serial number, or a name.

Inherited from

GeoObjectLiteral.id


type

type: "Point";

Declares the type of GeoJSON object as a Point geometry.

Overrides

GeoObjectLiteral.type