calculate proper zoom level for map