MapsDisplayService

public class MapsDisplayService

Class to add a key for the map. The key must be injected before a TomTomMapView can be used.

  • Example: “” func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { MapsDisplayService.mapsKey = “MAP_KEY” […] return true }
- Important: This is a Public Preview API. It may be changed or removed at any time.

Public

  • An initial map key for the map configuration.

    Declaration

    Swift

    public static var mapsKey: String { get set }
  • Map tile data provider.

    Declaration

    Swift

    public static var tileDataProvider: MapTileDataProvider? { get set }