interpolate
@NonNull
Content copied to clipboard
Returns the LatLng which lies the given fraction of the way between the origin LatLng and the destination LatLng.
Return
The interpolated LatLng.
Parameters
from
The LatLng from which to start.
to
The LatLng toward which to travel.
fraction
A fraction of the distance to travel.