hi I using PHP/MySQL with Google Maps from here https://developers.google.com/maps/articles/phpsqlajax_v3
and then I used PHP's DOM functions to Output XML from here https://developers.google.com/maps/articles/phpsqlajax_v3#outputxml
everything working fine with me but I need to center google map on the marker.
here is the code that center the map and make the zoom on the map
function load() {
var map = new google.maps.Map(document.getElementById("map"), {
center: new google.maps.LatLng(30.0599153,31.2620199,13),
zoom: 13,
mapTypeId: 'roadmap'
});
how to make this line center: new google.maps.LatLng(30.0599153,31.2620199,13),
to be dynamic centered by the marker
thanks