[OpenLayers-Dev] Get the center and radius of a circle

claudia office at gisgeo.pt
Tue Nov 30 21:10:17 EST 2010


Hi, 
I'm using OpenLayers to draw a circle over a map, for which I have found a
lot of examples / reusable code.

new OpenLayers.Control.DrawFeature(polygonLayer,
OpenLayers.Handler.RegularPolygon, {handlerOptions: {sides:40}}),

What I can't find is an example of how to get the center and radius of the
drawn circle to then register in the database.

Can anyone help, please?
Thanks, Cláudia
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Get-the-center-and-radius-of-a-circle-tp5790419p5790419.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list