Hi all,

What i would like to do is be able to draw a polygon on a map and then click
a button and have the geometric co-ordinates of that polygon displayed.

I have been using a vector layer in association with the DrawFeature
control.

 polygonEditor = new OpenLayers.Control.DrawFeature(vlayer,
OpenLayers.Handler.Polygon);
polygonEditor.activate();

This draws the shape nicely however i have been unable to work out how to
close this shape when done and then extract the information about it.

Brad


-- 
Bradley Mclain
Systems Administrator Trainee
De Bortoli Wines Pty limited
De Bortoli Rd, BILBUL NSW  2680
e:  [email protected]
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to