getPixelBounds method
Implementation
Bounds getPixelBounds(double zoom) {
var mapZoom = zoom;
var scale = getZoomScale(mapZoom, zoom);
var pixelCenter = project(center, zoom).floor();
var halfSize = size! / (scale * 2);
return Bounds(pixelCenter - halfSize, pixelCenter + halfSize);
}