MapboxBuildingsApi

class MapboxBuildingsApi

Mapbox Buildings Api allows you to query buildings on a MapboxMap that you would like to highlight using the MapboxBuildingView.

Constructors

MapboxBuildingsApi
Link copied to clipboard
fun MapboxBuildingsApi(mapboxMap: MapboxMap)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
queryBuildingOnFinalDestination
Link copied to clipboard
fun queryBuildingOnFinalDestination(progress: RouteProgress, callback: MapboxNavigationConsumer<Expected<BuildingError, BuildingValue>>)
The API can be invoked to query a building on MapboxMap using the RouteProgress provided as an input.
queryBuildingOnWaypoint
Link copied to clipboard
fun queryBuildingOnWaypoint(progress: RouteProgress, callback: MapboxNavigationConsumer<Expected<BuildingError, BuildingValue>>)
The API can be invoked to query a building on MapboxMap using the RouteProgress provided as an input.
queryBuildingToHighlight
Link copied to clipboard
fun queryBuildingToHighlight(point: Point, callback: MapboxNavigationConsumer<Expected<BuildingError, BuildingValue>>)
The API can be invoked to query a building on MapboxMap using the point provided as an input.
toString
Link copied to clipboard
open fun toString(): String