com.google.maps.gwt.client
Class InfoWindowOptions

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.InfoWindowOptions

public class InfoWindowOptions
extends JavaScriptObject

THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected InfoWindowOptions()
          Protected constructor avoids default public constructor.
 
Method Summary
static InfoWindowOptions create()
           
 void setContent(Node content)
          Content to display in the InfoWindow.
 void setContent(java.lang.String content)
          Content to display in the InfoWindow.
 void setDisableAutoPan(boolean disableAutoPan)
          Disable auto-pan on open.
 void setMaxWidth(double maxWidth)
          Maximum width of the infowindow, regardless of content's width.
 void setPixelOffset(Size pixelOffset)
          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)
          The LatLng at which to display this InfoWindow.
 void setZindex(double zIndex)
          All InfoWindows are displayed on the map in order of their zIndex, with higher values displaying in front of InfoWindows with lower values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoWindowOptions

protected InfoWindowOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final InfoWindowOptions create()

setContent

public final void setContent(java.lang.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. To set an explicit size for the content, set content to be a HTML element with that size.


setContent

public final void setContent(Node 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. To set an explicit size for the content, set content to be a HTML element with that size.


setDisableAutoPan

public final void setDisableAutoPan(boolean disableAutoPan)
Disable auto-pan on open. By default, the info window will pan the map so that it is fully visible when it opens.


setMaxWidth

public final void setMaxWidth(double maxWidth)
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.


setPixelOffset

public final void setPixelOffset(Size pixelOffset)
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 top-center of the anchor's bounds.


setPosition

public final void setPosition(LatLng position)
The LatLng at which to display this InfoWindow. If the InfoWindow is opened with an anchor, the anchor's position will be used instead.


setZindex

public final void setZindex(double 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, InfoWinodws 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.