Have a look at the getBoundsZoomLevel() method. You'll surely find examples.
In v3 you'd use fitBounds() On Jan 12, 4:21 pm, Bill Whitacre <[email protected]> wrote: > A few years back I made a map with the help of the book "Beginning Google > Maps Applications with PHP and AJAX", Mike Williams and some luck. > > <http://voa.his.com/rmsqth/world/> > > The map has a header with areas of the world and a sidebar showing systems in > that area of the world. > > What I'd like to do is change the map's center and zoom based on what area > one chooses. > > The Javascript that makes the map is here: > > <http://voa.his.com/rmsqth/world/map_functions.js> > > Any hints on where I might start with this would be much appreciated! > > Thanks. > > Bill Whitacre > [email protected] -- 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.
