MTOfflineRegionGeometry

@Serializable(with = MTOfflineRegionGeometrySerializer::class)
sealed class MTOfflineRegionGeometry

Represents the geometry of an offline region.

Inheritors

Types

@Serializable
data class BoundingBox(val bbox: MTBoundingBox) : MTOfflineRegionGeometry

A rectangular bounding box.

@Serializable
data class Polygon(val coordinates: List<LngLat>) : MTOfflineRegionGeometry

A polygon defined by a series of coordinates (the boundary).

@Serializable
data class Route(val coordinates: List<LngLat>) : MTOfflineRegionGeometry

A route defined by a series of coordinates.

Properties

abstract val bbox: MTBoundingBox

The bounding box that contains the entire geometry.