You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You example works for me.
This geocoding service uses the incoming IP address which doesn't change if internet access is provided by a mobile phone or a 4G hotspot.
IP address is not an accurate signal to use for location tracking. Better try your luck with a wifi based positioning system or just use a device with a gps.
How to use geocoder to track live location? I am creating an application to track my current location.
I have used the below code but it's not tracking my location .
import geocoder
g = geocoder.ip("me")
props = g.geojson["features"][0]["properties"]
lat = props["lat"]
lon = props["lng"]
print(lat, lon)
Please help
The text was updated successfully, but these errors were encountered: