[OpenLayers-Users] drawing an ellipse

Mr. Puneet Kishor punk.kish at gmail.com
Wed Sep 28 23:35:29 EDT 2011


On Sep 28, 2011, at 10:29 PM, Andreas Hocevar wrote:

> You may want to look at the http://openlayers.org/dev/examples/regular-polygons.html example and the RegularPolygon handler.
> 


I am actually looking at Renderer.SVG [http://dev.openlayers.org/docs/files/OpenLayers/Renderer/SVG-js.html] and Renderer.SVG2 [http://dev.openlayers.org/docs/files/OpenLayers/Renderer/SVG2-js.html] and wondering if there is a chance with those. I am not familiar with the innards of OL, so am not sure how a renderer relates to a layer. I don't see any examples with SVG... did I overlook them?



> Note, however, that this is intended for interactive drawing of (ir)regular polygons (an ellipse is just an irregular polygon with many sides). But you could use the same technique for programmatic ellipse generation.
> 
> Andreas.
> 
> On Sep 28, 2011, at 21:05 , Mr. Puneet Kishor wrote:
> 
>> Given a lng/lat, the semi-major-minor axes, and major axis rotation, I'd like to draw an ellipse on my map. What are my options?
>> 
>> Many thanks in advance,
>> 
>> --
>> Puneet Kishor_______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 
> 
> 
> -- 
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
> 



More information about the Users mailing list