+ 11

Find my location and distance to a city.

This code extracts network/GPS location coordinates from the user's Android device and uses the OpenStreetMap database to get the street address. The user enters a city name and the distance to the city is calculated. Unfortunately, the code doesn't run on the SL Code Playground because the androidhelper and geopy modules won't import. I tried using pip but there wasn't enough memory. (Any suggestions?) The code works if you copy and paste it into the QPython3 app. https://code.sololearn.com/cD3IwFkUBNyS

29th May 2017, 9:03 AM
David Ashton
David Ashton - avatar
4 Respostas
+ 7
cool! google maps move over! here comes DavidMaps
29th May 2017, 9:23 AM
jay
jay - avatar
+ 7
@jay 🙃
29th May 2017, 9:28 AM
David Ashton
David Ashton - avatar
+ 7
Nice work!
30th May 2017, 6:33 AM
Petko Bozhkov
Petko Bozhkov - avatar
+ 5
@Petko Thanks!
30th May 2017, 6:37 AM
David Ashton
David Ashton - avatar