MapsDisplayService

final public class MapsDisplayService

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

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

Public

  • Custom data providers used as an alternative tile source.

    Declaration

    Swift

    public static var customTileDataProviders: [MapDisplayDataProvider]?
  • An initial API key for the map configuration.

    Declaration

    Swift

    public static var apiKey: String { get set }