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

MultiPointBuilder

class MultiPointBuilder

A GeoJSON Geometry type comprising a collection of LatLngs.

Functions

build

fun build(): MultiPoint

Creates a new MultiPoint.

withBoundingBox

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

A bounding box enclosing all geometries contained in this com.tomtom.online.sdk.common.geojson.GeoJsonObject. Might be undefined.

Companion Object Functions

create

fun create(coordinates: List<LatLng>): MultiPointBuilder

Creates a new instance of MultiPointBuilder.