TomTomMap

public class TomTomMap : AnnotationsActions, RouteActions, MapActions
extension TomTomMap: CameraActions
extension TomTomMap: RenderedFeatureActions
extension TomTomMap: VehicleActions, LocationActions
extension TomTomMap: DiagnosticActions

TomTomMap aggregates core map functionalities

Public

  • The object that acts as the delegate of the TomTomMap.

    Important

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

    Declaration

    Swift

    public weak var delegate: MapDelegate?
  • The object that acts as the data source of the TomTomMap.

    Declaration

    Swift

    public weak var dataSource: MapDataSource?
  • Important

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

    Declaration

    Swift

    public var language: Locale { get set }
  • Important

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

    Declaration

    Swift

    public var styleMode: StyleMode { get set }
  • Important

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

    Declaration

    Swift

    public var layers: [Layer] { get }
  • Important

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

    Declaration

    Swift

    public var disabledGestures: [MapGestureDisableOption] { get set }
  • Important

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

    Declaration

    Swift

    public var styleContainer: StyleContainer { get set }
  • Declaration

    Swift

    public var allRoutes: [Route] { get }
  • Important

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

    Declaration

    Swift

    public var isMarkersFadingEnabled: Bool { get set }
  • Important

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

    Declaration

    Swift

    public var isMarkersShrinkingEnabled: Bool { get set }
  • Important

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

    Declaration

    Swift

    public func setExclusiveGestures(gesture: GestureType, blockedGestures: [GestureType])
  • Important

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

    Declaration

    Swift

    public func addMarker(options: MarkerOptions) throws -> Marker
  • Important

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

    Declaration

    Swift

    public func addLine(options: LineOptions) throws -> Line
  • Important

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

    Declaration

    Swift

    public func addPolygon(options: PolygonOptions) throws -> Polygon
  • Important

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

    Declaration

    Swift

    public func addPolygonOverlay(options: PolygonOverlayOptions) throws -> PolygonOverlay
  • Important

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

    Declaration

    Swift

    public func remove(annotation: Annotation)
  • Declaration

    Swift

    public func addRoute(_ options: RouteOptions) throws -> Route
  • Important

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

    Declaration

    Swift

    public func removeAnnotations(tag: String)
  • Important

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

    Declaration

    Swift

    public func zoomToMarkers(marginPx: UInt, tag: String)
  • Important

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

    Declaration

    Swift

    public func zoomToMarkers(tag: String)
  • Declaration

    Swift

    public func removeRoutes()
  • Important

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

    Declaration

    Swift

    public func addCircle(options: CircleOptions) throws -> Circle
  • Declaration

    Swift

    public func removeRoute(_ route: Route)
  • Important

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

    Declaration

    Swift

    public func removeAnnotations()
  • Important

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

    Declaration

    Swift

    public func zoomToMarkers()
  • Important

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

    Declaration

    Swift

    public func zoomToMarkers(marginPx: UInt)
  • Important

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

    Declaration

    Swift

    public func setMarkerDistanceFadingRange(range: ClosedRange<Measurement<UnitLength>>)
  • Important

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

    Declaration

    Swift

    public func setMarkerDistanceShrinkingRange(range: ClosedRange<Measurement<UnitLength>>)
  • Important

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

    Declaration

    Swift

    public func coordinateForPoint(point: CGPoint) -> CLLocationCoordinate2D?
  • Important

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

    Declaration

    Swift

    public func pointForCoordinate(coordinate: CLLocationCoordinate2D) -> CGPoint?
  • Declaration

    Swift

    public func bringToFront(route: Route)
  • Declaration

    Swift

    public func zoomToRoutes(padding: UInt)
  • Important

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

    Declaration

    Swift

    public func select(annotation: Annotation)
  • Important

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

    Declaration

    Swift

    public func deselect(annotation: Annotation)
  • Important

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

    Declaration

    Swift

    public func snapshot() -> UIImage
  • Important

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

    Declaration

    Swift

    public func snapshotWithoutViews(views: [UIView]) -> UIImage
  • Important

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

    Declaration

    Swift

    public func layersForRegexp(pattern: NSRegularExpression) -> [Layer]
  • Important

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

    Declaration

    Swift

    public func showTraffic()
  • Important

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

    Declaration

    Swift

    public func hideTraffic()
  • Important

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

    Declaration

    Swift

    public func showTrafficIncidents()
  • Important

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

    Declaration

    Swift

    public func hideTrafficIncidents()
  • Important

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

    Declaration

    Swift

    public func registerTrafficIncidentObserver(_ observer: TrafficIncidentObserver)
  • Important

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

    Declaration

    Swift

    public func showHillshading()
  • Important

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

    Declaration

    Swift

    public func hideHillshading()

CameraActions

RenderedFeatureActions

LocationActions

VehicleActions