Re: [Google Maps API v3] Get bounds of a US state

2011-04-01 Thread Michael Geary
There's a list of state bounding boxes you can copy out of the PolyGonzo source code: http://code.google.com/p/polygonzo/source/browse/trunk/code/polymap.js Search the code for PolyMap.states for the list, and search for zoomToBounds to see an example of using one of the bounding boxes.

[Google Maps API v3] Get bounds of a US state

2011-04-01 Thread matt wilson
Is there a straight forward way to querying the bounds of a state? When I plot markers and I come across situations where they're all in the same state, I don't want the zoom to come in tighter than the whole state. I understand the long hand way would be to find and store two opposing lat,lngs f