Skip to main content

Info-Window

InfoWindow component

[See](source code) ,[See](Official documentation) ,[See](Official reference)

Props

Prop nameDescriptionTypeValuesDefault
contentNOTE: This prop overrides the content of the default slot, use only one of them, not both at the same time
Content to display in the InfoWindow. This can be an HTML element, a plain-text string, or a string containing HTML. The InfoWindow will be sized according to the content. To set an explicit size for the content, set content to be a HTML element with that size.
@value undefined
@see InfoWindow content
string|object-undefined
openedDetermines if the info-window is open or notboolean-true
positionContains the LatLng at which this info window is anchored.
Note: An InfoWindow may be attached either to a Marker object
(in which case its position is based on the marker's location)
or on the map itself at a specified LatLng.

The LatLng at which to display this InfoWindow. If the InfoWindow is opened with an anchor, the anchor's position will be used instead.
@value undefined
@type LatLng|LatLngLiteral
@see InfoWindow position
object-undefined
zIndexAll InfoWindows are displayed on the map in order of their zIndex, with higher values displaying in front of InfoWindows with lower values. By default, InfoWindows are displayed according to their latitude, with InfoWindows of lower latitudes appearing in front of InfoWindows at higher latitudes. InfoWindows are always displayed in front of markers.
@value 0
@see InfoWindow position
number-0
optionsExtra options that you want to pass to the componentobject-undefined

Slots

NameDescriptionBindings
defaultUsed to set your info window.