Skip Navigation

[Resolved] Map / Map Markers stopped working

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

Problem: I have a map and a View that should display markers on the map, but the markers aren't showing up like expected.

Solution: Make sure the Map Marker shortcode is placed in the View's loop. Check the address field slug to be sure the Marker shortcode is using the correct slug. Check for typos in other Views shortcodes.

Relevant Documentation:
https://toolset.com/documentation/user-guides/display-on-google-maps/displaying-markers-on-google-maps/

This support ticket is created 5 years, 5 months 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 2 voices.

Last updated by Christian Cox 5 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#1273737

Tell us what you are trying to do?
Create Map with markers of Street Addresses
Is there any documentation that you are following?
hidden link
Is there a similar example that we can see?

What is the link to your site?
hidden link

#1273797

Check now, I moved this line into the loop, so you see a marker for each post:

[wpv-map-marker map_id='map-hp' marker_id='marker-[mvp-post-id]' marker_title='Dealer' marker_field='wpcf-street-address']Popup Content[/wpv-map-marker]

Also I changed mvp-post-id to wpv-post-id, I think that was a typo. Finally I changed wpcf-street-address to match the actual field slug wpcf-bus-st-add. Now you can see markers on the map on the homepage. Let me know if I misunderstood what you're trying to accomplish.

#1280193

Where did you find the actual FIELD SLUG in order to know what is was so you could use it.. ? would be nice if the code returned it instead of something else.

ie. [types field='street-address'][/types]

#1280399

Where did you find the actual FIELD SLUG in order to know what is was so you could use it.. ?
I went to Toolset > Custom Fields > Post Fields tab, then found the address field. The slug is listed here with the other field information. I'm not sure how the slug and name became out-of-sync. It's a bit confusing because they are so different.