Web Geolocation API to Get User's Location

Hi,

Is there a way to use, or a plan to implement the web Geolocation API for asking the user’s location and continue processing based on that?

Thanks

Hey @aghasemi ,

Yep, just use streamlit-bokeh-events with this bunch of code and it works pretty well :slight_smile:

PS. you can execute any custom js this way on a event and get the value in the callback without writting a full component :wink:

Hope it helps !

1 Like

That really deserves more publicity!

And many thanks.