Google Map View

Home Forums Welcome! Pre-Sales Questions Google Map View

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #798459
    James Ogston
    Guest

    Hi there
    we have noticed after updating your event plugin that the Google map view has gone

    please advise what we need to do to rectify this

    thanks

    #798906
    Brian
    Keymaster

    Hello,

    I can help answer your question about the map view.

    Are you talking about the maps on the venue or single event pages?

    We do have a glitch where sites that have had the Events Calendar installed for a long time are using an old option that causes the map to have zero height.

    Adding this filter to your theme’s function.php will help solve the issue until the next 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 works for you.

    #807321
    Brian
    Keymaster

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Google Map View’ is closed to new replies.