MapViewDelegate

interface MapViewDelegate

Interface that can be implemented to receive interactions with the map.

Functions

Link copied to clipboard
abstract fun calloutViewForPointAnnotation(annotation: PointAnnotation): InfoWindow
Link copied to clipboard
abstract fun canSelectUnit(mapUnit: MapUnit): Boolean
param mapUnit The map unit to check.
Link copied to clipboard
abstract fun didChangeCameraPosition(newLocation: LatLng, newZoom: Float, newBearing: Double, newTilt: Double)
Called when the map's camera position has changed
Link copied to clipboard
abstract fun didFailToLoadMapView(mapView: MapView, ex: Exception)
Link copied to clipboard
abstract fun didFinishLoadingMapView(mapView: MapView)
Link copied to clipboard
Called when the popup view for a map annotation is opened.
Link copied to clipboard
abstract fun didSelectAnnotation(annotation: MapAnnotation)
Called when an annotation was selected on the map.
Link copied to clipboard
Called when a floor change annotation was selected on the map.
Link copied to clipboard
abstract fun didSelectUnit(mapUnit: MapUnit)
Called when a map unit is selected on the map.
Link copied to clipboard
abstract fun didTapAtCoordinate(location: LatLng)
Link copied to clipboard
abstract fun didTapOnMap(coords: LatLng)
Link copied to clipboard
Called to provide a custom image for the floor change annotation button
Link copied to clipboard
Called to provide a custom image for a landmark annotation
Link copied to clipboard
Called to provide a custom image for a point annotation
Link copied to clipboard
abstract fun shouldChangeCameraPosition(newLocation: LatLng, newBearing: Double, newTilt: Double): Boolean
Called when the map's camera position is about to be changed
Link copied to clipboard
abstract fun willStartLoadingMapView(mapView: MapView)