Online Maps  v3
OnlineMapsGooglePlaceDetailsResult Class Reference

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

Public Member Functions

 OnlineMapsGooglePlaceDetailsResult (OnlineMapsXML node)
 Constructor of OnlineMapsGooglePlaceDetailsResult. More...
 

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. More...
 
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. More...
 
Vector2 location
 Geographic coordinates of place. More...
 
string icon
 URL of a suggested icon which may be displayed to the user when indicating this result on a map. 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.
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. More...
 
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. More...
 
string name
 Human-readable name for the returned result.
For establishment results, this is usually the canonicalized business name. More...
 
OnlineMapsXML node
 Reference to XML node. More...
 
OnlineMapsGooglePlacesResult.Photo[] photos
 Array of photo objects, each containing a reference to an image.
A Place Details request may return up to ten photos. More...
 
string place_id
 A textual identifier that uniquely identifies a place. More...
 
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
More...
 
float rating
 Place's rating, from 1.0 to 5.0, based on aggregated user reviews. 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 now deprecated in favor of place_id. More...
 
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. More...
 
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. More...
 
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). More...
 
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. More...
 
string website
 Lists the authoritative website for this place, such as a business' homepage. More...
 

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.

Member Data Documentation

◆ formatted_address

string OnlineMapsGooglePlaceDetailsResult.formatted_address

Human-readable address of this place.
Often this address is equivalent to the "postal address," which sometimes differs from country to country.

◆ formatted_phone_number

string OnlineMapsGooglePlaceDetailsResult.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.

◆ icon

string OnlineMapsGooglePlaceDetailsResult.icon

URL of a suggested icon which may be displayed to the user when indicating this result on a map.

◆ id

string OnlineMapsGooglePlaceDetailsResult.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.

◆ international_phone_number

string OnlineMapsGooglePlaceDetailsResult.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.

◆ location

Vector2 OnlineMapsGooglePlaceDetailsResult.location

Geographic coordinates of place.

◆ name

string OnlineMapsGooglePlaceDetailsResult.name

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

◆ node

OnlineMapsXML OnlineMapsGooglePlaceDetailsResult.node

Reference to XML node.

◆ photos

OnlineMapsGooglePlacesResult.Photo [] OnlineMapsGooglePlaceDetailsResult.photos

Array of photo objects, each containing a reference to an image.
A Place Details request may return up to ten photos.

◆ place_id

string OnlineMapsGooglePlaceDetailsResult.place_id

A textual identifier that uniquely identifies a place.

◆ price_level

int OnlineMapsGooglePlaceDetailsResult.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

◆ rating

float OnlineMapsGooglePlaceDetailsResult.rating

Place's rating, from 1.0 to 5.0, based on aggregated user reviews.

◆ reference

string OnlineMapsGooglePlaceDetailsResult.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.

◆ types

string [] OnlineMapsGooglePlaceDetailsResult.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.

◆ url

string OnlineMapsGooglePlaceDetailsResult.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.

◆ utc_offset

string OnlineMapsGooglePlaceDetailsResult.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).

◆ vicinity

string OnlineMapsGooglePlaceDetailsResult.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.

◆ website

string OnlineMapsGooglePlaceDetailsResult.website

Lists the authoritative website for this place, such as a business' homepage.