FlaneurMapViewDelegate

public protocol FlaneurMapViewDelegate: AnyObject

The protocol to implement to get callbacks from a FlaneurMapView instance.

  • Tells the delegate that the specified map item’s annotation callout was tapped.

    Declaration

    Swift

    func flaneurMapViewDidSelect(mapItem: FlaneurMapItem)

    Parameters

    mapItem

    the map item for which the annotation was tapped

  • flaneurMapViewDidFinishLoadingMap(_:) Default implementation

    Tells the delegate that the specified map view successfully loaded the needed map data.

    Default Implementation

    Declaration

    Swift

    func flaneurMapViewDidFinishLoadingMap(_ mapView: FlaneurMapView)

    Parameters

    mapView

    The map view that started the load operation.