So I am building a HTML page, in which i need a Google Map and a simple form which consists of two fields latitude and longitude.
This is an elegant solution, moves the camera to the point.
var myLatlng = new google.maps.LatLng(lat, lng); map.panTo(myLatlng);
This jumps directly to the point.
var myLatlng = new google.maps.LatLng(lat, lng); map.setCenter(myLatlng);