Skip to main content

MultiPolygonLiteral<P>

A collection of polygons, such as a country with islands or a lake with islands.

Extends

Type Parameters

Type ParameterDefault type
P extends PolygonPathSolidPolygonPath

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: P[][];

An array of polygons.

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


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: "MultiPolygon";

Specifies the type of GeoJSON object.

Overrides

GeoObjectLiteral.type