public class InfoWindowOptions extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
InfoWindowOptions()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Element |
getContent_Element()
get Content to display in the InfoWindow.
|
String |
getContent_String()
get Content to display in the InfoWindow.
|
boolean |
getDisableAutoPan()
gets Disable auto-pan on open.
|
int |
getMaxWidth()
gets Maximum width of the infowindow, regardless of content's width.
|
Size |
getPixelOffset()
gets 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.
|
LatLng |
getPosition()
gets The LatLng at which to display this InfoWindow.
|
int |
getZindex()
gets All InfoWindows are displayed on the map in order of their zIndex, with higher values displaying in front of InfoWindows with lower values.
|
static InfoWindowOptions |
newInstance()
InfoWindow Options
|
void |
setContent(Element content)
set Content to display in the InfoWindow.
|
void |
setContent(String content)
set Content to display in the InfoWindow.
|
void |
setContent(Widget widget)
set widget to display in infoWindow
|
void |
setDisableAutoPan(boolean disableAutoPan)
sets Disable auto-pan on open.
|
void |
setMaxWidth(int width)
sets Maximum width of the infowindow, regardless of content's width.
|
void |
setPixelOffet(Size size)
sets 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.
|
void |
setPosition(LatLng position)
sets The LatLng at which to display this InfoWindow.
|
void |
setZindex(int zIndex)
sets All InfoWindows are displayed on the map in order of their zIndex, with higher values displaying in front of InfoWindows with lower values.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final InfoWindowOptions newInstance()
public final void setContent(Widget widget)
widget
- public final void clear()
public final void setContent(String content)
content
- public final String getContent_String()
public final void setContent(Element content)
content
- public final Element getContent_Element()
public final void setDisableAutoPan(boolean disableAutoPan)
disableAutoPan
- public final boolean getDisableAutoPan()
public final void setMaxWidth(int width)
width
- public final int getMaxWidth()
public final void setPixelOffet(Size size)
size
- public final Size getPixelOffset()
public final void setPosition(LatLng position)
position
- public final LatLng getPosition()
public final void setZindex(int zIndex)
zIndex
- public final int getZindex()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.