<div>Hi imran,</div><div><br></div>i don&#39;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&#39;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">&lt;<a href="mailto:rajjad@gmail.com">rajjad@gmail.com</a>&gt;</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 &lt;<a href="mailto:RDell@catawbacountync.gov">RDell@catawbacountync.gov</a>&gt; wrote:<br>
&gt; It will give you a polygon with 40 sides. While not technically a circle it works very well at looking like a circle.<br>
&gt;<br>
&gt; Ralph Dell, GISP<br>
&gt; GIS Dept.<br>
&gt; Catawba County, NC<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: Imran Rajjad [mailto:<a href="mailto:rajjad@gmail.com">rajjad@gmail.com</a>]<br>
&gt; Sent: Thursday, August 26, 2010 8:16 AM<br>
&gt; To: Ralph Dell<br>
&gt; Cc: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>
&gt; Subject: Re: [OpenLayers-Users] drawing a circle in openlayers<br>
&gt;<br>
&gt; hi,<br>
&gt;<br>
&gt; yea I checked this example but I`m not sure what is 40? is it a pixel<br>
&gt; value or some default unit.?<br>
&gt;<br>
&gt; regards,<br>
&gt; Imran<br>
&gt;<br>
&gt; On Thu, Aug 26, 2010 at 5:01 PM, Ralph Dell &lt;<a href="mailto:RDell@catawbacountync.gov">RDell@catawbacountync.gov</a>&gt; wrote:<br>
&gt;&gt; Have you tried the polygon control?<br>
&gt;&gt;<br>
&gt;&gt; // set up the polygon control, for drawing a circle<br>
&gt;&gt;  polyOptions = {sides: 40};<br>
&gt;&gt;  polygonControl = new OpenLayers.Control.DrawFeature(circleLayer,<br>
&gt;&gt;                OpenLayers.Handler.RegularPolygon,<br>
&gt;&gt;                {handlerOptions: polyOptions});<br>
&gt;&gt;        map.addControl(polygonControl);<br>
&gt;&gt;<br>
&gt;&gt; ..<br>
&gt;&gt;<br>
&gt;&gt; polygonControl.handler.setOptions({radius: radiusx});<br>
&gt;&gt; polygonControl.handler.activate();<br>
&gt;&gt;<br>
&gt;&gt; Ralph Dell<br>
&gt;&gt;<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; 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>
&gt;&gt; On Behalf Of Imran Rajjad<br>
&gt;&gt; Sent: Thursday, August 26, 2010 7:32 AM<br>
&gt;&gt; To: &lt;<a href="mailto:users@openlayers.org">users@openlayers.org</a>&gt;<br>
&gt;&gt; Subject: [OpenLayers-Users] drawing a circle in openlayers<br>
&gt;&gt;<br>
&gt;&gt; Hi list,<br>
&gt;&gt;<br>
&gt;&gt; I`m trying to draw a circle geometry with a radius of 30m, currently<br>
&gt;&gt; I`m calculating lat/long of each vertex from the centre , i was hoping<br>
&gt;&gt; if this could be done through openlayers<br>
&gt;&gt;<br>
&gt;&gt; regards,<br>
&gt;&gt; Imran<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; I.R<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt;&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt;&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; I.R<br>
&gt;<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>