<div>Hi imran,</div><div><br></div>i don't really get your problem. From your first email, you state that you want to figure out the coordinates of the vertices in lat,long format. Is this what you want?<div><br></div>
<div>me a noob here, but i'm trying to understand the prob.</div><div><br></div><div>remi<br><br><div class="gmail_quote">On Thu, Aug 26, 2010 at 8:29 PM, Imran Rajjad <span dir="ltr"><<a href="mailto:rajjad@gmail.com">rajjad@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hmmm .. but my calculated radius problem is still there.. though i<br>
managed to calculate the vertices using geodetic distance<br>
<div><div></div><div class="h5"><br>
<br>
<br>
On Thu, Aug 26, 2010 at 5:20 PM, Ralph Dell <<a href="mailto:RDell@catawbacountync.gov">RDell@catawbacountync.gov</a>> wrote:<br>
> It will give you a polygon with 40 sides. While not technically a circle it works very well at looking like a circle.<br>
><br>
> Ralph Dell, GISP<br>
> GIS Dept.<br>
> Catawba County, NC<br>
><br>
><br>
> -----Original Message-----<br>
> From: Imran Rajjad [mailto:<a href="mailto:rajjad@gmail.com">rajjad@gmail.com</a>]<br>
> Sent: Thursday, August 26, 2010 8:16 AM<br>
> To: Ralph Dell<br>
> Cc: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>
> Subject: Re: [OpenLayers-Users] drawing a circle in openlayers<br>
><br>
> hi,<br>
><br>
> yea I checked this example but I`m not sure what is 40? is it a pixel<br>
> value or some default unit.?<br>
><br>
> regards,<br>
> Imran<br>
><br>
> On Thu, Aug 26, 2010 at 5:01 PM, Ralph Dell <<a href="mailto:RDell@catawbacountync.gov">RDell@catawbacountync.gov</a>> wrote:<br>
>> Have you tried the polygon control?<br>
>><br>
>> // set up the polygon control, for drawing a circle<br>
>> polyOptions = {sides: 40};<br>
>> polygonControl = new OpenLayers.Control.DrawFeature(circleLayer,<br>
>> OpenLayers.Handler.RegularPolygon,<br>
>> {handlerOptions: polyOptions});<br>
>> map.addControl(polygonControl);<br>
>><br>
>> ..<br>
>><br>
>> polygonControl.handler.setOptions({radius: radiusx});<br>
>> polygonControl.handler.activate();<br>
>><br>
>> Ralph Dell<br>
>><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a> [mailto:<a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a>]<br>
>> On Behalf Of Imran Rajjad<br>
>> Sent: Thursday, August 26, 2010 7:32 AM<br>
>> To: <<a href="mailto:users@openlayers.org">users@openlayers.org</a>><br>
>> Subject: [OpenLayers-Users] drawing a circle in openlayers<br>
>><br>
>> Hi list,<br>
>><br>
>> I`m trying to draw a circle geometry with a radius of 30m, currently<br>
>> I`m calculating lat/long of each vertex from the centre , i was hoping<br>
>> if this could be done through openlayers<br>
>><br>
>> regards,<br>
>> Imran<br>
>><br>
>> --<br>
>> I.R<br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
>> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
>> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> I.R<br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">I.R<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>