On Apr 1, 5:45 pm, "[email protected]" <[email protected]> wrote: > On Apr 1, 4:03 pm, matt wilson <[email protected]> wrote: > > > Is there a straight forward way to querying the bounds of a > > state? > > The geocoder will return a bounding box of the state if you pass it > in to it, you can use that to zoom to the state level.
Like this: http://geocodezip.com/v3_zoom2stateSelectList.html -- Larry > > > > > > > > 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 for every state and include those in my bounds, but I was > > looking for a less grueling method. > > > Thanks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
