Class AbstractQPolyline
Object
|
+--GPolyline
|
+--AbstractQPolyline
-
Direct Known Subclasses:
-
QPolyline
- class
AbstractQPolyline
- extends GPolyline
|
Constructor Summary |
AbstractQPolyline(<Array> points, <String> colour, <Number> weight, <Number> opacity)
AbstractQPolyline is an abstract base class,
proxying between QMaps and GMaps polyline classes.
|
AbstractQPolyline
AbstractQPolyline(<Array> points, <String> colour, <Number> weight, <Number> opacity)
AbstractQPolyline is an abstract base class,
proxying between QMaps and GMaps polyline classes.
Stores parameters (points, colour, weight, opacity) on the
object and adds respective getter methods.
Parameters:
points - An array of AbstractQLatLng, the sequence of lat/lng defining the line
colour - the line colour, in '#rrggbb' format
weight - the line width, in pixels
opacity - the line opacity, 0 <= opacity <= 1
getColour
String getColour()
Returns:
the polyline colour in '#rrggbb' format
getOpacity
Number getOpacity()
Returns:
the polyline opacity, as a decimal between 0 and 1
getPoints
Array getPoints()
Returns:
the array of polyline points, as AbstractQLatLng objects
getWidth
Number getWidth()
Returns:
the polyline width in pixels
Documentation generated by
JSDoc on Fri Jul 27 18:32:22 2007