• Resolved Anne-Laure

    (@dionysiaque)


    Hi, I’ve added a Google Maps API Key to display maps for event locations.
    The following APIs are enabled:
    • Street View Publish API
    • Maps JavaScript API
    • Maps SDK for Android & iOS
    • Maps Static API
    • Street View Static API
    • Aerial View API
    • Maps Elevation API
    • Geocoding API
    • Geolocation API
    • Places API (New)
    • Time Zone API
    • Routes API
    • Roads API

    I assumed that enabling Geocoding API, Maps JavaScript API, and Maps Embed API would be sufficient for the integration to work.

    However, when I enter and submit an address, the map remains centered on NYC and a pop-up appears with the message:
    “This page can’t load Google Maps correctly.”

    In the browser javascript console, I see this error:
    “This API project is not authorized to use this API. Places API error: ApiNotActivatedMapError”
    https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error

    Additionally, I get this warning:
    “Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance.” https://goo.gle/js-api-loading

    The only restriction on my API Key is domain-based, meaning it’s restricted to my WordPress site.
    The link mentioned in the console is of no help since all the suggested solutions for the error have already been applied.

    Could you help me resolve this issue?

    Thanks in advance!
    Best regards,

Viewing 1 replies (of 1 total)
  • eventprimesupport

    (@eventprimesupport)

    Thanks for reaching out to us.

    Please make sure that you have enabled all the APIs as well.

    If the issue persist please let us know.

Viewing 1 replies (of 1 total)

The topic ‘Google Maps API integration not working’ is closed to new replies.