|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.PolylineOptions
public class PolylineOptions
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Constructor Summary | |
---|---|
protected |
PolylineOptions()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static PolylineOptions |
create()
|
void |
setClickable(boolean clickable)
Indicates whether this Polyline
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 |
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 Polyline. |
void |
setPath(
The ordered sequence of coordinates of the Polyline. |
void |
setPath(MVCArray<LatLng> path)
The ordered sequence of coordinates of the Polyline. |
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 polyline 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 PolylineOptions()
Method Detail |
---|
public static final PolylineOptions create()
public final void setClickable(boolean clickable)
Polyline
handles
click
events. Defaults to
true
.
public final void setEditable(boolean editable)
false
.
public final void setGeodesic(boolean geodesic)
false
.
public final void setMap(GoogleMap map)
public final void setPath(MVCArray<LatLng> path)
LatLng
s, or an
MVCArray
of
LatLng
s. Note that if you pass a simple array, it will be converted to an
MVCArray
Inserting or removing LatLngs in the
MVCArray
will automatically update the polyline on the map.
public final void setPath(path)
LatLng
s, or an
MVCArray
of
LatLng
s. Note that if you pass a simple array, it will be converted to an
MVCArray
Inserting or removing LatLngs in the
MVCArray
will automatically update the polyline 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 |