public class GeometrySearchResult
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected AdditionalDataSources |
additionalDataSources
Information about sources of additional data that can be used with the Additional Data service
-- GETTER --
|
protected Address |
address
This object contains address information of a result.
|
protected AddressRanges |
addressRanges
Address ranges on a street segment.
|
protected com.tomtom.online.sdk.common.location.BoundingBox |
boundingBox
An rectangle into which a shape of an administrative area is inscribed in.
|
protected double |
distance
Distance in meters from provided starting point for a search.
|
protected java.lang.String |
entityType
(Only for results of type "Geography") Type of the entity
(one of "County", "CountrySubdivision", "CountrySecondarySubdivision", "CountryTeritarySubdivision",
"Municipality", "MunicipalitySubdivision", "Neighbourhood", "PostalCodeArea").
|
protected EntryPoint[] |
entryPoints
(Only for POI) Points of entry to the POI.
|
protected java.lang.String |
id
ID of the return result.
|
protected java.lang.String |
info
Information about original data source of the result.
|
protected Poi |
poi
This section is available when type of the result is equal to "POI".
|
protected LatLng |
position
A point representing geographical center of a result or an address point
if a result contains full address information (including house number).
|
protected double |
score
Score of the result.
|
protected java.lang.String |
type
The type of result
Allowed values: "Street", "Point Address", "Geography", "POI", "Cross Street", "Address Range".
|
protected com.tomtom.online.sdk.common.location.BoundingBox |
viewport
A viewport which can be used to display the entity on a map.
|
Constructor and Description |
---|
GeometrySearchResult() |
protected java.lang.String id
protected java.lang.String type
protected double score
protected double distance
protected java.lang.String info
protected java.lang.String entityType
protected Poi poi
protected Address address
protected LatLng position
protected com.tomtom.online.sdk.common.location.BoundingBox viewport
protected com.tomtom.online.sdk.common.location.BoundingBox boundingBox
protected EntryPoint[] entryPoints
protected AddressRanges addressRanges
protected AdditionalDataSources additionalDataSources