[OpenLayers-Users] How do I get my polygon coordinates?

Imran Rajjad rajjad at gmail.com
Tue Feb 7 06:21:38 EST 2012


var g=veclayer.features[0].geometry; //get geometry of a featyre in your
vector layer
var vertices = g.getVertices(); //get vertices as array of POINT geometry
in an array

regards,
Imran

On Tue, Feb 7, 2012 at 3:56 PM, Blake <blakeloizides at gmail.com> wrote:

>
>
> Did anyone find a solution for this?
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
I.R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120207/7e6015b6/attachment.html


More information about the Users mailing list