compute Offset Origin
@Nullable
Content copied to clipboard
Returns the location of origin when provided with a LatLng destination, meters travelled and original heading. Headings are expressed in degrees clockwise from North. This function returns null when no solution is available.
Return
A new point or null
Parameters
to
The destination LatLng.
distance
The distance travelled, in meters.
heading
The heading in degrees clockwise from north.