I think that I solved this issue

http://www.pjtecnologia.com.br/maps/exemplos/check-lat-lng-is-inside-a-circle.html

If you zoom in the border of the circle and click, maybe you get the
"INSIDE" message, I think that is a bug on circle radius size



Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Thu, Feb 17, 2011 at 8:26 AM, Martin Matysiak
<kaktus...@googlemail.com>wrote:

> Your circle object has the getRadius() method. Because of that I think the
> simplest way to check if a location is in- or outside the circle would be
> calculating the distance between location and the center of your circle
> (see geometry 
> library<http://code.google.com/intl/en/apis/maps/documentation/javascript/geometry.html>)
> and compare the calculated distance to your circle radius.
>
> Best regards,
> Martin Matysiak
>  homepage <https://martin-matysiak.de/> | 
> blog<http://blog.martin-matysiak.de/>
>
> --
> 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.
>

-- 
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