You're trying to get bounds of a map that has not yet been created? That's like trying to lay an egg without a chicken. :-) Load the map, then use map.getBounds() and send the obtained value to the server in an AJAX call.
-- Marcelo - http://maps.forum.nu -- On Dec 8, 1:50 pm, "Jack T." <[email protected]> wrote: > Yes, but I was hoping for a different answer. I'm using SubGurim > GMap1 in an aspx web page. I have to query a database to populate > the markers present on a given page with pertinent information. I > search the database based on lat/lng bounds. What are those lat/lng > bounds? Good question! The only way that I can think of getting > them is to use zoom level and center. This will give me bounds, but > they are accessible only through Javascript. I need this information > during page load in the back end so that I can populate the markers on > a page. Making them accessible through Javascript does not really > help me. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
