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

MultiPolygonBuilder

class MultiPolygonBuilder

A collection of Polygon.

Functions

build

fun build(): MultiPolygon

Creates a new MultiPolygon.

withBoundingBox

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

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(polygons: List<Polygon>): MultiPolygonBuilder

Creates a new instance of MultiPolygonBuilder.