MaxZoom function

computes the maximum zoom level which will contain the given lat/lon range