latitudeBitsForResolution method
Calculates the bits necessary to reach a given resolution, in meters, for the latitude.
@param resolution The bits necessary to reach a given resolution, in meters. @returns Bits necessary to reach a given resolution, in meters, for the latitude.
Implementation
double latitudeBitsForResolution(double resolution) {
return min(log2(_EARTH_MERI_CIRCUMFERENCE / 2 / resolution),
_MAXIMUM_BITS_PRECISION.toDouble());
}