mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-07 01:13:14 +02:00
Update locationdata.py
This commit is contained in:
+2
-1
@@ -9,5 +9,6 @@ def where_am_i(lat=0, lon=0):
|
||||
|
||||
location = geolocator.reverse(lat+","+lon)
|
||||
address = location.raw['address']
|
||||
whereIam = address['house_number'] + " " + address['road'] + ", " + address['city'] + ", " + address['state'] + " " + address['postcode']
|
||||
|
||||
return address
|
||||
return whereIam
|
||||
Reference in New Issue
Block a user