Support

Home Forums Event Espresso Premium google map is not showing with valid api key

google map is not showing with valid api key

Posted: June 18, 2019 at 4:08 pm

Viewing 3 reply threads


dirk.tussing

June 18, 2019 at 4:08 pm

Hi event espresso team,

The google map is showing in my venue details page. I have turned on the google map in the venue settings and made sure of that api key is valid.

Is there anything else I’m missing? Could anyone help me troubleshoot?

Here’s the site:
http://3.93.22.4/venues/ge-healthcare-institute-conference-cente/

Thanks.


Tony

  • Support Staff

June 19, 2019 at 6:32 am

Hi there,

Looking at your event I see the Google maps loading – https://monosnap.com/file/INIjsHeqYZbZotO8Nr89ihQXbiwgrz

I’m guessing you’ve already fixed this?

Note there’s a JS error from a particles.js file being thrown on the above page, I’d recommend fixing that as it’ll prevent any JS from running that is loading after that error is thrown.


dirk.tussing

June 19, 2019 at 11:23 am

Hi Tony,

Thanks for the reminder on the js error. Yes, we realized that the google map needs to be turned on in each individual venue config page. While this thread is still open, I have a follow-up question regarding the google map direction link, so far I’m using
echo '<a href="https://www.google.com/maps/dir// ' . $venue->address() . ', ' . $venue->city() . ', ' . $venue->zip() . ' " target="_blank">Get direction</a>';
this line of code to direct user to google map page for direction. Is this alright or there is a builtin method?

<a href=”http://3.93.22.4/events/ele-chicago-meetup-july-2019/
” title=”” rel=”” target=”_blank”>meetup

Thanks!


Josh

  • Support Staff

June 20, 2019 at 5:15 pm

Hi,

The EEH_Maps::google_map_link outputs a very similar link. You could extend that class and make a similar method, or build a new function and reuse much of that method’s code.

Viewing 3 reply threads

The support post ‘google map is not showing with valid api key’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso