How to calculate distance between 2 point in Google map? Maybe there is the block too.
I mean using haversine formula, but I do not know whether the math function is ready in app inventor or not..
Yes, these have been done here, but most use the AI2 Map component
I used the community search for you...
Thank you.. Let me try it
In addition to all that @TIMAI2 has already suggested you, and provided that you have the Latitude and the Longitude of the two points, you can use the following blocks (working in an old application of mine):
Or you can use also a reduced formula for short distance:
(added to FAQ)
1 Like

