pixelOrigin property

Point<int> 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

Point<int> get pixelOrigin =>
    _pixelOrigin ??= (project(center, zoom) - size / 2.0).round();