MapTileDataProviding

public protocol MapTileDataProviding

TomTomMap tile provider interface for map display.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • A handler will be called if nds map access status is changed

    Declaration

    Swift

    var mapAccessChangeHandler: ((_ mapChanged: Bool) -> ())? { get set }
  • Gets tile data corresponding to the provided tile options.

    Declaration

    Swift

    func getTile(tileOptions: MapTileOptions) -> MapTile?

    Parameters

    tileOptions

    Describe position and zoom level of the tile.

    Return Value

    TomTomMap tile data.

  • Gets hill shade tile data corresponding to the provided tile options.

    Declaration

    Swift

    func getHillShadingTile(tileOptions: MapTileOptions) -> MapTile?

    Parameters

    tileOptions

    Describe position and zoom level of the tile.

    Return Value

    TomTomMap tile data.