On Jun 5, 2:35 am, Todd W <[email protected]> wrote:
> Ok, I think I figured out the meters thing, but what I'm noticing now
> is that the circle diameter is not accurate.
>
> My cof parameter in the URL is in meters and when the circle is drawn,
> it appears to be larger than the parameter.  Any ideas what the
> problem might be?
>
> http://grape.host56.com/map_it_3.htm?lat=+040.2735&lon=-076.884&cof=120

That circle looks to be about 120m radius to me, which is what your
code uses -- all the variables refer to radius, not diameter. It's not
circular, but that may well be an artifact caused by the projection
(circles are egg-shaped in Mercator).

I reckon it's working. If you really want the cof parameter to be the
diameter, alter line 41 to make the radius half the intended diameter:
 var radius = cof_param / 2000;

Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to