| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public InfoWindowOptions | |
| public InfoWindowOptions | Returns: this instance of the InfoWindowOptionstrue if it should be disabled disabled)Disable auto-pan on open. |
| public InfoWindowOptions | Returns: this instance of the InfoWindowOptionsThe max width width)Maximum width of the infowindow, regardless of content's width. |
| public InfoWindowOptions | Returns: this instance of the InfoWindowOptionsThe offset in pixels. size)The offset, in pixels, of the tip of the info window from the point on the map at whose geographical coordinates the info window is anchored. |
| public InfoWindowOptions | |
| public InfoWindowOptions | Returns: this instance of the InfoWindowOptionsThe index to set this window to index)All InfoWindows are displayed on the map in order of their zIndex, with higher values displaying in front of InfoWindows with lower values. |
| InfoWindowOptions | back to summary |
|---|---|
| public InfoWindowOptions() Default constructor | |
| content | back to summary |
|---|---|
| public InfoWindowOptions content(String content) 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.
| |
| disableAutoPan | back to summary |
|---|---|
| public InfoWindowOptions disableAutoPan(boolean disabled) Disable auto-pan on open. By default, the info window will pan the map so that it is fully visible when it opens.
| |
| maxWidth | back to summary |
|---|---|
| public InfoWindowOptions maxWidth(int width) Maximum width of the infowindow, regardless of content's width. This value is only considered if it is set before a call to open. To change the maximum width when changing content, call close, setOptions, and then open.
| |
| pixelOffset | back to summary |
|---|---|
| public InfoWindowOptions pixelOffset(Size size) The offset, in pixels, of the tip of the info window from the point on the map at whose geographical coordinates the info window is anchored. If an InfoWindow is opened with an anchor, the pixelOffset will be calculated from the anchor's anchorPoint property.
| |
| position | back to summary |
|---|---|
| public InfoWindowOptions position(LatLong latlong) The LatLng at which to display this InfoWindow. If the InfoWindow is opened with an anchor, the anchor's position will be used instead.
| |
| zIndex | back to summary |
|---|---|
| public InfoWindowOptions zIndex(int index) 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.
| |