Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsGooglePlaceDetailsResult Class Reference

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

Public Member Functions

 OnlineMapsGooglePlaceDetailsResult (OnlineMapsXML node)
 Constructor of OnlineMapsGooglePlaceDetailsResult.
 

Public Attributes

string formatted_address
 Human-readable address of this place.
Often this address is equivalent to the "postal address," which sometimes differs from country to country.
 
string formatted_phone_number
 Phone number in its local format.
For example, the formatted_phone_number for Google's Sydney, Australia office is (02) 9374 4000.
 
Vector2 location
 Geographic coordinates of place.
 
string icon
 URL of a suggested icon which may be displayed to the user when indicating this result on a map.
 
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.
As IDs can occasionally change, it's recommended that the stored ID for a place be compared with the ID returned in later Details requests for the same place, and updated if necessary.
Note: The id is now deprecated in favor of place_id.
 
string international_phone_number
 Phone number in international format.
International format includes the country code, and is prefixed with the plus (+) sign.
For example, the international_phone_number for Google's Sydney, Australia office is +61 2 9374 4000.
 
string name
 Human-readable name for the returned result.
For establishment results, this is usually the canonicalized business name.
 
OnlineMapsXML node
 Reference to XML node.
 
OnlineMapsGooglePlacesResult.Photo[] photos
 Array of photo objects, each containing a reference to an image.
A Place Details request may return up to ten photos.
 
string place_id
 A textual identifier that uniquely identifies a place.
 
int price_level = -1
 The price level of the place, on a scale of 0 to 4.
The exact amount indicated by a specific value will vary from region to region.
Price levels are interpreted as follows:
-1 - Unknown
0 — Free
1 — Inexpensive
2 — Moderate
3 — Expensive
4 — Very Expensive

 
float rating
 Place's rating, from 1.0 to 5.0, based on aggregated user reviews.
 
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 now deprecated in favor of place_id.
 
string[] types
 Array of feature types describing the given result.
XML responses include multiple type elements if more than one type is assigned to the result.
 
string url
 URL of the official Google page for this place.
This will be the establishment's Google+ page if the Google+ page exists, otherwise it will be the Google-owned page that contains the best available information about the place.
Applications must link to or embed this page on any screen that shows detailed results about the place to the user.
 
string utc_offset
 Number of minutes this place’s current timezone is offset from UTC.
For example, for places in Sydney, Australia during daylight saving time this would be 660 (+11 hours from UTC), and for places in California outside of daylight saving time this would be -480 (-8 hours from UTC).
 
string vicinity
 Lists a simplified address for the place, including the street name, street number, and locality, but not the province/state, postal code, or country.
For example, Google's Sydney, Australia office has a vicinity value of 48 Pirrama Road, Pyrmont.
 
string website
 Lists the authoritative website for this place, such as a business' homepage.
 

Detailed Description

Result of Google Maps Place Details query.

Constructor & Destructor Documentation

◆ OnlineMapsGooglePlaceDetailsResult()

OnlineMapsGooglePlaceDetailsResult.OnlineMapsGooglePlaceDetailsResult ( OnlineMapsXML node)

Constructor of OnlineMapsGooglePlaceDetailsResult.

Parameters
nodePlace node from response.