Hi, my query concerns Toolset Maps and I seem to have two issues.
1) My search/filters includes the filter by distance shortcodes. When I visit the page in an incognito browser, the permissions box appears and I click Allow. But then instead of seeing the location filter, a placeholder text appears "Your location is needed to show this content".
2) When the map first appears it always seems to be centred on a region of Africa. Yet all of my locations are in Wales, in the UK.
When I click the "Reset (show all)" button on my search form, the location filter will appear, and the map correctly centres on the actual datapoints, but I think most visitors wouldn't know to try that (they'd just leave, thinking the site was broken)
The page is at:
hidden link
Hi Alan,
Thank you for waiting.
During troubleshooting, I noticed that map markers are not showing on the first-page load, due to the "wpv-post-body" shortcode being used in the "marker_icon" attribute:
( screenshot: hidden link )
[wpv-post-body view_template="marker image"]
Adding suppress_filters="true" attribute to this shortcode removes extra filters from that content template's output and fixes the issue.
( ref: https://toolset.com/documentation/user-guides/views/views-shortcodes/#wpv-post-body )
[wpv-post-body view_template="marker image" suppress_filters="true"]
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar