AlongRouteResult

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)

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.