buildingHighlight

fun ComponentInstaller.buildingHighlight(mapView: MapView, config: BuildingHighlightConfig.() -> Unit = {}): Installation

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.