On Jun 4, 5:36 am, padu <[email protected]> wrote: > Hi All, > > After fetching the getBounds(), > > Top-left lon = left bound of your rectangle. > bottom-right lon = right bound of your rectangle
getBounds() http://code.google.com/apis/maps/documentation/reference.html#GLatLngBounds Last I checked has a getNorthEast() and a getSouthWest() method. > Database search something like > SELECT cities FROM mytable WHERE (lat > left bound) AND (lat < > right bound) ... > > For this in some of the zoom levels not getting data, > Can you help me on bounded rectangle to fetch the data based on the > Top-Right corner and bottom-Left Corner .. Perhaps you can post a link to your map so we can see what you are actually doing... http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical On this map: http://www.geocodezip.com/v2_volcanoBrowser.asp the "load all in view" button sends the map bounds to the database and returns results (if there are any...). -- Larry > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
