Hi John,

google.maps.Circle correctly handles radius. Large circles do appear "egg"
shaped on the map as you describe.

Cheers
Ben

On Tue, Jul 5, 2011 at 12:49 PM, John Coryat <cor...@gmail.com> wrote:

> Be aware that a circle will not define a radius properly. Since the map
> stretches the latitude in relation to the longitude, a circle will be (as a
> unit measurement) have different dimensions in the north-south direction as
> opposed to the east-west direction. If you want to represent a radius on the
> map, you'll need to use a polygon with correctly defined coordinates. Not
> difficult but harder than a plain circle.
>
> The circle function (google.maps.Circle) doesn't handle this issue
> correctly. Circles should appear "egg" shaped on the map, especially at
> higher latitudes. Instead, they appear perfectly circular, so they are not
> truly defined by meters as the documentation states.
>
> This may not matter in your application but I suggest keeping it in mind in
> case you find your results are confusing.
>
> -John Coryat
>
> http://maps.huge.info
>
> http://www.zipmaps.net
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/i4dKtBnKzaQJ.
>
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to