DistanceCalc calculates distance (sometimes accurate) between two places from coordinates (latitudes and longitudes).
Latest Version: 1
Released: Sep 12, 2019
Last Updated: Sep 12, 2019
It has just one function/block as you can see in above screenshot.
It accepts four coordinates in format like lat1,lng1,lat2, and lng2 and all of them should be integers(double).It returns distance in KiloMetres.
But you can convert distance(Km) in different units by using some math blocks.
An example can be this:
Aix or Extension download link
You can download aix from two links.
I want to make my extension open source so that beginners can learn from this.
Here is Java file:
DistanceCalc.java (2.0 KB)