MPIMapViewListener

interface MPIMapViewListener

Listener that handles MPIMapView events such as onDataLoaded, onMapChanged, etc

Functions

Link copied to clipboard
abstract fun onBlueDotPositionUpdate(update: MPIBlueDotPositionUpdate)

Called when the blueDot position is updated

Link copied to clipboard
abstract fun onBlueDotStateChange(stateChange: MPIBlueDotStateChange)

Called when the blueDot state is updated

Link copied to clipboard
open fun onBlueDotUpdated(blueDot: MPIBlueDot)

Called when the blueDot position is updated

Link copied to clipboard
abstract fun onDataLoaded(data: MPIData)

Called when the MPIMapView is finished loading the venue

Link copied to clipboard
abstract fun onFirstMapLoaded()

Called when the MPIMapView is finished rendering the first map

Link copied to clipboard
abstract fun onMapChanged(map: MPIMap)

Called when the map has changed in the MPIMapView

Link copied to clipboard
abstract fun onNothingClicked()

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

Link copied to clipboard
abstract fun onPolygonClicked(polygon: MPINavigatable.MPIPolygon)

Called when the user taps/clicks on an polygon on the MPIMapView

Link copied to clipboard
abstract fun onStateChanged(state: MPIState)

Called when the MPIMapView state has changes