X
135222

Issue with Google Maps embed not displaying

Hi,

We have used this option as we have disabled the Google API.
Go to myeventon->settings->google maps api->Disable Google Maps API and enable “Google maps javascript file only (If the js file is already loaded with another gmaps program)” option

We see the following errors in the Javascript below when we using Google Chrome’s developer tools


/wp-content/plugins/…ker.js?ver=1.10.1:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
js.hs-analytics.net/…700000/1943797.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
js.hsadspixel.net/fb.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
pixel.wp.com/g.gif?v…02787630287048226:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
eventon_script.js?ver=2.7.3:107 0 1
at HTMLBodyElement.r.handle (jquery.js?ver=1.12.4:3)

Looking fora solution – to help display embedded maps in our events.

The webpage the error is seen on is https://diamondmowers.com/about/events/
We only have one event created – IN SEPTEMBER – as we are new to the plugin.

Ben Gutnik
Diamond Mowers
bgutnik@diamondmowers.com

BY: Ben Gutnik - Aug 21,2019 AT 1:10PM - 5 years ago
    • Artem Aug 21,2019 AT 2:11PM - Posted 5 years ago - #135245

      Hello,

      Please deactivate Disable Google Maps API and then fix this error:

      Google Maps JavaScript API error: ApiNotActivatedMapError

      https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error

    • Ben Gutnik Aug 21,2019 AT 2:31PM - Posted 5 years ago - #135253

      Hi I did step #1 by DEACTIVATING “Disable Google Maps API”.

      Now – I’m stuck on what do with the API Key I created under our Google Cloud Platform.

      I did attach a screenshot that might be able to help…

    • Artem Aug 22,2019 AT 3:10AM - Posted 5 years ago - #135287

      Could you try following https://www.wpgmaps.com/documentation/creating-a-google-maps-api-key/ or https://developers.google.com/maps/documentation/javascript/get-api-key?

    • Ben Gutnik Aug 22,2019 AT 8:03AM - Posted 5 years ago - #135331

      OK – I think we have everything set up correctly – BUT we don’t have BILLING set up – which we likely would never get billed from Google, as we won’t exceed 40K API calls. But I don’t think the embed functions until you set up billing.

      We will try this and report back, to see if this makes it work.

    • Ben Gutnik Aug 22,2019 AT 8:34AM - Posted 5 years ago - #135333

      Billing is set up and Maps API are enabled. With no restrictions. It’s still not displaying. I’ll attach 3 screenshots
      – View from EventOn Event Settings for the specific event
      – Google Cloud view of API settings
      – Website view of the event (public-facing)

    • Ben Gutnik Aug 22,2019 AT 8:36AM - Posted 5 years ago - #135335

      Here’s the updated API view from Google Cloud

    • Ben Gutnik Aug 22,2019 AT 8:42AM - Posted 5 years ago - #135337

      Here’s the public-facing website view.

      You can see the Google Maps embed is not showing.

    • Artem Aug 22,2019 AT 11:31AM - Posted 5 years ago - #135350

      You didn’t assign any location: https://diamondmowers.com/wp-admin/post.php?post=11293&action=edit

      Please fix this error:

      Geocoding Service: This API project is not authorized to use this API.  For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key

    • Ben Gutnik Aug 22,2019 AT 1:31PM - Posted 5 years ago - #135393

      Hi – I put in a location earlier. And here’s a screenshot. Are we doing something wrong with adding a location?

    • Artem Aug 22,2019 AT 2:39PM - Posted 5 years ago - #135416

      It wasn’t assigned when I checked it so I assigned it myself. Did you update the event after the assignment? Could you also tell me if you created a new category or assign an existing one?

      Please also fix the Geocoding Service error.

    • Ben Gutnik Aug 23,2019 AT 6:21AM - Posted 5 years ago - #135493

      This event was already created and assigned before reaching out.

      No new categories were created, and we did not assign a new one.

      How would one fix the Geocoding Service error?

    • Artem Aug 23,2019 AT 1:21PM - Posted 5 years ago - #135583

      Please check https://www.wpgmaps.com/documentation/troubleshooting/this-api-project-is-not-authorized-to-use-this-api/

    • Ben Gutnik Aug 26,2019 AT 9:30AM - Posted 5 years ago - #135762

      Hi –
      This works now! Just had to turn on all 3 APIs.

      Google Maps JavaScript API
      Google Maps Geocoding API
      Google Maps Places API

      Thanks for your help on this!

      Ben
      Diamond Mowers

    • Artem Aug 26,2019 AT 1:19PM - Posted 5 years ago - #135810

      We are glad your issue is resolved, if you have any further questions or concerns please create a new ticket.

      If you have a moment, we would greatly appreciate if you could kindly leave us a review at codecanyon! from your account > downloads. Cheers!

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON