sdk-search / com.tomtom.online.sdk.search.data.alongroute / AlongRouteSearchResult

AlongRouteSearchResult

open class AlongRouteSearchResult : Serializable

The result of an Along Route Search query.

Constructors

<init>

AlongRouteSearchResult()

The result of an Along Route Search query.

Properties

additionalDataSources

var additionalDataSources: AdditionalDataSources!

Information about the sources of additional data that can be used with the Additional Data service. -- GETTER --

address

var address: Address!

Detailed address of the result. -- GETTER --

detourOffset

var detourOffset: Int!

Detour offset in meters. -- GETTER --

detourTime

var detourTime: Int

The time it takes to reach the POI from the closest point on the route. -- GETTER --

distance

var distance: Double

The distance from the route provided in the Request. -- GETTER --

entryPoints

var entryPoints: Array<EntryPoint!>!

A list of entrances to the POI. -- GETTER --

id

var id: String!

The id of the result. -- GETTER --

info

var info: String!

Additional info. -- GETTER --

mapCodes

var mapCodes: Array<MapCode!>!

A list of MapCode objects.

poi

var poi: Poi!

Information about the POI. -- GETTER --

position

var position: LatLng!

The geographical position of the POI. -- GETTER --

score

var score: Double

The score of the result. -- GETTER --

type

var type: String!

The type of result (should always be "POI"). -- GETTER --

viewport

var viewport: BoundingBox!

The viewport. -- GETTER --

Functions

getMapCodes

open fun getMapCodes(): ImmutableList<MapCode!>!