A Geometry is a description of a geographic object. Create an instance of this class with the OpenLayers.Geometry constructor. This is a base class, typical geometry types are described by subclasses of this class.
OpenLayers. Geometry | A Geometry is a description of a geographic object. |
Constructor | |
OpenLayers. Geometry | Creates a geometry object. |
Functions | |
clone | Create a clone of this geometry. |
getBounds | Get the bounds for this Geometry. |
calculateBounds | Recalculate the bounds for the geometry. |
clone: function()
Create a clone of this geometry. Does not set any non-standard properties of the cloned geometry.
{OpenLayers.Geometry} An exact clone of this geometry.
Create a clone of this geometry.
clone: function()
Get the bounds for this Geometry.
getBounds: function()
Recalculate the bounds for the geometry.
calculateBounds: function()