chellymehdi / vopenlayers

Automatically exported from code.google.com/p/vopenlayers
0 stars 0 forks source link

Circle Feature Vopenlares #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
how i can create a circle feature with Vopenlayers?

Original issue reported on code.google.com by ser...@puas.cl on 28 Nov 2012 at 12:12

GoogleCodeExporter commented 9 years ago
Hi,

AFAIK there is not exactly a circle typed feature in openlayers, but once can 
do following:

 * Use PointVector in VectorLayer, then use styling to set radius.  To use real distances check eg. this: http://code.google.com/p/vopenlayers/source/browse/trunk/src/test/java/org/vaadin/vol/demo/RelativeSizedVectorStyling.java
 * Simulate circle with polygon and lots of points. SVN version has a DrawingMode.CIRCLE that uses this method to draw "circles".

cheers,
matti

Original comment by ma...@vaadin.com on 28 Nov 2012 at 10:58

GoogleCodeExporter commented 9 years ago
I need modify this circle, is posible?

Original comment by ser...@puas.cl on 29 Nov 2012 at 3:54