# Info Window-Related Methods

> Source: https://manual.pvxplus.com/extended-nomads-objects/google-maps-interface/info-window-related-methods

An info window is a text bubble that can be displayed at a given location or connected to a marker.

Below is a list of the info window-related methods supported by the PxPlus Google Maps Extended Control.

| **Method** | **Description** |
| --- | --- |
| closeInfoWindow(*iw_id*) | Closes the info window with the specified identifier. |
| getInfoWindowContent$(*iw_id*) | Returns the text content of the info window with the specified identifier. |
| getInfoWindowLatitude(*iw_id*) | Returns the latitude in degrees of the info window with the specified identifier. |
| getInfoWindowLongitude(*iw_id*) | Returns the longitude in degrees of the info window with the specified identifier. |
| getInfoWindowPosition$(*iw_id*) | Returns a comma-separated string specifying the latitude and longitude (in degrees) of the info window with the specified identifier. |
| setInfoWindowContent(*iw_id, content$***)** | Sets the content to be displayed in the specified info window. This can be a plain-text string or a string containing HTML. |
| setInfoWindowPosition(*iw_id, lat, lng*) | Moves the info window with the specified identifier to the indicated latitude and longitude. |
| showInfoWindow(*lat, lng, content$* **\[***,zIndex, disableAutoPan*\])<br>showInfoWindow(*markerid, contents$* **\[***,zIndex, disableAutoPan*\]) | Displays an info window with the given content at the specified latitude and longitude, or at the marker with the specified identifier. Returns a numeric identifier to be used when referencing the info window in info window-related methods.<br>Optional arguments include:<br>\|  \|  \|<br>\| --- \| --- \|<br>\| *zIndex* \| Info windows are displayed in order of their zIndex, with higher values displaying in front of info windows with lower values. By default, info windows with lower latitudes take precedence. \|<br>\| *disableAutoPan* \| Disables the default auto-pan behaviour that makes the info window fully visible when it is initially displayed. \| |
