An overlay that looks like a bubble and is often connected to a marker.
Access by calling const {InfoWindow} = await google.maps.importLibrary("maps")
or const {InfoWindow} = await google.maps.importLibrary("streetView")
. See
https://developers.google.com/maps/documentation/javascript/libraries.
Adds the given listener function to the given event name. Returns an
identifier for this listener that can be used with
google.maps.event.removeListener
.
Binds a View to a Model.
Closes this InfoWindow by removing it from the DOM structure.
Sets focus on this InfoWindow
. You may wish to consider
using this method along with a visible
event to make sure
that InfoWindow
is visible before setting focus on it. An
InfoWindow
that is not visible cannot be focused.
Gets a value.
Notify all observers of a change on this property. This notifies both objects that are bound to the object's property as well as the object that it is bound to.
Opens this InfoWindow on the given map. Optionally, an InfoWindow can be
associated with an anchor. In the core API, the only anchor is the Marker
class. However, an anchor can be any MVCObject that exposes a LatLng
position
property and optionally a Point
anchorPoint
property for calculating the
pixelOffset
(see InfoWindowOptions). The
anchorPoint
is the offset from the anchor's position to
the tip of the InfoWindow. It is recommended to use the google.maps.InfoWindowOpenOptions interface as the single argument for
this method. To prevent changing browser focus on open, set google.maps.InfoWindowOpenOptions.shouldFocus to false
.
Either an InfoWindowOpenOptions object (recommended) or the map|panorama on which to render this InfoWindow.
The anchor to which this InfoWindow will be positioned. If the anchor is non-null, the InfoWindow will be positioned at the top-center of the anchor. The InfoWindow will be rendered on the same map or panorama as the anchor (when available).
Sets a value.
The content to be displayed by this InfoWindow.
The LatLng position at which to display this InfoWindow.
Sets a collection of key-value pairs.
The z-index for this InfoWindow. An InfoWindow with a greater z-index will be displayed in front of all other InfoWindows with a lower z-index.
Removes a binding. Unbinding will set the unbound property to the current value. The object will not be notified, as the value has not changed.
Removes all bindings.
Generated using TypeDoc
An overlay that looks like a bubble and is often connected to a marker.
Access by calling
const {InfoWindow} = await google.maps.importLibrary("maps")
orconst {InfoWindow} = await google.maps.importLibrary("streetView")
. See https://developers.google.com/maps/documentation/javascript/libraries.