MTOfflineRegionGeometry

public enum MTOfflineRegionGeometry : Codable, Equatable, Sendable

Represents the geometry of an offline region.

  • A rectangular bounding box.

    Declaration

    Swift

    case boundingBox(MTBoundingBox)
  • A route defined by a series of coordinates.

    Declaration

    Swift

    case route([CLLocationCoordinate2D])
  • A polygon defined by a series of coordinates (the boundary).

    Declaration

    Swift

    case polygon([CLLocationCoordinate2D])
  • The bounding box that contains the entire geometry.

    Declaration

    Swift

    public var bbox: MTBoundingBox { get }