+ 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
4 ответов
+ 7
cool! google maps move over! here comes DavidMaps
+ 7
@jay 🙃
+ 7
Nice work!
+ 5
@Petko Thanks!