On 11 syys, 19:19, csdude <[EMAIL PROTECTED]> wrote:
> // draw circle with epicenter mapcenter, 50km radius, 360
> segments
> map.drawCircle(map.getCenter(), 50, 1);
> }
The third parameter is the number of segments. You want 360 but you
put in 1.
Leave it away and you get a circle with default 36 segments which is
usually perfect enough.
By the way there is a seismic map using that circle function (radius
in kilometers).
http://esa.ilmari.googlepages.com/earthquakes.htm
You can see the distortion in circle shape caused by Mercator
projection. It is noticeable with radius of hundreads of kilometers
and far from equator.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---