pixelGroundResolution method

  1. @override
double pixelGroundResolution(
  1. int zoom
)
override

The groud resolution (in meters) of a pixel at zoom.

Should equal to tileGroundResolution(zoom) / tileSize.

This is a nominal resolution that may be accurate only in some positions like along the equator or a meridian depending on a projection. And it's possible that in some tile matrix sets the "ground resolution" concept is not natural at all, then values returned should be considered only as approximations.

Implementation

@override
double pixelGroundResolution(int zoom) =>
    earthCircumferenceWgs84 / mapWidth(zoom);