Problem:
Maps displaying wrong location when no result found
Solution:
You should add following marker code just after the [wpv-no-items-found] shortcode within your view's loop output section to display default search location (location text).
[wpv-map-marker map_id="map-contact" marker_id="marker-111" address="[wpv-search-term param='toolset_maps_distance_center']"][/wpv-map-marker]
You can find the proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/maps-displaying-wrong-location-when-no-result-found/#post-1120530
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
This topic contains 5 replies, has 2 voices.
Last updated by 6 years, 1 month ago.
Assisted by: Minesh.