distanceTo

open fun distanceTo(@NonNull from: LatLng, @NonNull to: LatLng): Double

Computes the distance between the given coordinates, in meters

Return

The distance, in meters

Parameters

from
to