Skip Navigation

[Resolved] Map Markers Corresponding to More than One Entry

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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 1 year, 11 months ago.

Assisted by: Nigel.

Author
Posts
#2645371

Tell us what you are trying to do?
I am trying to make it such that when I click on a map marker, I can select from a few options (entries) that correspond to that place. I am using Toolset Maps but when I have entries correspond to the same place, the markers clutter on top of each other. Is there a way to allow the markers to correspond to multiple entries? I am populating based on location

Is there any documentation that you are following?
N/A

Is there a similar example that we can see?
N/A

What is the link to your site?
hidden link

#2645523

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Screenshot 2023-09-20 at 08.21.16.png

Hi there

I'm not sure I entirely understand your question, but it sounds like you are displaying content where multiple markers appear at the same location.

In which case what you need is to use the "Spiderify" option, where clicking on one such marker will make the others spring apart so that you can see each individually.

#2645869

That's great news, thank you so much!

I am currently using my map in a toolset view though (Views), how can I incorporate spidery-ing there?

Thanks again!

#2645907

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

If you are using the legacy interface there is an option when inserting the map, as described here: https://toolset.com/documentation/legacy-features/maps-plugin/displaying-markers-on-maps/#displaying-multiple-markers-that-appear-on-the-same-location

Now that you already have the map shortcode added, though, you can edit it and add the attribute for spiderify, e.g.

[wpv-map-render map_id="map-123" spiderfy="on"][/wpv-map-render]

(Your map shortcode likely has other attributes set as well.)

#2646255

Thanks so much!