I want the currently displayed user's distance/proximity to a location on a node to update on its own (without a page refresh) and have the entire page refresh once I am within 25 meters from the location.
Here's some additional information:
While working on my Drupal website with the Geofield Module & IP Geolocation Views & Maps, I have attached a location to a node (lat/log) and currently displaying the user's distance to that location through a View (as in the image attached).
The proximity distance is provided by the Geofield module and works as expected by requesting the user's location when the page is refreshed, but I would like to improve the feature for someone on a mobile phone, as follows:
1. The user's distance (proximity) should update on its own, every few seconds, without the need to refresh the entire page or pushing a button. When someone is viewing the page on any mobile phone, the GPS on their mobile should provide the update while moving towards the location. The IP Geolocation Views & Maps module already comes with this feature, but it forces the entire page to refresh. The goal is to avoid having a user refresh the page or pushing the refresh button provided.
2. The page should refresh one time when the user is under 25 meters from the location.
This project should be fairly quick for someone who has previously worked with Geofield, IP Geolocation Views & Maps and Rules module. All modules have already been installed and configured, besides the functionality above. No need to display maps, only the actual distance figure as in the picture. In case you might have a different suggestion (e.g. other modules, html5, leaflet) with regards displaying a user's proximity on a mobile to the location on the node, you are welcome to suggest it.
Please only bid if you have previously worked with the display of a user's proximity while walking/moving on a mobile device.
Thanks in advance and will look forward to see what you can come up with!