Google Maps APIs require 3 parameters to start with: lat, long and zoom level. What I want is to determine the closest zoom level based on the min lat, min long, max lat, and max long, so that my map can be displayed at the right scale, no more and no less. What’s an easy way to do this?
Share
Use bounds to fit your map.