Navigation überspringen

[Gelöst] Doulbe map pins for the same adress

This support ticket is created vor 5 Tagen, 6 Stunden. 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
- 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 12 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von - vor 4 Stunden, 32 Minuten.

Assistiert von: Minesh.

Author
Artikel
#2886321

Link to a page where the issue can be seen:

versteckter Link

- Click on the top left one and it's spiderified with the same address presented twice.

- Go to CPT Buildings in backend and search for Otto Wagner Kirche and you see the post. Same for Votivkirche and Wotruba, and probably more.

#2886332

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I tried to search for the address you mentioned "Otto Wagner Kirche" and I found the one post:
- versteckter Link

Do you mean spiderfy feature (that is used to display markers on same address) is not working? Can you please share screenshot whats exactly not working?

#2886335

The spiderify is there because 2 map pins are presented for ONE CPT of type Building.

Hover over each and see that they link to the same post.

#2886340

Minesh
Unterstützer

When I check how you added the marker with your view:
=> versteckter Link

   [wpv-map-marker map_id='map-all' marker_id='marker-id' marker_title='[wpv-post-title output="sanitize"]' marker_field='wpcf-building-address-coordinate']<div class="ott-align-center"><em><u>versteckter Link</u></em></div>[/wpv-map-marker]

The marker_id should be unique so I've adjusted the marker_id as given under:
[php]
[wpv-map-marker map_id='map-all' marker_id='marker-id-[wpv-post-id]' marker_title='[wpv-post-title output="sanitize"]' marker_field='wpcf-building-address-coordinate']<div class="ott-align-center">versteckter Link</div>[/wpv-map-marker]
</cow>

Can you please confirm it works as expected now.

#2886343

No change, but you are right about the needed code change.

I click on Otto Kirche, still 2 pins linking to the same post on the staging.

#2886344

Tried the update on the live site, 3 on my Map Views were wrong. Updated all but no change there either.

#2886353

Minesh
Unterstützer

Here is a auto-login link to sandbox site:
- versteckter Link

I tried to add two addresss on "New york,USA" and two address on "Texas, USA":
- versteckter Link

I can see both show the spiderfy with correct post.

#2886354

No you misunderstand, I have ONE ADDRESS that shows up TWICE with separate pins!!!

Check the Buildings CPT for Otto Church in Wien (ONE place), but it has TWO pins!!!

#2886355

Minesh
Unterstützer

Can you please share video using which I can see the issue or few screenshots.

I try to add the post ID to show with marker hover but I see all post ids are different on marker hover.

#2886357
Screenshot 2026-10-08 at 18-30-23 Interactive Architecture Photo Map of Buildings around the World.png
Screenshot 2026-10-08 at 18-29-54 Interactive Architecture Photo Map of Buildings around the World.png

Left and right pin clicked in spiderify mode.
Same SINGLE address.

#2886870

Minesh
Unterstützer

Here is a sandbox site and you can auto-login to it using the following link:
- versteckter Link

Can you please try to check if you able to reproduce the issue with the above sandbox site?

#2886970

Hi
Did me some thinking and I realized that those showing up twice were imported from a site with WMPL to this site without WPML.

Don't know why it happened but I just created a new one for those 5-6 that showed up twice, and it is now solved.

Any thoughts of why it happened?

#2886979

Minesh
Unterstützer

Great - if you have two languages then it should be showing two times. But glad that you able to find the issue and you're welcome to mark resolve this ticket.