-
id
java.lang.String id
The ID of the return result. It is not guaranteed to be stable. On the contrary, it may often change.
-- GETTER --
-
type
java.lang.String type
The type of result.
Allowed values: "Street", "Point Address", "Geography", "POI", "Cross Street", "Address Range".
-- GETTER --
-
score
double score
The score of the result. A larger score means that the probability of a result meets a higher query criteria.
-- GETTER --
-
distance
double distance
The distance in meters from the provided starting point for a search.
It is available in a Response only when the Request contains "lat" and "lon" parameters.
-- GETTER --
-
info
java.lang.String info
Information about the original data source of the result.
-- GETTER --
-
entityType
java.lang.String entityType
(Only for results of type "Geography") The type of the entity.
(One of "County", "CountrySubdivision", "CountrySecondarySubdivision", "CountryTeritarySubdivision",
"Municipality", "MunicipalitySubdivision", "Neighborhood", "PostalCodeArea").
-- GETTER --
-
poi
Poi poi
This section is available when the type of the result is equal to "POI" (Points of Interest). It contains the basic properties of a POI.
-- GETTER --
-
address
Address address
This object contains the address information of a result.
Fields availability vary depending on an administrative hierarchy of a result's country of origin and a result itself
(e.g., if a result represents a country that does not have subdivision information).
-- GETTER --
-
position
LatLng position
A point representing the geographical center of a result or an address point
if a result contains full address information (including a house number).
-- GETTER --
-
viewport
com.tomtom.online.sdk.common.location.BoundingBox viewport
A viewport which can be used to display the entity on a map.
-- GETTER --
-
boundingBox
com.tomtom.online.sdk.common.location.BoundingBox boundingBox
A rectangle into which the shape of an administrative area is inscribed.
Available only for results where the result type is equal to "Geography", and municipality information is not present.
-- GETTER --
-
entryPoints
EntryPoint[] entryPoints
(Only for POI) Points of entry to the POI.
-- GETTER --
-
addressRanges
AddressRanges addressRanges
Address ranges on a street segment. Available only for results where the result type is equal to "Address Range".
-- GETTER --
-
additionalDataSources
AdditionalDataSources additionalDataSources
Information about sources of additional data that can be used with the Additional Data service.
-- GETTER --