Google Maps: Set Center, Set Center Point and Set more points
Try using this code for v3: gMap = new google.maps.Map(document.getElementById(‘map’)); gMap.setZoom(13); // This will trigger a zoom_changed on the map gMap.setCenter(new google.maps.LatLng(37.4419, -122.1419)); gMap.setMapTypeId(google.maps.MapTypeId.ROADMAP);