SearchResult

fun SearchResult(type: ResultType, searchResultId: SearchResultId, place: Place, distance: Distance? = null, poi: Poi? = null, boundingBox: GeoBoundingBox? = null, detour: Detour? = null)

Parameters

type

The type of result.

searchResultId

The ID of the result.

place

The place information of the search result.

distance

Distance from the provided route.

poi

Information about the Point Of Interest.

boundingBox

A rectangle into which the shape of an administrative area is inscribed. Only available for results where the result type is equal to "Geography", and municipality information is not present.

detour

The detailed information about detour which should be taken to reach the search result position.