On Mar 2, 4:50 pm, Paulo Fernandes <paulofernande...@gmail.com> wrote: > I think that I solved this issue > > http://www.pjtecnologia.com.br/maps/exemplos/check-lat-lng-is-inside-... > > 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
How about irregular polygons: http://www.geocodezip.com/geoxml3_test/v3_collection-map2e.html (does point in polygon analysis with the point from the geocoded address) -- Larry > > Paulo > Fernandeshttp://www.google.com/profiles/paulofernandesjrhttp://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/geo...>) > > 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.- Hide quoted > >text - > > - Show quoted text - -- 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.