public class InfoWindowOptions extends JavascriptObject
jsObject, objectCounter, peerRegistry, runtime, variableName
Constructor and Description |
---|
InfoWindowOptions()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
InfoWindowOptions |
content(String content)
Content to display in the InfoWindow.
|
InfoWindowOptions |
disableAutoPan(boolean disabled)
Disable auto-pan on open.
|
InfoWindowOptions |
maxWidth(int width)
Maximum width of the infowindow, regardless of content's width.
|
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.
|
InfoWindowOptions |
position(LatLong latlong)
The LatLng at which to display this InfoWindow.
|
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.
|
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setProperty
public InfoWindowOptions content(String content)
content
- public InfoWindowOptions disableAutoPan(boolean disabled)
disabled
- true if it should be disabledpublic InfoWindowOptions maxWidth(int width)
width
- The max widthpublic InfoWindowOptions pixelOffset(Size size)
size
- The offset in pixels.public InfoWindowOptions position(LatLong latlong)
latlong
- The position of the windowpublic InfoWindowOptions zIndex(int index)
index
- The index to set this window toCopyright © 2016. All Rights Reserved.