The function is the GMap2 method setCenter(center:GLatLng, zoom?:Number, type?:GMapType) as described in the Maps API reference: http://code.google.com/apis/maps/documentation/reference.html#GMap2
You initially set up the map with a call to yourmap.setCenter (centerLatLng, requiredZoom) all you have to do is call it again with the LatLng for your required address etc For example, in MIke Williams' basic tutorial: http://econym.org.uk/gmap/basic2.htm change the function myclick to: function myclick(i) { map.setCenter(gmarkers[i].getLatLng(), 8); } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
