Getting GOOGLE API KEY from https://code.google.com/apis/console/

WordPress Business Themes Forums Responsive Themes Directory Theme Getting GOOGLE API KEY from https://code.google.com/apis/console/ Reply To: Getting GOOGLE API KEY from https://code.google.com/apis/console/

Discontinued - The forum content is out of date. For theme support please use our support desk here.

WordPress Business Themes Forums Responsive Themes Directory Theme Getting GOOGLE API KEY from https://code.google.com/apis/console/ Reply To: Getting GOOGLE API KEY from https://code.google.com/apis/console/


  • Alan
    Newbie 15 points

    For my site (https://directory.almunecarinfo.com), running Version 8.9.6 of the Directory plugin, I have:

    * Setup my Google console
    * The project
    * The API Key: AIXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXgv0
    * The services for the API key are enabled:
    – Google Maps JavaScript API
    – Google Maps Geocoding API
    – Google Places API Web Service
    – Google Maps Directions API
    – Google Maps Distance Matrix API
    – Google Maps Elevation API
    – Google Maps Geolocation API
    – Google Maps Time Zone API
    * Listed in the the restrictions (limited to HTTP referrers) :
    https://*.almunecarinfo.com/*
    http://*.almunecarinfo.com/*
    * I’ve entered the above API key in:
    Theme Setup | Content Setup | GEO Location | API Key

    And I am still getting errors in the Chrome console:

    Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
    util.js:223

    I found a reference to the NoApiKeys warning (https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys):

    NoApiKeys Warning
    The script element that loads the API has no API key. Please make sure you include a valid API key as a key parameter. You can generate a new API key on the Google Cloud Platform Console.
    See Get an API key.

    If you are loading Maps JavaScript API from the deprecated v2 path with an old v2 key, you will get the NoApiKeys warning, even if you specified the key parameter. Please check the v2 to v3 upgrade guide and migrate your application to Maps JavaScript API v3.

    Is the Directory version ( 8.9.6 ) I’m using utilizing the old v2 Maps JavaScript API? I hope that’s not the case as it means I have to upgrade, and I’m not in a position to do that right now.

    What else can I try?

    April 26, 2019 at 11:43 am
  • Didn't find what you were after?

    Chat with us now

    or contact our support team