I'm currently working on a drupal site to show a page/node that displays a location and the current user's proximity/distance to that location, along with a map showing the location and the user's location.
I have put all the elements together on a Panel using Views and IPGV&M (IP Geolocation Views & Maps) to obtain the proximity to the geofield holding the coordinates to the location.
Everything is configured and the IPGV&M module has a block called “Set My Location”, which finds the user’s location via their mobile GPS/HTML5 geolocation.
The “Find Me” button in the IPVG&M module needs to be clicked twice in order to find the user, instead of just once.
When clicked once, a past location is shown with a bad/high accuracy (600+ meters) figure – whether it’s the previous location found or a historical location when logged in. On the second click, for the most part, the correct location is shown with a good accuracy (under 50 meters).
- Issue may be linked to the page refreshing and loading before the new location is captured.
- Issue may be linked to the new location not replacing session table info on the first click.
1. To have the process/function load twice right after another before the page reloads.
2. Have the page continuously search for location and load/refresh only if results accuracy is 50 or less.
6 freelancers are bidding on average $33 for this job
Hey Dear I can provide you exactly what you want. I am Web Developer with 9+ year of experience. Need to Discuss more on the chat. Thanks & Regards Ankit B.