Example usage for Java com.google.gwt.maps.client.overlay Polyline fields, constructors, methods, implement or subclass
The text is from its open source code.
Polyline(LatLng[] points, String color, int weight, double opacity, PolylineOptions options) Create a new polyline. | |
Polyline(LatLng[] points) Create a new polyline. | |
Polyline(JavaScriptObject jsoPeer) Create this polyline from an existing JavaScriptObject instance. | |
Polyline(LatLng[] points, String color, int weight) Create a new polyline. | |
Polyline(LatLng[] points, String color, int weight, double opacity) Create a new polyline. |
void | addPolylineCancelLineHandler(final PolylineCancelLineHandler handler) This event is fired when the polyline is being edited and the edit is canceled. |
void | addPolylineClickHandler(final PolylineClickHandler handler) This event is fired when the polyline is clicked. |
void | addPolylineEndLineHandler(final PolylineEndLineHandler handler) This event is fired when the polyline is being edited and the edit is completed. |
void | addPolylineLineUpdatedHandler(final PolylineLineUpdatedHandler handler) This event is fired when the polyline has a vertex inserted. |
void | addPolylineMouseOutHandler(final PolylineMouseOutHandler handler) This event is fired when the mouse moves out of a polyline. |
void | addPolylineMouseOverHandler(final PolylineMouseOverHandler handler) This event is fired when the mouse moves over a polyline. |
void | addPolylineRemoveHandler(final PolylineRemoveHandler handler) This event is fired when the polyline is removed from the map, using com.google.gwt.maps.client.MapWidget#removeOverlay or com.google.gwt.maps.client.MapWidget#clearOverlays . |
Polyline | fromEncoded(String color, int weight, double opacity, String encodedPoints, int zoomFactor, String encodedLevels, int numLevels) Create a polyline from an encoded string. |
Polyline | fromEncoded(EncodedPolyline polyline) Create a polyline from an encoded string. |
LatLngBounds | getBounds() Returns the bounds for this polyline. |
double | getLength() Returns the length (in meters) of the polyline along the surface of a spherical Earth. |
int | getVertexCount() Returns the number of vertices in the polyline. |
void | setDrawingEnabled() Allows a user to construct (or modify) a GPolyline object by clicking on additional points on the map. |
void | setStrokeStyle(PolyStyleOptions style) Changes the style of the polyline. |