distanceTo method

double distanceTo(
  1. LatLng other
)

Returns the distance (in meters) to the given LatLng calculated using the Spherical Law of Cosines.

Implementation

external double distanceTo(LatLng other);