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();
}