I am just starting out with the Google Maps API. I have successfully managed to create a map centered on a given country
function create_map (geometry) { var
You are using wrong object property. geometry.position is undefined. You have to use geometry.location and you will get better map without map.fitBounds()
geometry.position
undefined
geometry.location
map.fitBounds()