On Sep 17, 4:28 pm, gerryscat <[email protected]> wrote: > Why does the documentation for GBounds say there is a method > containsPoint() but when you call it Firebug reports the function does > not exist? map.getBounds() is supposed to return a GBounds object, but > appears to return a GLatLngBounds object, because the method > containsLatLng() is available.
Are you using Version 1 documentation? And GMap or GMap2? With a map defined as a GMap2 object, map.getBounds() does return a GLatLngBounds object. http://code.google.com/apis/maps/documentation/reference.html#GMap2.getBounds Version 1 syntax has been deprecated for well over three years, and it's possible that GMap.getBounds() no longer behaves as originally documented. But as you haven't given much information about your use of the API, it's not possible to say. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
