Google maps not showing "Loading the Google Maps JavaScript API without a callback is not supported"
Hello I'm trying to integrate maps on this page https://staging.osmairm.it/strutture/
But the map is not showing and I get this error in console tab:
Loading the Google Maps JavaScript API without a callback is not supported: https://developers.google.com/maps/documentation/javascript/url-params#required_parameters
How can I solve it?
Thanks in advance! ?
Comments
Hi,
Did you put the API key in the theme options and ensure it is correct?
Please, check the following link:
https://support.muffingroup.com/faq/google-maps-not-working/
Best regards
Yes I've done it!
Please send us WordPress dashboard access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
sent!
You do not have the newest version of Betheme installed.
Please, update it, and we will correct that on your website.
Thanks
Just updated!
Thankyou in advance!
Hello is there any news?
Does it persist for you?
After your last message, I thought that the update helped.
If the issue is still present, please send us WordPress dashboard access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
Nope, the message said that you need the last update installed then you will fix it.
Access sent!
Your content placed in the Info window causes this issue.
After removing it, the map appears.
Also, you need to configure your API key properly.
https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors
Best regards
Thankyou so much!
I had copied this code from another template.
Previously when you click on the "map pin icon" a box with details it's been shown, but now nothing happens, and in console tab you can find the same error.
This is the page:
https://themes.muffingroup.com/be/farm/contact/
The same happens also in the documentation page:
https://muffingroup.com/betheme/elements/map-advanced/
Did you add it to your map?
I have checked that on my environment, and it appears.
Best regards
Yes but it only works with simple text.
If you add for example a simple image or a link (to create a box like the one on the varius templates that now are not working) the map disappear.
The content there should be as simple as possible. Also, you should be careful if all tags are placed and constructed properly.
I suggest preparing the structure first in some code editor like Visual Studio and putting it there then.
You can read more about it here:
https://developers.google.com/maps/documentation/javascript/infowindows?hl=en
Best regards