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 ol3-dev+unsubscr...@googlegroups.com.
To post to this group, send email to ol3-dev@googlegroups.com.
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/cde3e608-bd92-4e57-a81f-d2d17ccfb02a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to