Skip Navigation

[Resolved] Toolset Maps is not showing any Markers

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

Problem:
Toolset maps is not showing any markers, even if I set up some addresses.
What can be the issue?

Solution:
1. You did not create your Map/Marker according the Doc, liked below.

2. THe Google API has not been setup according the new guidelines of Google (also link below)

3. You are using URL restriction of Google API.
Since Google does not provide inforamtion on this topic, it is a trial and fail step, specially if you use Wildcards *.

Relevant Documentation:
https://toolset.com/documentation/user-guides/display-on-google-maps/
https://toolset.com/documentation/user-guides/display-on-google-maps/ > Creating a Google Maps API Key

This support ticket is created 7 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 8 replies, has 2 voices.

Last updated by jamesH-10 7 years, 9 months ago.

Assisted by: Beda.

Author
Posts
#416088

I am trying to: Add Google API key to Toolset Maps. I have set up everything as per the instructions here: https://toolset.com/documentation/user-guides/display-on-google-maps/

When I didn't have the key the addresses used in posts were appearing in the cache and appeared as expected on the front end.

After adding the API key the addresses are not appearing in the cache nor the front end. They are seen in the backend.

#416165

Have you made sure you followed the New instructions?

The problem is Google Updated it's API rules recently and now, it is not only mandatory to have an API Key but also to use:
Google Maps Geocoding API
Google Maps JavaScript API
Google Places API Web Service
https://toolset.com/documentation/user-guides/display-on-google-maps/ > Creating a Google Maps API Key

If this does not help, and the Markers are still not appearing on your Map, please let me know so I can dig it further.

#416219

Hi Beda,

Thanks for the reply. I have set up all of these:
Google Maps Geocoding API
Google Maps JavaScript API
Google Places API Web Service
and added the key but the new locations are not appearing on the map nor in the cache.

What is the next best thing to try?

Cheers,
Chris

#416236

1. Does the issue also persist with a WordPress Default Theme and NO Plugins BUT the Toolset Plugins?

If not, could you then re-enable the Plugins one after the other, and check the issue each time you enable a plugin?
Please report me when the issue comes back
It might also be due to the Theme.
Please do reactivate your Theme only after you are sure the issue isn't coming form a 3rd Party Plugin.

2. WP Debug:
https://codex.wordpress.org/WP_DEBUG

3. If the issue still persists, I would need to request temporary access (WP-Admin and FTP) to your site
- preferably to a test site where the problem has been replicated if possible -
in order to be of better help and check if some configurations might need to be changed

Your next answer will be private which means only you and I have access to it.

❌ Please backup your database and website ❌

✙ I would, if possible, need access to a site where only a minimal set of Plugins and a default theme is active.
This to avoid eventual compatibility issues with other software.

✙ I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site.
This is also a reason the backup is really important

✙ Please add the Links to:

- The Views Edit Screen

- The Page/Post where you insert the View

- The corresponding Posts with Addresses.

#417122

I logged in your site and added our Company API code.

The Maps display fine.
I also created a new one and tested it.
It worked as well.

I added screenshots of all 3 posts.

I can not help any better but that the API Code must be set up again, following the exact steps of this DOC:
https://toolset.com/documentation/user-guides/display-on-google-maps/

I re-added your code and it still seems to work.
But please ensure to use a new correctly set up code in case the issue persists/comes back

#417152

Hi Beda,

thanks for taking a look for me. I can see that the address you created is working without any problems. I created a new API key and it still won't work for me. Is there any particular about your Google account that would be different from mine? I set up a billing account in case that was the issue but anything else I am unsure of what to try. Is there anything with permissions or anything else in the credentials?

I'd like to mention that this issue is happening in a live site with a lot of traffic and it is potentially impacting my business and it would be great to get this working soon.

Thanks,
Chris.

#417164

I should mention that once an address works once it is added to the cache so your one is working now but adding new addresses doesn't.

#417170

The instructions to follow are outlined step by step here:
https://toolset.com/documentation/user-guides/display-on-google-maps/ > Creating a Google Maps API Key

This is how we set up our own account/API key.

The API Key you use is definitely not working, and you need to set up a fresh one.
Please make sure that you follow every step of the DOC.

We can not help with setting up API keys, but I can guarantee that this works along with what we describe in the DOC.

Can you also check your Developer Console in Google to see if the Google API service logs any errors?
I have seen that as example restricting your API to certain Websites / Servers / SubDomains will conflict with the Google API.

I can not login to your Google Developer account to fix this, but I can assure that the Google map Toolset Plugin works as expected on your Site, when the API key is valid and properly configured.

Please also check with your Server Admin if some server side Cache mechanisms are used.

#417823

Hi Beda,

I had actually restricted the API to the URL and this is what was causing the issue.

Thanks for your help with this one. I appreciate your help.

Cheers,
Chris

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.