Options for customizing directions. If not set, directions and distance will be disabled.
This Field is read-only. The DOM Element backing the view.
A soft boundary or hint to use when searching for places.
Bounds to constrain search results. If not specified, results will be constrained to the map viewport.
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
.
The maximum number of places to show. When this parameter is 0, the Local Context Library does not load places. [0,24]
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.
The types of places to search for (up to 10). The type
Iterable<string|PlaceTypePreference>
is also accepted,
but is only supported in browsers which natively support JavaScript
Symbols.
Generated using TypeDoc
Available only in the v=beta channel: https://goo.gle/3oAthT3.
Options for constructing a google.maps.localContext.LocalContextMapView, or accessing an existing google.maps.localContext.LocalContextMapView.