toggle menu
kvision
7.4.5
js
switch theme
search in API
kvision
/
io.kvision.maps.externals.leaflet.geo
/
LatLng
/
distanceTo
distance
To
js
open
fun
distanceTo
(
otherLatLng
:
LatLng
)
:
Number
Returns the distance (in meters) to the given
LatLng
calculated using the
Spherical Law of Cosines
.