Place

Place class

google.maps.places.Place class

This class implements PlaceOptions.

Access by calling const {Place} = await google.maps.importLibrary("places").
See Libraries in the Maps JavaScript API.

Place
Place(options)
Parameters: 
searchByText
searchByText(request)
Parameters: 
Return Value:  Promise<{places:Array<Place>}>
Text query based place search.
searchNearby
searchNearby(request)
Parameters: 
Return Value:  Promise<{places:Array<Place>}>
Search for nearby places.
accessibilityOptions
Type:  AccessibilityOptions optional
Accessibility options of this Place. undefined if the accessibility options data have not been called for from the server.
addressComponents
Type:  Array<AddressComponent> optional
The collection of address components for this Place’s location. Empty object if there is no known address data. undefined if the address data has not been called for from the server.
adrFormatAddress
Type:  string optional
The representation of the Place’s address in the adr microformat.
allowsDogs
Type:  boolean optional
attributions
Type:  Array<Attribution> optional
Data providers that must be shown for the Place.
businessStatus
Type:  BusinessStatus optional
The location's operational status. null if there is no known status. undefined if the status data has not been loaded from the server.
displayName
Type:  string optional
The location's display name. null if there is no name. undefined if the name data has not been loaded from the server.
displayNameLanguageCode
Type:  string optional
The language of the location's display name. null if there is no name. undefined if the name data has not been loaded from the server.
editorialSummary
Type:  string optional
The editorial summary for this place. null if there is no editorial summary. undefined if this field has not yet been requested.
editorialSummaryLanguageCode
Type:  string optional
The language of the editorial summary for this place. null if there is no editorial summary. undefined if this field has not yet been requested.
evChargeOptions
Type:  EVChargeOptions optional
EV Charge options provided by the place. undefined if the EV charge options have not been called for from the server.