MapTileOptions

public struct MapTileOptions

Describes options to request map tiles for given zoom and coordinate.

Detailed explanation of values can be found on: https://developer.tomtom.com/map-display-api/documentation/zoom-levels-and-tile-grid

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • MapTileOptions

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public init(level: Int, point: CGPoint, travelModeProfile: String? = nil)

    Parameters

    level

    Zoom level

    point

    Horizontal and vertical coordinate

    travelModeProfile

    Travel mode profile for vehicle restrictions

Public

  • Zoom level.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public let level: Int
  • Horizontal and vertical coordinate.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public let point: CGPoint
  • Travel mode profile for vehicle restrictions

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    Declaration

    Swift

    public let travelModeProfile: String?