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.
Constructor | |
---|---|
Place |
Place(options) Parameters:
|
Static Methods | |
---|---|
searchByText |
searchByText(request) Parameters:
Text query based place search. |
searchNearby |
searchNearby(request) Parameters:
Search for nearby places. |
Properties | |
---|---|
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. |
|