MercatorProjection.fromZoomlevel constructor

MercatorProjection.fromZoomlevel(
  1. int zoomLevel
)

Implementation

MercatorProjection.fromZoomlevel(int zoomLevel) : _scalefactor = Scalefactor.fromZoomlevel(zoomLevel) {
  //_mapSize = _mapSizeWithScaleFactor(_scaleFactor.scalefactor);
  _maxTileCount = _scalefactor.scalefactor.floor();
}