PixelProjection constructor

PixelProjection(
  1. int zoomLevel,
  2. int tileSize
)

Implementation

PixelProjection(int zoomLevel, this.tileSize)
    : assert(tileSize > 0),
      super.fromZoomlevel(zoomLevel) {
  _mapSize = _mapSizeWithScaleFactor();
}