[OpenLayers-Users] drawing an ellipse

Michael mdm at yachtpc.com
Wed Sep 28 23:09:19 EDT 2011


I'm thinking you'll have to do what I did, which is copy the code that 
would ordinarily draw a circle and add the parameters you reference.

Then modify the algorithm to distort the circle along the lines you 
reference.

Of course, someone may know of how this has already been done, but this 
is pretty much what I had to do to make geographically correct circles 
(which end up looking sort of like ellipses)

Michael

On 9/28/2011 8:05 PM, 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


More information about the Users mailing list