pixelOrigin property

Offset get pixelOrigin

The offset of the top-left corner of the bounding rectangle of this camera. This will not equal the offset of the top-left visible pixel when the map is rotated.

Implementation

Offset get pixelOrigin =>
    _pixelOrigin ??= projectAtZoom(center, zoom) - size.center(Offset.zero);