getProjectedBounds method
Rescales the bounds to a given zoom value.
Implementation
@override
Bounds? getProjectedBounds(double zoom) {
if (infinite) return null;
var b = projection.bounds!;
var s = scale(zoom);
var transformation = _getTransformationByZoom(zoom);
var min = transformation.transform(b.min, s.toDouble());
var max = transformation.transform(b.max, s.toDouble());
return Bounds(min, max);
}