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