Skip Navigation

[Gelöst] Force spiderfy open for markers on map view

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 6 Jahren. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 6 Jahren.

Assistiert von: Luo Yang.

Author
Artikel
#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: versteckter 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.