Google Map not showing in the Event details

Home Forums Calendar Products Events Calendar PRO Google Map not showing in the Event details

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #796903
    bodin
    Participant

    Hi,
    today I discovered that the Google Maps that can be added for an Event in the Event details do not show at all. There is just a grey box where the actual maps should show up.
    If I click the Venue URL, the maps appears.
    Would appreciate some assistance. 🙂

    Thank you in advance!
    ~Andreas~

    #796932
    Brian
    Member

    Hi,

    Sorry for the troubles with the Google Maps. We have an issue with sites that have had the Events Calendar installed for a long time using an old option which causes the map to have zero height.

    Please use this filter to resolve the issue until we can launch another release.

    add_filter( 'tribe_get_option', 'adjust_tribe_embedded_map_height', 10, 2 );

    function adjust_tribe_embedded_map_height( $value, $property ) {
    if ( 'embedGoogleMapsHeight' !== $property ) return $value;
    return '350px';
    }

    Let me know if that does not work for you.

    Thanks

    #796965
    bodin
    Participant

    Hi Brian,

    thank you very much.
    Where shall I add the code snippets that you posted?

    Sincerely,
    ~Andreas~

    #796984
    Brian
    Member

    Your theme’s functions.php or in a custom plugin.

    #797084
    mattcuba
    Participant

    Hi Brian,

    When I add the code above to the functions.php file, I get a hearder error, when I add the code to my Custom CSS plugin, nothing changes.

    #808140
    lidocollective
    Participant

    Hi there,

    Im having the same problem and the code didnt seem to work when I added to my themes function.php.

    Please assist, cheers, Sam

    #808203
    Brian
    Member

    mattcuba,

    Sorry for missing your post, but I can help out and then if you would like some more help please create a new ticket.

    I get a hearder error, when I add the code to my Custom CSS plugin, nothing changes.

    The header error sounds like the coding is not correct in the functions.php and then it is printing itself into the header causing the error, please make sure all quotes are closed and you may want to try replacing each one after you copy the code.

    And the Custom CSS plugin will not use this coding it must go in your functions.php

    lidocollective,

    Can you please create a new ticket and we can help you there. It is mush easier for us to troubleshoot with just you that way and not miss anything. Also bodin get’s ping every time we post here 🙂

    When you do please include a link to the site you are having trouble with and what steps you took to add the filter.

    Also we do have a maintenance release we are hoping to release early this week to address this issue if you would like to wait for that.

    Since bodin’s original question has been resolved I am going to close this ticket to not keep pinging him with messages.. bodin if it is not resolved please create a new ticket and we will help out more.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Google Map not showing in the Event details’ is closed to new replies.