+ 3
Sort array by closet latitude and Longitude
an array container users latitude and Longitude and now i want to sort them out by the nearest latitude and longitude of login user. i have login lat and long in session
1 Odpowiedź
+ 1
Maybe this helps: https://code.sololearn.com/cHshQFmpp8FI
It's Python, but it shows how to get the distance between two points based on latitude and longitude