[OpenLayers-Users] Circles for ol.interaction.Draw?

Fayçal fmblu94 at gmail.com
Wed Mar 26 12:36:38 PDT 2014


Hello everyone.

I'm using /ol.interaction.Draw/from OL3 to add drawing capability to the 
map, andfrom the demo 
<http://ol3js.org/en/master/examples/draw-features.html>I see that only 
LineString, Point and Polygon are the possible geometry types that can 
be used. Is it possible to draw circles somehow like it used to be 
possible for the v2 (demo 
<http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/regular-polygons.html>) 
?

And also, are there events for when the user is done drawing so that I 
can take the coordinates?

I really need this as it's an essential part of my web app! Thanks in 
advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20140326/49247f2f/attachment.html>


More information about the Users mailing list