MultiLineString class

A GeoJSON MultiLineString object - a JSON object that represents multiple geographic curves. The full description is detailed in RFC 7946.

Constructors

MultiLineString(Position[][], BoundingBox)

Constructs a MultiLineString.

Properties

bbox

The bounding box of the multilinestring.

coordinates

The array of LineString coordinate arrays defining the multilinestring.

type

A GeoJSON type descriptor with value "MutliLineString".

TYPE

A static GeoJSON type descriptor for the MultiLineString class to be used in runtime comparisons.

Constructor Details

MultiLineString(Position[][], BoundingBox)

Constructs a MultiLineString.

new MultiLineString(coordinates: Position[][], bbox?: BoundingBox)

Parameters

coordinates

Position[][]

The array of LineString coordinate arrays defining the multilinestring.

bbox
BoundingBox

The bounding box of the multilinestring.

Property Details

bbox

The bounding box of the multilinestring.

public bbox?: BoundingBox

Property Value

coordinates

The array of LineString coordinate arrays defining the multilinestring.

public coordinates: Position[][]

Property Value

Position[][]

type

A GeoJSON type descriptor with value "MutliLineString".

public type: string

Property Value

string

TYPE

A static GeoJSON type descriptor for the MultiLineString class to be used in runtime comparisons.

public static TYPE: string

Property Value

string