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.
|
protected Address |
address
This object contains the address information of a result.
|
protected AddressRanges |
addressRanges
Address ranges on a street segment.
|
protected com.tomtom.online.sdk.common.location.BoundingBox |
boundingBox
A rectangle into which the shape of an administrative area is inscribed.
|
protected double |
distance
The distance in meters from the provided starting point for a search.
|
protected java.lang.String |
entityType
(Only for results of type "Geography") The type of the entity.
|
protected EntryPoint[] |
entryPoints
(Only for POI) Points of entry to the POI.
|
protected java.lang.String |
id
The ID of the return result.
|
protected java.lang.String |
info
Information about the original data source of the result.
|
protected Poi |
poi
This section is available when the type of the result is equal to "POI" (Points of Interest).
|
protected 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).
|
protected double |
score
The score of the result.
|
protected java.lang.String |
type
The type of result.
|
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