Hi.

In OpenLayers 2, there was a "getVertices" method in every geometry class, 
that would return an array of points (array of  OpenLayers.Geometry.Point).

It seems that OpenLayers 3 doesn't have that method.

Is there a simple way to get the vertices as an array of ol.geom.Point, 
even when we don't know what geometry it is? I mean, I wanted a method that 
would return the vertices independently of whether it is a point, line, 
polygon, multipolygon, etc.

Wouldn't it be nice to add the "getVertices" method in OL3, too? I would 
gladly try to do it.

Thanks. :)

João Rodrigues

-- 
You received this message because you are subscribed to the Google Groups "OL3 
Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ol3-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ol3-dev/f8992fd3-8986-4740-b21b-a90fcd555cf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to