In my Google Maps app the user can search for a place (using Autocomplete) and the map will be re-centered upon it with map.setCenter(pos);
.
This does not change zoom level though, that must be done manually with map.setZoom(x)
.
In Google's map, zoom automatically readjusts to perfectly show the place's boundaries, how can I replicate that behavior?