fixes #25 If the a minscale of a layer is greater then the max scale of the map, return the max scale of the map.