Skip Navigation

[Resolved] Displaying multiple addresses and markers on toolset maps using elementor

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

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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by JasonW6419 4 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1596097
items-found-view.jpeg

Tell us what you are trying to do?
- I am trying to show multiple place-markers on Toolset Maps (using Google Maps API) while also using Elementor for the content template. The map shows correctly when I place the [wpv-map-render] shortcode before or after [wpv-items-found]. However, when I enter the [wpv-map-render] shortcode in between [wpv-items-found], the map is not displaying on my page.

Is there any documentation that you are following?
- https://toolset.com/documentation/user-guides/maps/display-on-google-maps/displaying-markers-on-google-maps/#displaying-a-map-with-a-list-of-markers-coming-from-a-view

I've followed this article to the exact steps, and it did not display the markers at all. It seems to not be pulling the WPCF I'm using for filtering the marker data within the View.

Attached image shows the code I've used following the article above.
-
What is the link to your site?
- Currently not live

#1596727

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Based on the screenshot you shared, I can see that you passed lat and lon attributes as well as the marker_id attribute should be unique so you need to change marker_id as marker_id="marker-[wpv-post-id]".

Maybe you missed something here or I would like to clarify first, have you created a address field using Types plugin and you want to display the marker based on that address field - correct? If yes:

If you are still not able to make it work, please let me know I need to dive into admin section and need the problem URL where I can see the issue.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1597105

Minesh
Supporter

Languages: English (English )

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

Can you please check now: hidden link

The issue was you have added the one unwanted query filter to your map view, and I've also changed the map view slug to 'property-map':
=> hidden link

I can see its working.

But it seems that you want to update the map when you search with your another view. I am not sure why you create two views. If you want to update the map when you search with your current setup it will not work.

To learn and have more control on Toolset, I suggest you should create a test site on our free test platform http://www.discover-wp.com and create a test site using our readily available reference site.

Pleaes check the following links where we show how you can update map with search.
=> hidden link
=> hidden link

You may create a test site for the following sites:
=> https://discover-wp.com/site-types/gyms-and-trainers/
=> https://discover-wp.com/site-types/travel-destinations/

#1598379

My issue is resolved now. Thank you!