• Resolved mj187

    (@mj187)


    I’ve added my own API key from Google and enabled both Geocoding API and Maps JavaScript API as requested, however the google map no longer appears (the key is receiving the requests) and just a grey box is shown.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter mj187

    (@mj187)

    What URL is the API request is sent from? The map stops working when I restrict the key to my TLD (wildcard).

    Hello @mj187 – Try confirming each of the following things:

    First, confirm that you’ve actually entered your full, un-edited API key into the correct settings field in the wp-admin.

    Next, head to your Google Cloud Platform Maps API management page and select the project that your API key belongs to. Using this screenshot as a reference, confirm that both Geocoding API and Maps JavaScript API show up in the In use APIs section of the project’s APIs page.

    If neither is enabled, make a new API key and ensure that the new API key has both APIs enabled for it. If issues persist, contact Google’s support team by clicking the Support tab in the left-hand sidebar—they should be able to help ensure that both of these free APIs are enabled for your API key.

    Finally, confirm that your venues have valid longitude and latitude data. If you created venues before adding your own custom Google Maps API key, you will need to add your custom API key and then use the “Fix venue data” button (see screenshot) in The Events Calendar’s settings to update the data and make it accurate.

    Here’s our full article on it https://theeventscalendar.com/knowledgebase/k/setting-up-your-google-maps-api-key/

    Thread Starter mj187

    (@mj187)

    @koriashton Thanks for extensive reply, this issue was actually resolved already.

    Oh great to hear! If you’re able to share on this thread what the fix was it might be helpful to others too.

    Plugin Support Jaime

    (@jaimemarchwinski)

    I’m going to go ahead and close this thread since your issue has been resolved.

    Feel free to open up a new one if anything else comes up.

    Have a wonderful day!

    Thanks,
    Jaime

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google map disappears when API changed’ is closed to new replies.