Skip Navigation

[Resolved] markers on a map

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 27 replies, has 1 voice.

Last updated by martinP-13 5 days, 21 hours ago.

Assisted by: Minesh.

Author
Posts
#2849608

hi minesh thankyou for that , if i turn spiderfy off then the result is the actual map will still show how many events where at that location , but once the number marker is clicked it ony shows 1 icon . is there a condition or anything that can be set to only show say the 1st time used ?? thanks again

#2849609

Minesh
Supporter

Languages: English (English )

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

There is no such conditional available - its due to marker clustering.

#2849805

ok ,ill live with the number 2 , its no big deal , before i close this thread i dont understand why
on a venue page , with toolset adress field i cant get the pin to show .
hidden link

the left tab location , it is simple map 1 one marker set by toolset custom field " all venues on map" im unsure if its template assignment in the venus post back end , like here (top right) content assined by ......
hidden link

no matter what i have tried i cannot get the marker to show ,?
thanks again martin

#2850288

hi , any idea why i cant get the marker to show , it should be rather simple no >?
thanks

#2850299

Minesh
Supporter

Languages: English (English )

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

Yes - certainly I tried couple of times with different approach as well but somehow it dose not display marker on the Location tab map.

Can you setup a test page and try to add multiple maps just one after another what you have currently (add location tab map first and after that add second tab map) and check if that works. I'll try from this end on the sandbox site to see if multiple maps works on the sampe page in order to identify the issue is from your site or its from Toolset.

#2850438

i have set up the page with 3 maps here , obviously this page is not a venue post type so the maps will be empty ? i think this what you have asked for ? many thnaks
martin

#2850489

Christopher Amirian
Supporter

Languages: English (English )

Hi Martin,

Minesh will be with you tomorrow and check the details. Thanks.

#2850554

Minesh
Supporter

Languages: English (English )

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

Can you please share link what test page you setup?

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

#2850585

Minesh
Supporter

Languages: English (English )

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

I see you added the following content template that has a map on the test map page:
- hidden link

It will not display any map marker as with test map page because you added map and marker with the above content template but the test map page do not have any address field to display.

To display the specific post which have address field, I've used the following venue post:
- hidden link

As you can see the ID of the psotis "31204", so I set the marker attribute item to display the post ID 31204 as you can see with the following shortcode:

[wpv-map-marker map_id='map-32' marker_id='marker-[wpv-post-id]' marker_field='wpcf-all-venues-on-map' item="31204"][/wpv-map-marker]

And I can see the marker on the test page.

#2851097

thanks i see that , how can i transfer this onto the actual page for each location though ? it seems illogical that the page holds a toolset address field and no marker can be produced for the map . im a little lost as to why the test page will work? but as of now no marker on the venue/location page like here hidden link

many thanks

#2851165

Minesh
Supporter

Languages: English (English )

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

I checked and its really weired issue. As you already know that before it used to work and now its suddenly stop working and this is not the case with any other user.

I've also checked the Maps API key and thats correct. It looks like specific to your site. Have you modified/added anything recently that causes the maps not showing markers especially within the Elementor template you created as with the test page we can confirm its working.

There must be some conflict that caused this issue. You may try to create new elementor template and try to add simple map on that and see if that works or try to deactivate all third-party plugins and troubleshoot this further.

#2852352

well well well , i have sorted it , i had an old overwrite template for venues , it worked fine in that over ride i had
<?php echo do_shortcode('[wpv-post-body view_template="content-template-to-pull-venue-location-data"]'); ?>
remove this line or turn off the override and the map icon becomes visible !!! , my knowledge is limited i can only guess that trying to run the same shortcode twice was conflicting......

i have now commented it out with
<?php /* echo do_shortcode('[wpv-post-body view_template="content-template-to-pull-venue-location-data"]'); */ ?> and its all working

thank you minesh .

#2852409

Minesh
Supporter

Languages: English (English )

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

Great - as suspected it was something else 🙂 Glad to help, you are welcome to mark resolve this ticket.

#2852755

thankyou minesh for your greatly appreciated input helping me sort this issue , your knowledge is awesome!