I\'m trying to port my googlemaps v2 functions to v3.
But somehow i stuck in a strange error and i could not find, what i\'m doing wrong.
Erro
you can use this way
map = new google.maps.Map(document.getElementById('map'), { zoom: 16, center: { lat: parseFloat(lat), lng: parseFloat(lng) }, mapTypeId: 'terrain', disableDefaultUI: true });
EX : center: { lat: parseFloat(lat), lng: parseFloat(lng) },