google.maps.places.PlaceResult
interface
Defines information about a Place.
places
| Properties | |
|---|---|
address_components |
Type:
Array<GeocoderAddressComponent> optionalThe collection of address components for this Place’s location. Only available with PlacesService.getDetails. |
adr_address |
Type:
string optionalThe representation of the Place’s address in the adr microformat. Only available with PlacesService.getDetails. |
aspects |
Type:
Array<PlaceAspectRating> optionalThe rated aspects of this Place, based on Google and Zagat user reviews. The ratings are on a scale of 0 to 30. |
formatted_address |
Type:
string optionalThe Place’s full address. |
formatted_phone_number |
Type:
string optionalThe Place’s phone number, formatted according to the number's regional convention. Only available with PlacesService.getDetails. |
geometry |
Type:
PlaceGeometry optionalThe Place’s geometry-related information. |
html_attributions |
Type:
Array<string> optionalAttribution text to be displayed for this Place result. Available html_attributions are always returned regardless of what fields have been requested, and must be displayed. |
icon |
Type:
string optionalURL to an image resource that can be used to represent this Place’s category. |
international_phone_number |
Type:
string optionalThe Place’s phone number in international format. International format includes the country code, and is prefixed with the plus (+) sign. Only available with PlacesService.getDetails. |
name |
Type:
string optionalThe Place’s name. Note: In the case of user entered Places, this is the raw text, as typed by the user. Please exercise caution when using this data, as malicious users may try to use it as a vector for code injection attacks (See http://en.wikipedia.org/wiki/Code_injection). |
opening_hours |
Type:
PlaceOpeningHours optionalDefines when the Place opens or closes. |
permanently_closed |
Type:
boolean optionalA flag indicating whether the Place is permanently closed. If the Place is not permanently closed, the flag is not present in search or details responses. |
photos |
Type:
Array<PlacePhoto> optionalPhotos of this Place. The collection will contain up to ten PlacePhoto objects. |
place_id |
Type:
string optionalA unique identifier for the Place. |
plus_code |
Type:
PlacePlusCode optionalDefines Open Location Codes or "plus codes" for the Place. |
price_level |
Type:
number optionalThe price level of the Place, on a scale of 0 to 4. Price levels are interpreted as follows:
|
rating |
Type:
number optionalA rating, between 1.0 to 5.0, based on user reviews of this Place. |
reviews |
Type:
Array<PlaceReview> optionalA list of reviews of this Place. Only available with PlacesService.getDetails. |
types |
Type:
Array<string> optionalAn array of types for this Place (for example, ["political", "locality"] or ["restaurant", "establishment"]). |
url |
Type:
string optionalURL of the official Google page for this place. This is the Google-owned page that contains the best available information about the Place. Only available with PlacesService.getDetails. |
user_ratings_total |
Type:
number optionalThe number of user ratings which contributed to this Place’s PlaceResult.rating. |
utc_offset |
Type:
number optionalThe offset from UTC of the Place’s current timezone, in minutes. For example, Sydney, Australia in daylight savings is 11 hours ahead of UTC, so the utc_offset will be 660. For timezones behind UTC, the offset is negative. For example, the utc_offset is -60 for Cape Verde. Only available with PlacesService.getDetails. |
utc_offset_minutes |
Type:
number optionalThe offset from UTC of the Place’s current timezone, in minutes. For example, Sydney, Australia in daylight savings is 11 hours ahead of UTC, so the utc_offset_minutes will be 660. For timezones behind UTC, the offset is negative. For example, the utc_offset_minutes is -60 for Cape Verde. Only available with PlacesService.getDetails. |
vicinity |
Type:
string optionalThe 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". Only available with PlacesService.getDetails. |
website |
Type:
string optionalThe authoritative website for this Place, such as a business' homepage. Only available with PlacesService.getDetails. |