[vc_row][vc_column][vc_column_text]If you want to show all stores by default you need adjust the radius, default lat / lng and max result values:
- Map Settings
- Adjust your default lat / lng to a center of all stores
- Add a high value to the Radius Select Steps like 999
- Set the default radius to the above highest radius (e.g. 999)
[/vc_column_text][vc_single_image image=”1221″ img_size=”large” add_caption=”yes” alignment=”center” style=”vc_box_outline” onclick=”link_image” css=”.vc_custom_1544017437919{margin-top: 20px !important;margin-bottom: 20px !important;}”][vc_column_text]
- Result List
- Set the Maximum Results to a high number
[/vc_column_text][vc_single_image image=”1218″ img_size=”large” add_caption=”yes” alignment=”center” style=”vc_box_outline” onclick=”link_image” css=”.vc_custom_1544017343788{margin-top: 20px !important;margin-bottom: 20px !important;}”][/vc_column][/vc_row]
Hello!
Your suggestion to load initialy with 999 radius solves the main task, but generates another issue.
We loose the “get nearest places” function with radius 999.
It would be nice to use the “show all by default” feature without loosing the function of “get nearest places” with radius 20.
Tip: What your “show all stores” button does would be perfect for the task. (like this: http://prntscr.com/qs9nvp)
Can we get that fuction to load by shortcode or url parameter?
Thanks!
Tom
Well the nearest place will stay show of you set the order to distance. Keeping two radius however is not possible.
Well we made a workaround with a custom JS that fires 1 sec. after pageload to solve the task.
This is how it looks: https://blockchange.hu/atm-kereso/