Thanks for taking a look at it, Andrew. Apparently, I've forgotten my basic geometry maths!
Perhaps my ruler isn't very accurate, but when I open that link above, the circle is about 3 meters short. I adjusted the cof param to try something like 1200 and it was off by ~67 meters. Any advice on how to get a more accurate representation? Thanks again, Todd On Jun 5, 9:01 am, Andrew Leach <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
