getOffsetFromOrigin method
Calculates the Offset from the pos
to this camera's pixelOrigin.
Implementation
Offset getOffsetFromOrigin(LatLng pos) =>
project(pos).subtract(pixelOrigin).toOffset();
Calculates the Offset from the pos
to this camera's pixelOrigin.
Offset getOffsetFromOrigin(LatLng pos) =>
project(pos).subtract(pixelOrigin).toOffset();