|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.PolygonOptions
public class PolygonOptions
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(
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 |
---|
protected PolygonOptions()
Method Detail |
---|
public static final PolygonOptions create()
public final void setClickable(boolean clickable)
Polygon
handles
click
events. Defaults to
true
.
public final void setEditable(boolean editable)
false
.
public final void setFillColor(java.lang.String fillColor)
public final void setFillOpacity(double fillOpacity)
public final void setGeodesic(boolean geodesic)
false
.
public final void setMap(GoogleMap map)
public final void setPaths(MVCArray<MVCArray<LatLng>> paths)
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.
public final void setPaths(paths)
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.
public final void setStrokeColor(java.lang.String strokeColor)
public final void setStrokeOpacity(double strokeOpacity)
public final void setStrokeWeight(double strokeWeight)
public final void setVisible(boolean visible)
true
.
public final void setZindex(double zIndex)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |