Hey Guys,
I added an API key in the Enfold settings, verified it and added a map in the footer.
The map is not working and the console is telling me, there’s “NoApiKey”.
Then I tried another solution from the forum with some PHP-Code in the functions.php an it also didn’t work.
Could you please log into the site and check whats wrong?
Hey Luca,
I have checked the code and I think this part is wrong:
avia_framework_globals.gmap_api = 'MYAPIKEY';
MYAPIKEY should be replaced with your Google API key, I tried to modify it in Theme Editor but it’s protected.
Please replace that code with the code in private content.
Best regards,
Nikko
Whops, missed that.
I changed that but still, the maps API tells me that theres no API key. :-/
I reloaded the page several times and made sure the code is updated via console…
Any idea what could be wrong?
Hi Luca,
Please try to clear the browser cache.
I have checked your site and I don’t see that anymore via web inspector.
However the watermarks “For development purposes only” is still present which I believe has reached its free limits and would require you to fill in the billing details in google.
Best regards,
Nikko
Hey Nikko,
I’ve found the issue. Since the Key would not save inside Enfold settings, I’ve tried before with additional javascript before trying the PHP-method. That old script was still there and interfering.
It’s all working now!
Hi Luca,
We’re glad to hear that :)
Thanks for using Enfold and have a great weekend!
Best regards,
Nikko