Streamlit geolocation

Hello guys please i really need help. I want to create an app in streamlit that can help track users location. This solotion worked fine Web Geolocation API to Get User's Location

But is there a way to invoke the funtion on page load …i dont want to click any button

This custom component from me may help: GitHub - aghasemi/streamlit_js_eval: A custom Streamlit component to evaluate arbitrary Javascript expressions

1 Like

Gosh bro !!!

You are a life saver… I have installed more than 4 packages just to get this resolve but this library worked like a charm…I have to turn in the project in less than 24 hours…
Thanks for coming to my rescue

1 Like