sdk-common / com.tomtom.online.sdk.common.geojson.geometry / MultiLineStringBuilder

MultiLineStringBuilder

class MultiLineStringBuilder

A GeoJSON Geometry type comprising a collection of LineStrings.

Functions

build

fun build(): MultiLineString

Creates a new MultiLineString.

withBoundingBox

fun withBoundingBox(boundingBox: Optional<BoundingBox>): MultiLineStringBuilder

A bounding box enclosing all geometries contained in this {@link GeoJsonObject}. Might be undefined.

Companion Object Functions

create

fun create(coordinates: List<LineString>?): MultiLineStringBuilder

Creates a new instance of MultiLineStringBuilder.