[OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #1121:
implement calculateBounds for Polygon.js
Christopher Schmidt
crschmidt at metacarta.com
Thu Nov 1 12:05:38 EDT 2007
On Thu, Nov 01, 2007 at 03:01:54PM -0000, OpenLayers wrote:
> #1121: implement calculateBounds for Polygon.js
>
> calculateBounds is already implemented for Polygons (by its parent class,
> Geometry.Component). calculateBounds does not return anything -- instead,
> you should just call getBounds, which calls calculateBounds (if neccesary)
> and returns the bounds of the geometry.
>
> So, I think the answer is "you should be using getBounds()."
Bart --
Not sure if you'd see this from Trac, but wanted to make sure it caught
your eye...
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Dev
mailing list