MapDelegate

public protocol MapDelegate : AnyObject

Methods for managing map interactions and events.

  • Method for reporting states for a interaction with map.

    Declaration

    Swift

    func map(_ map: TomTomMap, onInteraction interaction: MapInteraction)

    Parameters

    map

    The instance of the Map where the event occurred.

    interaction

    The interaction

  • Method for reporting states for a interaction with map.

    Declaration

    Swift

    func map(_ map: TomTomMap, onCameraEvent event: CameraEvent)

    Parameters

    map

    The instance of the Map where the event occurred.

    event

    The interaction