geospatial
geospatial copied to clipboard
Calculate zoom from pixel resolution or scale denominator
Currently commented out in TileMatrixSet
as use and test cases need to analyzed first:
/// The maximum scaledown zoom with the pixel size closest to [resolution].
int zoomForPixelResolution(double resolution);
/// The maximum scaledown zoom with the scale closest to 1 : [denominator].
int zoomForScaleDenominator(double denominator);