Detected location of user function
See original GitHub issuePlease add a code sample or a nbviewer link, copy-pastable if possible
# Your code here
Problem description
I recently used folium and wanted to locate myself as I will be walking around and looking at the map. I noticed folium didn’t have this but leaflet does. In my first try I was able to open the html file that folium makes and paste in the locate code and it worked! I am new to developing but I was wondering if it is possible to add a locate function to folium to make this a native option. thanks!
Expected Output
Output of folium.__version__
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Detect location and local timezone of users in JavaScript
Detect location and local timezone of users in JavaScript · It first checks that the browser has/supports Geolocation API. · This is by...
Read more >How to Detect User Location with Javascript - Red Stapler
In this article, we're going to show you how to detect user location using Geolocation API. A pure-JavaScript way without any third-party ...
Read more >How to Check a User's Location with JavaScript
The Geolocation API provides getCurrentPosition() so we can quickly locate users. This function will get the job done quite easily, but you ...
Read more >How To Detect The Location of Your Website's Visitors Using ...
When you try to retrieve the location using this API, a prompt is shown to the user, asking them if they'd like to...
Read more >Geolocation: Displaying User or Device Position on Maps
This tutorial shows you how to display the geographic location of a user or device on a Google map, using your browser's HTML5...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I was wondering if there is a way to get the user’s coordinates and pass into another function. Also, is the way to update this when the user moves?
Since this feature got merged I’m closing the issue.