Skip Navigation

[Resolved] Map Markers Stopped Appearing

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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 4 replies, has 2 voices.

Last updated by Timothy 1 year, 6 months ago.

Assisted by: Waqar.

Author
Posts
#2601219

This was working but I haven't checked the page in a while so I think an update over the past few months caused something to happen and now the map markers are no longer appearing:

hidden link

I'm using legacy views. This is the code in the Loop Editor:

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->

<wpv-loop>

[wpv-map-marker map_id='map-2' marker_id='marker-[wpv-post-id]' marker_title='[wpv-post-title]' marker_field='wpcf-place-address']
<div style="font-size:15px; width:380px !important; padding:12px;">

<h3 style="font-size:15px; display:inline-block;">[wpv-post-link]</h3> <br />
Website: [types field='place-link'][/types] <br />
Type: [wpv-post-taxonomy type="area-place-type" format="name"] <br />
Address: [types field='place-address'][/types] <br />
Phone: [types field='place-phone-number'][/types] <br />
Facebook: [types field='facebook-link'][/types] <br />
[wpv-post-excerpt length="50" count="word" more=" "]
</div>

[/wpv-map-marker]

[wpv-post-body view_template="loop-item-in-area-guides-view"]

</wpv-loop>

<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]

And this is what I have in the Output Editor:

[wpv-filter-meta-html]
<div id="bothcolumns">

<div style="width:60%;float:left;">
[wpv-layout-meta-html]
</div>

<div style="width:39%; float: left; ">
[wpv-map-render map_id="map-2" map_height="600px" spiderfy="on" marker_icon="[wpv-post-body view_template='map-marker-images']" general_zoom="15" single_zoom="16" fitbounds="off" general_center_lat= "44.41248178137577" general_center_lon="-68.5899831693091"][/wpv-map-render]
</div>

</div>

[wpv-post-taxonomy type="area-place-type" format="name" item="$parent"]

#2601397

Hi,

Thank you for contacting us and I'd be happy to assist.

I see some script errors in the browser's console, coming from the code added by the 'Convert Pro' plugin/add-on. This can affect the working of the other scripts loaded on the page.

To troubleshoot this, I'll suggest the following steps:

1. Please ensure that WordPress, active theme, and plugins are all updated to the latest versions.

2. It would be interesting to test this with all non-Toolset plugins disabled and a default theme like Twenty Twenty-One.

If it's fixed, you can add the disabled items, one by one, to narrow down to a possible conflicting one.

3. If the issue persists, I'll need to see how this view and the map markers are set up in the admin area. You're welcome to share temporary admin login details, in reply to this message.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2601421

Thanks. So I switched to a default theme then back to the previous theme and it's working again. So I guess I'm all set, but any idea why that might occur so I can avoid it in the future?

#2601437

Thanks for the update and glad that it is working now.

I no longer see the script from the 'Convert Pro', loading in the page's code. So the only explanation that I can think of is that maybe that extension/plugin has been disabled.

#2601795

My issue is resolved now. Thank you!