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