Info-Window
InfoWindow component
[See](source code) ,[See](Official documentation) ,[See](Official reference)
Props
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
content | NOTE: 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 |
opened | Determines if the info-window is open or not | boolean | - | true |
position | Contains 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 |
zIndex | All 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 |
options | Extra options that you want to pass to the component | object | - | undefined |
Slots
Name | Description | Bindings |
---|---|---|
default | Used to set your info window. |