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.