Skip Navigation

[Resolved] Force spiderfy open for markers on map view

This thread is resolved. Here is a description of the problem and solution.

Problem:

I've set up spiderfy on on my map which works nicely when clicked, can I force it to default to the spiderfy layout from the start? Otherwise users aren't going to know that there are multiple markers at one address.

Solution:

The client slightly adjusts some markers so they aren't in exactly the same location & use clustering.

Relevant Documentation:

This support ticket is created 6 years ago. There's a good chance that you are reading advice that it now obsolete.

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 6 years ago.

Assisted by: Luo Yang.

Author
Posts
#1142536
2018-11-08 10_43_42-.png

I've set up spiderfy on on my map which works nicely when clicked (see screenshot).

My question is: can I force it to default to the spiderfy layout from the start? Otherwise users aren't going to know that there are multiple markers at one address.

#1142863

Hi,

There isn't such an exact feature, but you can try these:
1) turn off the "cluster" attribute of map shortcode [wpv-map-render]
https://toolset.com/documentation/user-guides/maps-shortcodes/#wpv-map-render
cluster. Optional, defaults to off . Can be on or off . When set to on, markers close enough based on some rules will be rendered as a cluster.

2) Or you can increase the "cluster_max_zoom" value
cluster_max_zoom. Optional, defaults to empty. When cluster is set to on , this attribute sets the minimum zoom level that dissolves clusters into individual markers again.

#1143264

Apparently it is not possible- see below: hidden link

My solution will be to just slightly adjust some markers so they aren't in exactly the same location & use clustering. Thanks for taking a look.

#1143460

Thanks for share the solution.