[OpenLayers-Dev] inheritance with Geometry

Cameron Shorter cameron.shorter at gmail.com
Tue May 8 03:11:16 EDT 2007


I'm digging around some of the Geometry code and have discovered that 
OpenLayers.Geometry.Polygon inherits from OpenLayers.Handler.Polygon 
instead of OpenLayers.Geometry (as I'd expect).

I was hoping that I could use a polygon.getBounds() function.

What was the reason for this inheritance setup?

-- 
Cameron Shorter
Systems Architect, http://lisasoft.com.au
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254




More information about the Dev mailing list