• Resolved Chris

    (@chrisg84ch)


    Hi

    I’m not able to display the map for my events.
    I did everything mentioned in the FAQ and also have an API Key.

    However, I always get the error “Google Maps JavaScript API warning: NoApiKeys” in the Browser Console and no map is showing up.

    I already changed the theme and disabled all plugins to test, but same problem.

    Any ideas?

    Thanks Chris

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Did you set your Correct Google API Keys? Events > Settings >
    Google Maps and Location Services?

    Here is a full documentation on how to use and setup google maps. Please do read and follow them carefully as it’s easy to miss a step.

    https://wp-events-plugin.com/documentation/google-maps/
    https://wp-events-plugin.com/documentation/google-maps/api-key/

    Thread Starter Chris

    (@chrisg84ch)

    Thank you very much!
    I red your documentation carefully many times and did exactly what you mention there. Including tests without any other plugins etc. I have activated the following APIs:
    Geocoding API
    Geolocation API
    Maps Embed API
    Maps JavaScript API
    Maps Static API
    Places API for Web

    as well as an API Key for the Services above. The API Keys are not restricted in any way.

    However, I get the message “no map available” (fontend and backend).

    I also cannot see any traffic on the google cloud portal comming via the APIs.

    Thank you so much for suggestions.
    Best regards
    Chris

    If you are looking for a replacement for Google Maps that simply works, take a look here: https://www.ads-software.com/plugins/stonehenge-em-osm/ ??

    Thread Starter Chris

    (@chrisg84ch)

    @duisterdenhaag Thank you Patrick, will try it ??

    @timrv
    I now recognized that I don’t have a connection to maps.googleapis.com (sources in debug console), which should be there, right?
    I load events manager only and have no other errors or google api connections. API is activated in events manager settings (tried both, embedded and dynamic).
    how is this possible?

    Thank you
    Chris

    Hi Chris,

    Do you have a link to the live site?

    Thread Starter Chris

    (@chrisg84ch)

    I see you are also using WPML. Have you installed the EM & WPML compatibility plugin as well? (Written by the EM Developer) https://www.ads-software.com/plugins/events-manager-wpml/

    Does the map work if you disable WPML for testing?

    Addition:
    The language switching in your top bar does not work either. It gives all kinds of errors in your console. Please deactivate WPML first.

    Thread Starter Chris

    (@chrisg84ch)

    @duisterdenhaag
    Thanks!
    I have the EM & WPML Plugin acitve, but it doesn’t work without it either.

    The translation is not implemented yet, thats why you get some errors.

    I have the same situation with or without WPML or other plugins.

    Many thanks
    Chris

    Hello,

    Please make sure that you have https://www.ads-software.com/plugins/events-manager-wpml/
    installed also as mentioned by Patrick.

    Could you perhaps send us a screenshot of the http referrers that you added? After enabling all the API, Please do try and Re-Generate an API key for your MAP and re-input the new Key on Settings.

    Are you perhaps using DIVI also? If you’re using DIVI they have a separate section on where you need to enter your maps api key. Please do visit your theme developer in case they have a separate section for it.

    Can you also make sure that the following API is enabled also?

    Directions API
    Distance API
    Elevation API

    Pleae do make sure that you have Billing Address Setup on your Google Map Account. Google Map now requires users to have a billing setup.

    It could also be a theme issue.
    You could install the OpenStreetMap plugin to test if the problem is with Google. If the OSM works (and I think it will), the problem is somewhere with Google.

    But let’s face it, all those API’s that are needed now do not make installing and using it any easier. ??

    The OSM only requires 1 OpenCage API key to edit or create new locations. For testing not. So existing locations should work right away. Just a tip ??

    Thread Starter Chris

    (@chrisg84ch)

    Dear @duisterdenhaag and @timrv

    Thank you so much for your support!!

    I finally made it with openStreetMap and Google.

    The problem seems to be the address data entered.
    It only works if I specify the “county” in addition to the common fields. This is usually not necessary and also not if I test it manually on google maps. However, without county it doesn’t work on google nor on openstreetmaps.

    Thanks a lot again for all suggentions which led me to the solution at the end ??

    By the way: I really like the plugin so far ??

    Best regards
    Chris

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Google Maps JavaScript API warning: NoApiKeys’ is closed to new replies.