A Curve is a MultiPoint, whose points are assumed to be connected. To this end, we provide a “getLength()” function, which iterates through the points, summing the distances between them.
| OpenLayers. Geometry. Curve | A Curve is a MultiPoint, whose points are assumed to be connected. |
| Constructor | |
| OpenLayers. Geometry. Curve | |
| Functions | |
| getLength | {Float} The length of the curve |
| point | {Array(OpenLayers.Geometry.Point)} |
{Float} The length of the curve
getLength: function()