At some point, a feature of the geocoder will give a "suggested"
bounding box for a resulting geocode, so you could geocode each city
and use the resulting bounding box to figure a zoom using. When this
feature will become live is unknown.

An alternative that might avoid some potential conflicts with the
Google geocoder terms is to download the city shape file from the
census (US only) and compute a bounding box from the data. This
wouldn't be complex but if you've not worked with shapefiles before,
potentially daunting. Also, there's no guarantee that every city you
may want to display is in the database, nor any guarantee the data is
correct. There are no terms attached though, so you can use the data
any way you desire.

There may be others with better suggestions.

-John Coryat

http://maps.huge.info

http://www.usnaviguide.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to