Class FE.Polyline
Object
|
+--FE.Event.Dispatcher
|
+--FE.Overlay
|
+--FE.Polyline
- class
FE.Polyline
- extends FE.Overlay
Defined in freeearth.js
|
Constructor Summary |
FE.Polyline(<Array> points, <String> color, <Number> weight, <Number> alpha, name)
Defines a polyline.
|
|
Method Summary |
Array
|
getPoints()
Returns polyline points
|
<static> Object
|
fromGoogle(poly)
Converts a Google Maps polyline to a FreeEarth polyline.
|
FE.Polyline
FE.Polyline(<Array> points, <String> color, <Number> weight, <Number> alpha, name)
Defines a polyline. Can be used to draw lines on top of the map.
Great-circle lines will automatically be drawn if the distance between supplied points is too large.
Parameters:
points - FE.LatLng array of coordinates defining a line.
color - Hexadecimal or plain string color.
alpha - Line opacity, between 0.0 and 1.0. Defaults to 1.0.
getPoints
Array getPoints()
fromGoogle
<static> Object fromGoogle(poly)
Converts a Google Maps polyline to a FreeEarth polyline.
Documentation generated by
JSDoc on Thu Dec 6 19:55:43 2007