MPIMapViewDelegate

public protocol MPIMapViewDelegate : AnyObject

Undocumented

  • Called when the mapview is finished loading the venue

    Declaration

    Swift

    func onDataLoaded(data: MPIData)

    Parameters

    data

    The data of the venue

    Return Value

    void

  • Called when map is first loaded

    Declaration

    Swift

    func onFirstMapLoaded()
  • Called when the map has changed in the mapview

    Declaration

    Swift

    func onMapChanged(map: MPIMap)

    Parameters

    map

    The map that the mapview changed to

    Return Value

    void

  • Called when the user taps/clicks on an MPIPolygon on the mapview

    Declaration

    Swift

    func onPolygonClicked(polygon: MPIPolygon)

    Return Value

    void

  • Called when a user does not tap a polygon on the map

    Declaration

    Swift

    func onNothingClicked()

    Return Value

    void

  • Called when the mapview is finished rendering the first map

    Declaration

    Swift

    func onBlueDotUpdated(blueDot: MPIBlueDot)

    Return Value

    void