MultiLineString

A GeoJSON MultiLineString.

A MultiLineString is a list of multiple LineString instances that are grouped together.

Example

Geo.MultiLineString(
Geo.LineString(
Geo.Point(Geo.Longitude(-73.96943), Geo.Latitude(40.78519)),
Geo.Point(Geo.Longitude(-73.96082), Geo.Latitude(40.78095)),
),
Geo.LineString(
Geo.Point(Geo.Longitude(-73.96415), Geo.Latitude(40.79229)),
Geo.Point(Geo.Longitude(-73.95544), Geo.Latitude(40.78854)),
),
)

External resources

Constructors

Link copied to clipboard
constructor(lineStrings: List<Geo.LineString>)
constructor(vararg lineStrings: Geo.LineString)

Constructs a MultiLineString instance from multiple LineString instances.

Types

Link copied to clipboard

Properties

Link copied to clipboard

The line strings that make up this MultiLineString.

Functions

Link copied to clipboard
open override fun toString(): String

JSON representation of this object as a BSON document.

Link copied to clipboard
open override fun writeTo(writer: BsonFieldWriter)

Writes this object to the provided writer.