geometry.getBounds().getCenterLonlat() ?

Salvaro.


Bijoy wrote:
> 
> 
> Hey,
> I am drawing a polygon using the handler as shown below:
> 
>       polycontrol = new OpenLayers.Control.DrawFeature(vectors,
> OpenLayers.Handler.Polygon);
>       map.addControl(polycontrol);
>       polycontrol.activate();
> 
> Now, how do I get polygon coordinates when I finish drawing the polygon?
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-do-I-get-my-polygon-coordinates--tp19413142p19413142.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/How-do-I-get-my-polygon-coordinates--tp1079900p1079911.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to