[Google Maps API v3] Re: Problem when calling contains() within LatLngBounds

2011-05-16 Thread Draiken
Found a place to host the code. http://jsfiddle.net/EjKTh/ I really don't know what is wrong... Sorry about the typos, I'm in a real hurry to get this working. On May 16, 12:49 pm, Draiken wrote: > Okay, silly mistake about the contains, made sense to me it would > accept a

[Google Maps API v3] Re: Problem when calling contains() within LatLngBounds

2011-05-16 Thread Draiken
cally making a GeocoderRequest with: geocoder.geocode({ address : 'getúlio', bounds : map.getBounds() language: 'pt_BR' }); and then check the result with the intersects mapBounds.intersect(results[0].geometry.bounds); // returns false why is that? On

[Google Maps API v3] Problem when calling contains() within LatLngBounds

2011-05-16 Thread Draiken
Hi, I am trying to restrict the search from the geocoder to a certain LatLngBounds I am getting two strange behaviours: 1 - When positioning the center in Lat: -25.4278 Lng: -49.27305556 Zoom: 12 Then searching "getúlio" in geocoder address within the bounds of that map