Skip Navigation

[Resolved] Markers stopped showing up on map

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

Problem:

In this user's case their map markers were not showing up on the map.

Solution:

For this user their map was working fine. What I did was to put the view that had the map on a different page and it worked fine.

This leads me to believe that there was an issue with the original page.

The user was using Elementor shortcode block to add view, I suggested to add the toolset views shortcode to an Editor block in elementor.

This support ticket is created 5 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by kyleL 5 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1253097

I am trying to: Get the markers to show up on the map

Link to a page where the issue can be seen: hidden link

I expected to see: The markers on the map

Instead, I got: The markers showed up originally, but then they stopped showing up.

[wpv-map-render map_id="map1" map_height="700px" cluster="on"][/wpv-map-render]
	<!-- wpv-loop-start -->
		<wpv-loop>
          [wpv-map-marker map_id='map1' marker_id='marker1' marker_title='Name: [wpv-post-title]' marker_field='wpcf-area']Visit: <strong>[wpv-post-link]</strong>[/wpv-map-marker]
          
          <div id="fixed-width">
            <div id="indv">
            <h2>[wpv-post-link]</h2>
            <p> [types field='email-contact'][/types]</p>
            </div>
          </div>
          
		</wpv-loop>
#1253351

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kyle,

Thank you for getting in touch.

Could you let me know the last thing that was done before this issue started to occur ?

Thanks,
Shane

#1253357

It was working until I added the bit of code below.
But now even if I remove it the map still doesn't pick up the markers.

I did check to ensure the API key was working.

Thanks!

     <div id="fixed-width">
            <div id="indv">
            <h2>[wpv-post-link]</h2>
            <p> [types field='email-contact'][/types]</p>
            </div>
          </div>
#1253435

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kyle,

Mind providing me with access to the site so that I can check on this for you ?

Thanks,
Shane

#1253507

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Kyle,

It is actually working.
hidden link
It seems there is something up with elementor that is causing this.

If I add the view to another page it works fine and even on the edit page with elementor it works fine.

Could you add the view shortcode itself to the elementor template inside an editor ?
[wpv-view name="coalitions-map"]

Thanks,
Shane

#1253647

My issue is resolved now. Thank you!