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.
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?
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.
Support forum for Event Espresso 3 and Event Espresso 4.