How to center a map


I set a mark on a map
My actual code is:

    point = new google.maps.LatLng(latitud, longitud)
    marker = GoogleMap1.setMarker({icon: elicon,position: point,center: point})

and I would like to know what function centers the map at that point.


Using this as a guide, one of these should work:

 map.setCenter(new google.maps.LatLng(latitud, longitud)); // or
 map.setCenter({ lat: latitud, lng: longitud }); 

Kind regards,