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