Problem: I would like to show a custom search View with a distance filter and a map with markers showing the results. I would like to use the visitor's location in the distance calculation. When I load the page, no results appear on the map. I am developing my site and I currently use HTTP but expect to integrate HTTPS.
Solution: User location requires HTTPS. Once that is set up, the map will automatically display results if the User allows access to their location in the browser. If the User blocks access, no results will be shown until some other location is entered as the basis for the distance calculation.
Relevant Documentation:
https://toolset.com/documentation/user-guides/display-on-google-maps/displaying-markers-on-google-maps/#filtering-markers-by-distance
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Our next available supporter will start replying to tickets in about 0.64 hours from now. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 2 replies, has 2 voices.
Last updated by 5 years, 12 months ago.
Assisted by: Christian Cox.