Skip Navigation

[Resolved] Map Not working

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 9 replies, has 2 voices.

Last updated by Shane 4 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1979623
2021-03-09 11_36_30-Tool Map _ Saxe Coburg – Mozilla Firefox.jpg
2021-03-09 11_37_19-Settings ‹ Saxe Coburg — WordPress – Mozilla Firefox.jpg

Hello,

I am using a correct API key as if i use the map module within my theme - hidden link - you can see it works.

But when using the Map Module in Toolset - hidden link - it says "This page can't load Google Maps correctly." ? I am using the Same API and when i check it in the settings of ToolSet it works correctly.

Can you please check to see why the maps not working within tool set

Thanks So much

#1979777

Shane
Supporter

Languages: English (English )

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

Hi Alex,

Thank you for getting in touch. Normally an issue like this is caused by not all the API's being enabled for your API key.

Can you go onto the google maps console and check that you have the following API's enabled.
Maps JavaScript API, Geocoding API, and Places API.

Also can you send me a screenshot of the API's that you have enabled for the key.

Thanks,
Shane

#1979807
image.png

Hello All is enabled see attached. Thanks so much for the quick responce

#1979895

Shane
Supporter

Languages: English (English )

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

Maps API Failure.PNG

Hi Alex,

Checked on you site and had a look at the error that is being produced on the page. See Screenshot

Given that this is handled by google, handling maps issues with the API keys can be quite tricky, however i'll outline a few troubleshooting steps.

- First I would like you to Remove the API key from your theme and have it being on our Toolset plugins only.
- Secondly Disable all the other API's from your Maps API leaving only Maps JavaScript API, Geocoding API, and Places API enabled.
- Third Create another API key so that you can use this key to handle the server side requests.

Once you've performed the Above steps please let me know if the issue still remains.
Thanks,
Shane

#1980749
2021-03-10 11_15_03-Window.png

Hi Shane,

I have tried all of the steps you listed and it is still not working, even with a separate API key,

Any other ideas?

#1981057

Shane
Supporter

Languages: English (English )

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

Hi Alex,

From your screenshot I see that you have 4 API's enabled, which should be 3. It should only be Maps JavaScript API, Geocoding API, and Places API.

We have to ensure that we follow our Documentation on setting up this exactly so that we can know where the issue is.

Thanks,
Shane

#1981817
2021-03-11 09_54_15-Window.png

Hi Shane,

I have got only 3 APIs enabled now and it still isn't working,

Kind regards

#1982713

Shane
Supporter

Languages: English (English )

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

Hi Alex,

Thank you for confirming.

Based on what i'm seeing now the API is configured correctly, which would lead me to the next debugging step. Would it be possible to install the duplicator plugin to grab a copy of this site where I can perform various tests etc to see if the issue still remains ?

This will allow me to look deeper at the issue and consult with our 2nd tier supporters without having to work on your live site.

Thanks,
Shane

#1983485

Good Morning Shane,

Yes you can do what ever you need to do. All good for you to add the duplicator plugin.

Please get back to me if you need anything from me.

Thanks so much

#1983967

Shane
Supporter

Languages: English (English )

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

Hi Alex,

After doing some tests and disabling/re-activating your plugins on the site copy, I found that the issue is being caused by the Vebra Properties plugin.

Once I disabled this plugin the map loads fine with the location marker. It appears that the Vebra Properties plugin is blocking the Google Maps API from Toolset from validating.

Thanks,
Shane