OpenLayers JavaScript Mapping Library |
OpenLayers. Geometry. RectangleA Rectangle is a simple geometry. It is specified by a a point (x and y) and dimensions (width and height), all of which are directly accessible as properties. InheritsSummary
OpenLayers. Geometry. RectangleParameters
|
Recalculate the bounds for the geometry.
calculateBounds: function()
{Float} The length of the geometry
getLength: function()
{Float} The area of the geometry
getArea: function()