• Resolved danpincas

    (@danpincas)


    Hello! I’ve just installed the plugin and I feel like a dunce, because I’ve set the API Key in Settings –> Flexible Map, but it doesn’t appear to be used when invoking the Google Maps API.

    Here’s an example page I threw a quick map on: https://31stdistrictdemocrats.org/district-map/

    But I’m seeing the following error in the js console:
    js?v=3.exp:38 Google Maps API error: MissingKeyMapError

    I’ve gone and triple-checked that the key is set in Settings, and I’ve even tried blanking it out and resetting it, and deactivating/activating the plugin. What am I missing? ??

    Any help would be greatly appreciated!
    Thanks,
    Dan

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author webaware

    (@webaware)

    G’day Dan,

    There’s something else on your website that is registering the Google Maps API script. You need to specify the API key for that plugin or your theme, and it will fix it.

    If you can’t find it, you can try to remove this conflict by installing this little plugin:

    https://gist.github.com/webaware/3806a2dfdf2abcb61f64

    cheers,
    Ross

    Thread Starter danpincas

    (@danpincas)

    Hello there!

    Thanks so much for getting back to me; I really appreciate it!

    You were right on the money; it turned out to be a Form Maker plugin I was using that was annoyingly loading the Google Maps API even though there wasn’t a form on the page, let alone a form that even had a map!

    Thanks so much, once I added the api key to that plugin’s options page, the issue was sorted out.

    I really appreciate you pointing me in the right direction. Plus, your plugin works great!

    Best,
    Dan

    Hello Ross,

    Thank you for your plugin and for your help on the subject. I have the same problem than Dan.

    I tried to find something responsible (plugin/theme) for that by looking for files in wp-content/ that could contain a string like “maps/api” which should be used to call the google api (https://maps.google.com/maps/api/js).

    The results were an inactive plugin (comprehensive-google-map-plugin), some jetpack module or widget (jetpack/modules/carousel/jetpack-carousel.js and jetpack/modules/widgets/contact-info.php) but I couldn’t find a place to configure them with the api key (I even tried in the code).

    Then I installed your plugin, activated it, empty the caches but I still get the same error.

    Any hints?

    Thank you very much!
    Morgan

    Plugin Author webaware

    (@webaware)

    G’day Morgan,

    Please open your own thread, and provide a link to your website. Hard to diagnose a problem I can’t see.

    cheers,
    Ross

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing API Key’ is closed to new replies.