Online Maps  v3
OnlineMapsGooglePlacesAutocompleteResult Class Reference

Result of Google Maps Place Autocomplete query. More...

Classes

class  MatchedSubstring
 These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired. More...
 
class  Term
 Term identifying each section of the returned description. More...
 

Public Member Functions

 OnlineMapsGooglePlacesAutocompleteResult (OnlineMapsXML node)
 Constructor of OnlineMapsFindAutocompleteResult. More...
 

Public Attributes

string description
 Human-readable name for the returned result. For establishment results, this is usually the business name. More...
 
string reference
 Unique token that you can use to retrieve additional information about this place in a Place Details request.
Although this token uniquely identifies the place, the converse is not true. A place may have many valid reference tokens.
It's not guaranteed that the same token will be returned for any given place across different searches.
Note: The reference is deprecated in favor of place_id. More...
 
string id
 Unique stable identifier denoting this place.
This identifier may not be used to retrieve information about this place, but can be used to consolidate data about this place, and to verify the identity of a place across separate searches.
Note: The id is deprecated in favor of place_id. More...
 
string place_id
 Unique identifier for a place.
To retrieve information about the place, pass this identifier in the placeId field of a Places API request.
More...
 
string[] types
 Array of types that apply to this place.
For example: [ "political", "locality" ] or [ "establishment", "geocode" ]. More...
 
Term[] terms
 Array of terms identifying each section of the returned description (a section of the description is generally terminated with a comma). More...
 
MatchedSubstring matchedSubstring
 These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired. More...
 

Detailed Description

Result of Google Maps Place Autocomplete query.

Constructor & Destructor Documentation

◆ OnlineMapsGooglePlacesAutocompleteResult()

OnlineMapsGooglePlacesAutocompleteResult.OnlineMapsGooglePlacesAutocompleteResult ( OnlineMapsXML  node)

Constructor of OnlineMapsFindAutocompleteResult.

Parameters
nodeResult node from response.

Member Data Documentation

◆ description

string OnlineMapsGooglePlacesAutocompleteResult.description

Human-readable name for the returned result. For establishment results, this is usually the business name.

◆ id

string OnlineMapsGooglePlacesAutocompleteResult.id

Unique stable identifier denoting this place.
This identifier may not be used to retrieve information about this place, but can be used to consolidate data about this place, and to verify the identity of a place across separate searches.
Note: The id is deprecated in favor of place_id.

◆ matchedSubstring

MatchedSubstring OnlineMapsGooglePlacesAutocompleteResult.matchedSubstring

These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.

◆ place_id

string OnlineMapsGooglePlacesAutocompleteResult.place_id

Unique identifier for a place.
To retrieve information about the place, pass this identifier in the placeId field of a Places API request.

◆ reference

string OnlineMapsGooglePlacesAutocompleteResult.reference

Unique token that you can use to retrieve additional information about this place in a Place Details request.
Although this token uniquely identifies the place, the converse is not true. A place may have many valid reference tokens.
It's not guaranteed that the same token will be returned for any given place across different searches.
Note: The reference is deprecated in favor of place_id.

◆ terms

Term [] OnlineMapsGooglePlacesAutocompleteResult.terms

Array of terms identifying each section of the returned description (a section of the description is generally terminated with a comma).

◆ types

string [] OnlineMapsGooglePlacesAutocompleteResult.types

Array of types that apply to this place.
For example: [ "political", "locality" ] or [ "establishment", "geocode" ].