|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.mapitz.gwt.googleMaps.client.GOverlay
com.mapitz.gwt.googleMaps.client.GPolyline
public class GPolyline
This is a map overlay that draws a polyline on the map, using the vector drawing facilities of the browser if they are available, or an image overlay from Google servers otherwise.
| Method Summary | |
|---|---|
static GPolyline |
create(GLatLng[] points)
Creates a polyline from an array of vertices. |
static GPolyline |
create(GLatLng[] points,
java.lang.String color)
Creates a polyline from an array of vertices. |
static GPolyline |
create(GLatLng[] points,
java.lang.String color,
int weight)
Creates a polyline from an array of vertices. |
static GPolyline |
create(GLatLng[] points,
java.lang.String color,
int weight,
double opacity)
Creates a polyline from an array of vertices. |
GLatLng |
getVertex(int index)
getVertex(index) GLatLng Returns the vertex with the given index in the polyline. |
int |
getVertexCount()
getVertexCount() Number Returns the number of vertices in the polyline. |
| Methods inherited from class com.mapitz.gwt.googleMaps.client.GOverlay |
|---|
Copy, GetZIndex, Initialize, Redraw, Remove |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static GPolyline create(GLatLng[] points,
java.lang.String color,
int weight,
double opacity)
public static GPolyline create(GLatLng[] points,
java.lang.String color,
int weight)
public static GPolyline create(GLatLng[] points,
java.lang.String color)
public static GPolyline create(GLatLng[] points)
public int getVertexCount()
public GLatLng getVertex(int index)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||