Skip Navigation

[Resolved] Toolset Maps: all pinpoints are gone (due to an update)?

This support ticket is created 4 years, 2 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 4 replies, has 2 voices.

Last updated by roulartaM 4 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1818895
maps-problem.png

Hi there,

Since this morning, all Google Maps pinpoints on my projects page (hidden link) are gone. When I check the source code, there are a lot of empty rules instead of the markers early in time (see screenshot). The empty rules should be filled with generated markers in my vieuw loop:

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-map-marker
map_id='projects'
marker_id='marker-[wpv-post-id]'
address='[types field='locatie'][/types]'
marker_title='[wpv-post-title]'
marker_field='<h1>[wpv-post-title]</h1>'
]
<p class="Marker-title">[wpv-post-title]</p>
<p class="Marker-address">[types field='locatie'][/types]</p>
Meer info
[/wpv-map-marker]
</wpv-loop>
<div class="Stroke">
<div class="Map">
[wpv-map-render map_id="projects" map_height="400px" cluster="on" marker_icon="/wp-content/plugins/toolset-maps/resources/images/markers/Home.png"][/wpv-map-render]
</div>
</div>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[/wpv-no-items-found]
[wpv-layout-end]

I remember that I've done 3 Toolset plugin updates this morning, but I can't remember if Toolset Maps was on of them. Can you please verify what's wrong please?

Kind regards,
Sam from Roularta

#1819167

Hi Support,

I've made a copy of our 'projecten' page because it wasn't looking very professional at this time.
Here's the cloned page with the map: hidden link

Kind regards,
Sam from Roularta

#1819205

Shane
Supporter

Languages: English (English )

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

Hi Sam,

Thank you for getting in touch.

Would you mind allowing me to have admin access to the website so that I can take a look to see what is actually happening here ?

The private fields will be enabled for your next response.

Thanks,
Shane

#1819341

Shane
Supporter

Languages: English (English )

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

Hi Sam,

I checked this for you, however not sure why you have so many instances of the map on your view but I had to set the marker's map_id to projects as well as to re-add the marker because there were some errors in the marker's markup that you had.

It should now be displaying the markers on the map.

Thanks,
Shane

#1819411

Hi Shane,

Thank you for pointing me into the right direction. It seems that this was my marker setup early in time (that didn't work anymore):

[wpv-map-marker
map_id='projects'
marker_id='marker-[wpv-post-id]'
address='[types field='locatie'][/types]'
marker_title='[wpv-post-title]'
marker_field='<h1>[wpv-post-title]</h1>'
]
<p class="Marker-title">[wpv-post-title]</p>
<p class="Marker-address">[types field='locatie'][/types]</p>
<a class="Marker-button Button Button--default" href="[wpv-post-url]" title="Meer info over [wpv-post-title]">Meer info</a>
[/wpv-map-marker]

This is my 'new' marker setup that do work now:

[wpv-map-marker map_id='projects' marker_id='marker-[wpv-post-id]' address='[types field='locatie'][/types]' marker_title='[wpv-post-title]' marker_field='<h1>[wpv-post-title]</h1>']
<p class="Marker-title">[wpv-post-title]</p>
<p class="Marker-address">[types field='locatie'][/types]</p>
<a class="Marker-button Button Button--default" href="[wpv-post-url]" title="Meer info over [wpv-post-title]">Meer info</a>
[/wpv-map-marker]

The only difference between the code is that the attributes are stacked above each other instead of standing next to eacht other with a space between them. Not sure if I stacked them early in time like this... The old way always worked, so I'm pretty sure it wasn't supported due to the update this morning.

I'm very glad this is solved now, thanks a lot Shane!

Kind regards,
Sam from Roularta