Skip Navigation

[Resolved] markers stopped working at Toolset Map

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

Problem:

The issue here is that the user's markers were not displaying on their map.

Solution:

In this user's case it was an issue with their API key. Regenerating the API resolved the issue.

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

Last updated by Eugene Mednikov 6 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1088622

After that markers in a view stopped being displayed (I cannot get what happened there), I've tried one custom marker near the map, and even it isn't working.

[wpv-map-render map_id="map-1" spiderfy="on" map_type_control="off" map_height="500px"][/wpv-map-render]
[wpv-map-marker map_id='map-1' marker_id='marker-4' address='Haifa, Israel'][/wpv-map-marker]

I simply get an empty map...

I've checked debug output, and there is nothing. Also page source doesn't contain any mentions of the markers.

How can I debug this?

#1088672

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for contacting our support forum.

Would you mind providing me with access to the page where I can see this map to have a more detailed look ?

Thanks,
Shane

#1089493

Shane
Supporter

Languages: English (English )

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

Hello,

Thanks i'm currently checking on this for you.

Thanks,
Shane

#1089611

Shane
Supporter

Languages: English (English )

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

Hello,

Could you let me know what was done when you started noticing this issue ?

Thanks,
Shane

#1089624

Nothing criminal. Was writing script to import these branches in a few languages. Changed a lot of related custom fields.

But it doesn't explain why even custom marker isn't working...

#1090305

Shane
Supporter

Languages: English (English )

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

Hi Shlomi

The map works on the backend fine, so it must be something on the frontend. I also see that the map is locked onto africa, so something is setting there as the location.

Could you temporarily disable all the non-toolset plugins and try again ?

Seems like something is preventing the communication with maps to the API.

Thanks,
Shane

#1090344

I don't get why aren't any markers rendered?

Here you can see markers: hidden link

<div style="display:none" class="wpv-addon-maps-marker js-wpv-addon-maps-marker js-wpv-addon-maps-marker-marker-459 js-wpv-addon-maps-markerfor-map-search" data-marker="marker-459" data-markertitle="Small house for sale" data-markerfor="map-search" data-markerlat="36.8507689" data-markerlon="-76.2858726" data-markericon="" data-markericonhover="" data-streetview="no">
...

but at my site there is nothing...

So it looks like back-end issue, not front-end

#1092797

so, any ideas?

#1092885

I've made a clone site, and disabled all plugins but Toolset and WPML, and there are still no markers...

#1093118

Shane
Supporter

Languages: English (English )

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

Hi Shlomi,

I would love to test this one locally.

Could you create a duplicator package of the site so that I can have it locally for further checking ?

To create the duplicator package please follow the instructions in the link below.
https://toolset.com/faq/provide-supporters-copy-site/

Thanks,
Shane

#1093986

Shane
Supporter

Languages: English (English )

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

Hi Shlomi,

I believe i've found this issue.

Its with your API key, re-adding your API key i got this message "REQUEST_DENIED - API keys with referer restrictions cannot be used with this API."

Is the Domain restriction the same as this site ? Could you try it with an API key that doesn't have a restricted domain ?

Thanks,
Shane

#1094045

Oh dear, that's the issue... Thanks!