Shows a Local Context experience with a google.maps.Map.
The DOM Element backing the view.
Is set to true
before google.maps.localContext.LocalContextMapView begins changing the bounds
of the inner google.maps.Map, and set to false
after google.maps.localContext.LocalContextMapView finishes
changing the bounds of the inner google.maps.Map. (Not set when
layout mode changes happen due to responsive resizing.)
See google.maps.localContext.LocalContextMapViewOptions.locationBias.
Changing this property on the LocalContextMapView
may
trigger a new search.
See google.maps.localContext.LocalContextMapViewOptions.locationRestriction.
Changing this property on the LocalContextMapView
may
trigger a new search.
An already instantiated google.maps.Map instance. If passed in,
the map will be moved into the LocalContextMapView's DOM, and will
not be re-styled. The element associated with the Map
may also have styles and classes applied to it by the
LocalContextMapView
.
See google.maps.localContext.LocalContextMapViewOptions.maxPlaceCount.
Changing this property on the LocalContextMapView
may
trigger a new search.
Configure the place marker icon based on the icon state. Invoked whenever the input to the callback changes. Pass a function to dynamically override the default setup when the LocalContextMapView draws the place marker. Errors and invalid configurations may be determined asynchronously, and will be ignored (defaults will be used, and errors will be logged to the console).
Overrides the setup of the place chooser view. Pass a function to dynamically override the default setup when the LocalContextMapView might change its layout due to resizing. Errors and invalid configurations may be determined asynchronously, and will be ignored (defaults will be used instead, and errors will be logged to the console). Errors detected at construction will cause errors to be thrown synchronously.
Overrides the setup of the place details view. Pass a function to dynamically override the default setup when the LocalContextMapView might change its layout due to resizing. Errors and invalid configurations may be determined asynchronously, and will be ignored (defaults will be used, and errors will be logged to the console). Errors detected at construction will cause errors to be thrown synchronously.
See google.maps.localContext.LocalContextMapViewOptions.placeTypePreferences.
Changing this property on the LocalContextMapView
may
trigger a new search.
Iterable<string|PlaceTypePreference>
is also accepted.
Adds the given listener function to the given event name.
Hides the place details.
Searches for places to show the user based on the current
maxPlaceCount
, placeTypePreferences
,
locationRestriction
, and locationBias
.
Generated using TypeDoc
Shows a Local Context experience with a google.maps.Map.