buildingHighlight
fun ComponentInstaller.buildingHighlight(mapView: MapView, config: BuildingHighlightConfig.() -> Unit = {}): Installation
Content copied to clipboard
Install component that highlights building upon arrival.
The installed component registers itself as a ArrivalObserver and RoutesObserver. It highlights building on ArrivalObserver.onFinalDestinationArrival callback and un-highlights when the next route leg is started or when a list of routes is cleared.