com.google.maps.gwt.client
Class PolygonOptions

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

public class PolygonOptions
extends JavaScriptObject

THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected PolygonOptions()
          Protected constructor avoids default public constructor.
 
Method Summary
static PolygonOptions create()
           
 void setClickable(boolean clickable)
          Indicates whether this Polygon handles click events.
 void setEditable(boolean editable)
          If set to true, the user can edit this shape by dragging the control points shown at the vertices and on each segment.
 void setFillColor(java.lang.String fillColor)
          The fill color.
 void setFillOpacity(double fillOpacity)
          The fill opacity between 0.0 and 1.0
 void setGeodesic(boolean geodesic)
          When true, render each edge as a geodesic (a segment of a "great circle").
 void setMap(GoogleMap map)
          Map on which to display Polygon.
 void setPaths( paths)
          The ordered sequence of coordinates that designates a closed loop.
 void setPaths(MVCArray<MVCArray<LatLng>> paths)
          The ordered sequence of coordinates that designates a closed loop.
 void setStrokeColor(java.lang.String strokeColor)
          The stroke color.
 void setStrokeOpacity(double strokeOpacity)
          The stroke opacity between 0.0 and 1.0
 void setStrokeWeight(double strokeWeight)
          The stroke width in pixels.
 void setVisible(boolean visible)
          Whether this polygon is visible on the map.
 void setZindex(double zIndex)
          The zIndex compared to other polys.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolygonOptions

protected PolygonOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final PolygonOptions create()

setClickable

public final void setClickable(boolean clickable)
Indicates whether this Polygon handles click events. Defaults to true .


setEditable

public final void setEditable(boolean editable)
If set to true, the user can edit this shape by dragging the control points shown at the vertices and on each segment. Defaults to false .


setFillColor

public final void setFillColor(java.lang.String fillColor)
The fill color. All CSS3 colors are supported except for extended named colors.


setFillOpacity

public final void setFillOpacity(double fillOpacity)
The fill opacity between 0.0 and 1.0


setGeodesic

public final void setGeodesic(boolean geodesic)
When true, render each edge as a geodesic (a segment of a "great circle"). A geodesic is the shortest path between two points along the surface of the Earth. When false, render each edge as a straight line on screen. Defaults to false .


setMap

public final void setMap(GoogleMap map)
Map on which to display Polygon.


setPaths

public final void setPaths(MVCArray<MVCArray<LatLng>> paths)
The ordered sequence of coordinates that designates a closed loop. Unlike polylines, a polygon may consist of one or more paths. As a result, the paths property may specify one or more arrays of LatLng coordinates. Simple polygons may be defined using a single array of LatLng s. More complex polygons may specify an array of arrays. Any simple arrays are convered into MVCArray s. Inserting or removing LatLng s from the MVCArray will automatically update the polygon on the map.


setPaths

public final void setPaths( paths)
The ordered sequence of coordinates that designates a closed loop. Unlike polylines, a polygon may consist of one or more paths. As a result, the paths property may specify one or more arrays of LatLng coordinates. Simple polygons may be defined using a single array of LatLng s. More complex polygons may specify an array of arrays. Any simple arrays are convered into MVCArray s. Inserting or removing LatLng s from the MVCArray will automatically update the polygon on the map.


setStrokeColor

public final void setStrokeColor(java.lang.String strokeColor)
The stroke color. All CSS3 colors are supported except for extended named colors.


setStrokeOpacity

public final void setStrokeOpacity(double strokeOpacity)
The stroke opacity between 0.0 and 1.0


setStrokeWeight

public final void setStrokeWeight(double strokeWeight)
The stroke width in pixels.


setVisible

public final void setVisible(boolean visible)
Whether this polygon is visible on the map. Defaults to true .


setZindex

public final void setZindex(double zIndex)
The zIndex compared to other polys.