Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1241715

    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?

    #1241758

    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

    #1241782

    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?

    #1241794

    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

    #1241797

    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!

    #1241806

    Hi Luca,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great weekend!

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Google Maps Error NoApiKey’ is closed to new replies.