|
Online Maps v3
|
Result of Google Maps Places query. More...
Classes | |
| class | Photo |
| Photo objects, contains a reference to an image. More... | |
Public Member Functions | |
| OnlineMapsGooglePlacesResult (OnlineMapsXML node) | |
| Constructor. | |
Public Attributes | |
| Vector2 | location |
| Coordinates of the place. | |
| string | icon |
| URL of a recommended icon which may be displayed to the user when indicating this result. | |
| string | id |
| Unique stable identifier denoting this place. This identifier may not be used to retrieve information about this place, but is guaranteed to be valid across sessions. It can be used to consolidate data about this place, and to verify the identity of a place across separate searches. Note: The id is now deprecated in favor of place_id. | |
| string | formatted_address |
| Human-readable address of this place. Often this address is equivalent to the "postal address". The formatted_address property is only returned for a Text Search. | |
| string | name |
| Human-readable name for the returned result. For establishment results, this is usually the business name. | |
| string | place_id |
| Unique identifier for a place. | |
| 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 | vicinity |
| Feature name of a nearby location. Often this feature refers to a street or neighborhood within the given results. The vicinity property is only returned for a Nearby Search. | |
| 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. | |
| bool | open_now |
| Value indicating if the place is open at the current time. | |
| string | scope |
| Indicates the scope of the place_id. | |
| string[] | weekday_text |
| Undocumented in Google Maps Places API. | |
| Photo[] | photos |
| Array of photo objects, each containing a reference to an image. A Place Search will return at most one photo object. Performing a Place Details request on the place may return up to ten photos. | |
Result of Google Maps Places query.
| OnlineMapsGooglePlacesResult.OnlineMapsGooglePlacesResult | ( | OnlineMapsXML | node | ) |
Constructor.
| node | Place node from response |