distance
open fun distance(@NonNull from: MPLatLng, @NonNull to: MPLatLng): Double
Content copied to clipboard
Given two points, returns the distance.
Return
The distance in the units set in the MPFastSphericalUtils CTOR
Parameters
open fun distance( fromLatitude: Double, fromLongitude: Double, toLatitude: Double, toLongitude: Double): Double
Content copied to clipboard
Given two points, returns the distance.
Return
The distance in the units set in the MPFastSphericalUtils CTOR
Parameters
fromLatitude
from latitude
fromLongitude
from longitude
toLatitude
to latitude
toLongitude
to longitude