Viewing 15 replies - 1 through 15 (of 28 total)
  • I am also having an issue. WordPress and plugins are updated. Using latest Avada theme. Changed theme to Twenty Sixteen, turned off all of the plugins but still no map. Didn’t create an API. But turned off Google map scripts in template in case of conflict (double reference of script). Tried a few different addresses. Any ideas? – https://aaaht.com/event/zoonotic-disease/

    Found a support post and followed directions to get Google api key – https://wpgeodirectory.com/this-page-didnt-load-google-maps-correctly-see-the-javascript-console-for-technical-details-fix/ – this fixed the problem – Thanks – Marilyn

    Thread Starter Chris

    (@munch40)

    Thanks biphoto2, it didn’t work in my case.

    I found this info which was geared toward an issue where the Google map script was loading twice. Once by Event Calendar and once by the theme. Just in case this helps.

    add_action(‘wp_enqueue_scripts’, ‘tribe_dequeue_google_maps’, 11);
    function tribe_dequeue_google_maps() {
    wp_dequeue_script(‘gmaps’);
    }

    Marilyn

    I have an issue with google maps as well. When I firs installed “The Events Calendar” it didn’t work but I did not want to deal with setting up an google API key. So I just unchecked the box (activate Google maps).

    Now I wanted to activate it again (in the meantime I also have an api key), but now nothing shows up, not even an empty grey field.

    Does anybody know, if that could be related to the display.settings:

    – Standard Stylesheet
    – Eventtemplate

    I tried probably all possible combinations and it doesn’t work.

    I am wondering if the template has been altered when IO unchecked the box (activate Google maps).

    Has anybody similar experiences or knows how to solve this issue?

    Regards

    Mspreer – Did you use this plugin to add the api to the website – https://www.ads-software.com/plugins/api-key-for-google-maps/

    I just had a look at it (installed and activated) – but it doesn’t change a thing .. Sorry.

    But like I mentioned before, it seems like unchecking Google Maps in the settings of The Event Calendar just changed something…. It just seems like I can not switch it on again …

    Do you have the APIs tab in Settings? Your whole Map Settings section is missing?

    I am getting just a gray square where the map should be… I have my API key set up and my domain registered to it. Not sure what’s happening…

    Bizarre — I just checked and the maps feature is working on my dev server where I built the site, even without an API key entered. Both domains had been authorized as referrers on Google. I know sites that previously used maps supposedly don’t need an API, so wondering if that has something to do with it if I had possibly used maps on another site before (not sure).

    Thread Starter Chris

    (@munch40)

    Still not working here.

    What I did do is borrow another client’s Event’s Calendar Pro Plugin just to try it (but I did not enter the Licence Key). When I activated it, it threw this message …. “You have venues for which we don’t have Geolocation information. Click here to generate it.”

    I clicked the ‘generate it’ to see what happened. Went to the event and the map isn’t showing.

    I don’t know whether adding the Licence Key would make any difference.

    The reason for not entering the other client’s licence no. is I don’t want to interfere with the Pro Version as the client relies heavily upon it and do not want to upset its usage if there are any interdependencies .

    Okay, I figured it out. In your API key setup, be sure to authorize your domain as a referrer, where it says “Accept requests from these HTTP referrers (web sites)” I believe you can leave this blank during development, but in production you must authorize your domains.

    MY problem was that I used their example text in the field which they provide as:
    *.example.com/*

    However, I’m not using ‘www’ so what I needed to add was:
    example.com/*

    WITHOUT the leading period. I think the first time I got it working I had just put in ‘example.com’ without any slashes or wildcards, so it’s unbelievably annoying that their example doesn’t just say to put in the base domain name since that appears to work.

    Google is the new Microsoft as far as the source of my development frustrations these days. >:(

    Hope this helps you, @chris!

    Chris, what does your browser’s inspector console say? There are a variety of errors that you’d be able to see. This is what helped me troubleshoot my issue. How you access the console depends on your browser.

    Oh, and lastly, in the API Key setup, another thing I had done was the steps in the “Domain verification” tab to verify my domain ownership. I have no idea if this is required as I can’t find any mention of it in the docs (it doesn’t even turn up when you search the API help docs, go figure), but I’d also try that step.

    Thread Starter Chris

    (@munch40)

    Thanks,

    I did all that you suggested but it didn’t make any difference. :-(.

    I created a new event and also created a new venue.

    What about the Console, I believe you should see any errors at all there. That will go a long way.

    What’s the URL? I can check if you don’t mind sharing.

    Thread Starter Chris

    (@munch40)

    After your previous message, I realised I hadn’t check the console. Well, that’s led to some interesting things. So I have been busy in background since your last message, I appreciate your follow-up.

    It seems it’s trying to load two versions of Google Maps API.
    So I thought I would check around and have followed these steps.

    1. I’ve deleted the Events Calendar Plugin to start again and ground zero.
    2. Checked that there were no left over tables, seem to be none.
    3. Refreshed the Site, without the Events Calendar Plugin and checked the console again and I get this…..

    Uncaught InvalidValueError: initMap is not a function js?key=AIzaSyA0Nna0IpLpB5FMBGDJtl6k4MRweh9XhEw&callback=initMap:94 Uncaught InvalidValueError: initMap is not a function

    Wg @ js?key=AIzaSyA0Nna0IpLpB5FMBGDJtl6k4MRweh9XhEw&callback=initMap:94
    (anonymous function) @ js?key=AIzaSyA0Nna0IpLpB5FMBGDJtl6k4MRweh9XhEw&callback=initMap:129
    google.maps.Load @ js?key=AIzaSyA0Nna0IpLpB5FMBGDJtl6k4MRweh9XhEw&callback=initMap:21
    (anonymous function) @ js?key=AIzaSyA0Nna0IpLpB5FMBGDJtl6k4MRweh9XhEw&callback=initMap:128
    (anonymous function) @ js?key=AIzaSyA0Nna0IpLpB5FMBGDJtl6k4MRweh9XhEw&callback=initMap:129

    4. I also deleted the API as well and still get the same message.

    5. The site is https://illawarrariders.net

    I figure if we resolve this issue then I re-install the events-calendar plugin and see how it goes.

    See what you think.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Google Maps not showing’ is closed to new replies.