withNonRotatedSize method
Returns a new instance of MapCamera with the given nonRotatedSize
.
Implementation
MapCamera withNonRotatedSize(Point<double> nonRotatedSize) {
if (nonRotatedSize == this.nonRotatedSize) return this;
return MapCamera(
crs: crs,
center: center,
zoom: zoom,
rotation: rotation,
nonRotatedSize: nonRotatedSize,
minZoom: minZoom,
maxZoom: maxZoom,
);
}