com.google.maps.gwt.client
Class PolylineOptions

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

public class PolylineOptions
extends JavaScriptObject

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( path)
          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

PolylineOptions

protected PolylineOptions()
Protected constructor avoids default public constructor.

Method Detail

create

public static final PolylineOptions create()

setClickable

public final void setClickable(boolean clickable)
Indicates whether this Polyline 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 .


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 Polyline.


setPath

public final void setPath(MVCArray<LatLng> path)
The ordered sequence of coordinates of the Polyline. This path may be specified using either a simple array of 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.


setPath

public final void setPath( path)
The ordered sequence of coordinates of the Polyline. This path may be specified using either a simple array of 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.


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 polyline is visible on the map. Defaults to true .


setZindex

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