OpenLayers JavaScript Mapping Library |
OpenLayers. GeometryA 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. Summary
clone
Create a clone of this geometry. Does not set any non-standard properties of the cloned geometry. Returns{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()