open class PlaceByIdResult : Serializable
The result of a Place by Id Search query.
PlaceByIdResult()
The result of a Place by Id Search query. |
var additionalDataSources: AdditionalDataSources!
Information about the sources of additional data that can be used with the Additional Data service. |
|
var address: Address!
Structured address for the result. |
|
var addressRanges: AddressRanges!
Available only for results where the result type == "Address Range". AddressRanges object. |
|
var distance: Double
Unit: meters. This is the distance to an object if geobias was provided. |
|
var entityType: String!
(Only for results of type "Geography") The type of the entity (one of "County", "CountrySubdivision", "CountrySecondarySubdivision", "CountryTeritarySubdivision", "Municipality", "MunicipalitySubdivision", "Neighbourhood", "PostalCodeArea"). |
|
var entryPoints: Array<EntryPoint!>!
List of entry points of the POI. |
|
var id: String!
A stable unique id for the POI index, and a non-stable unique id for the other indexes. Note: Stable id means that it doesn't change between data releases without changing the location, attribution, or classification. |
|
var info: String!
Information about the original data source of the result. |
|
var mapCodes: Array<MapCode!>!
A list of MapCode objects. |
|
var poi: Poi!
Optional section. Only present if type == POI. |
|
var position: LatLng!
Position of the result. |
|
var score: Double
Score of the result. A larger score means there is a probability that a result meeting the query criteria is higher. |
|
var type: String!
Type of Result (one of "POI", "Street", "Geography", "Point Address", "Address Range", "Cross Street"). |
|
var viewport: BoundingBox!
A viewport which can be used to display the result on a map. |
open fun getAdditionalDataSources(): AdditionalDataSources!
Returns information about the sources of additional data that can be used with the Additional Data service. |
|
open fun getAddress(): Address!
Returns a structured address for the result. |
|
open fun getAddressRanges(): AddressRanges!
Returns the AddressRanges object. |
|
open fun getDistance(): Double
Returns the distance to an object if geobias was provided in meters. |
|
open fun getEntityType(): String!
Returns the type of the entity. |
|
open fun getEntryPoints(): Array<EntryPoint!>!
Returns a list of entry points of the POI. |
|
open fun getId(): String!
Returns a stable unique id for the POI index, and a non-stable unique id for the other indexes. Note: Stable id means that it doesn't change between data releases without changing the location, attribution or classification. |
|
open fun getInfo(): String!
Returns information about the original data source of the result. |
|
open fun getMapCodes(): ImmutableList<MapCode!>! |
|
open fun getPoi(): Poi!
Returns the POI if the optional section is present. |
|
open fun getPosition(): LatLng!
Returns the position of the result. |
|
open fun getScore(): Double
Returns a score of the result. A larger score means there is a probability that a result meeting the query criteria is higher. |
|
open fun getType(): String!
Returns the type of Result (one of "POI", "Street", "Geography", "Point Address", "Address Range", "Cross Street"). |
|
open fun getViewport(): BoundingBox!
Returns a viewport which can be used to display the result on a map. |
|
open fun toString(): String |