AlongRouteResult
data class AlongRouteResult( val id: SearchResultId, val poi: Poi, val distance: Distance? = null, val address: Address? = null, val position: GeoCoordinate? = null, val viewport: GeoBoundingBox? = null, val entryPoints: Set<EntryPoint> = emptySet(), val detourTime: Duration? = null, val detourDistance: Distance? = null, val detourOffset: Int? = null, val chargingPark: EvChargingPark? = null)
Content copied to clipboard
Describes the details of a single result item returned by the Search API.
Parameters
id
The ID of the result.
distance
Distance from the provided route.
poi
Information about the Point Of Interest.
address
The detailed address of the result.
position
The geographical position of the Point Of Interest.
viewport
The viewport.
entryPoints
A list of entrances to the Point Of Interest.
detourTime
Detour time.
detourDistance
Detour distance.
detourOffset
Detour offset in meters.
chargingPark
Present only when the Points of Interest are of the Electric Vehicle Station type.
Constructors
Link copied to clipboard
fun AlongRouteResult( id: SearchResultId, poi: Poi, distance: Distance? = null, address: Address? = null, position: GeoCoordinate? = null, viewport: GeoBoundingBox? = null, entryPoints: Set<EntryPoint> = emptySet(), detourTime: Duration? = null, detourDistance: Distance? = null, detourOffset: Int? = null, chargingPark: EvChargingPark? = null)
Content copied to clipboard