AppInventor: Menghitung Jarak dan Arah dari GPS

From OnnoWiki
Revision as of 17:03, 10 October 2015 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Sumber: https://sites.google.com/site/appinventor/distance-based-on-lat-long

distance = sqrt(x^2 + y^2)

Dimana:

x = 69.1 * (lat2 - lat1)
y = 69.1 * (lon2 - lon1) * cos(lat1/57.3) 


Referensi