Google map resizing on the single venue page?

Home Forums Calendar Products Events Calendar PRO Google map resizing on the single venue page?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #968697
    James
    Participant

    Hi,

    With regards to the google map that shows on the Venue page, my map seem to be a little on the small size about 491px x 211px.

    To get an idea of sizing check https://www.jamesdoylephoto.com/?p=34282

    On the Event page the size is about right at 588px x 363px.

    How do I change the size on the Venue page to a larger size?

    Also, is there a way to have the maps show Satellite view by default?

    Thanks for any assistance.

    Cheers

    James

    #968783
    Brian
    Member

    Hi James,

    Thanks for using our plugins.

    I can help out here.

    You are going to want to follow our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    To move and edit this file:

    events-calendar-pro\views\pro\single-venue.php

    In 3.10 it will be in this location:

    events-calendar-pro\src\views\pro\single-venue.php

    To this file in your theme:

    yourtheme\tribe-events\pro\single-venue.php

    There you can modify this line:

    <?php echo tribe_get_embedded_map( $venue_id, '100%', '200px' ); ?>

    Change that 200px to the height you would like.

    For the width try out this css and change the percentage (default is 50%)

    .tribe-events-venue .tribe-events-venue-meta .tribe-events-map-wrap {
    width: 60%;
    }

    Add that css to your theme’s stylesheet or through a plugin such as Simple Custom CSS.

    Also, is there a way to have the maps show Satellite view by default?

    There is no option to default to Satellite. Although you could try modifying it if you really like. I outline steps how to do that here:

    How to change default gmap view to satellite – on events and venues

    Let me know how the Venue Map Size works out.

    Thanks

    #969213
    James
    Participant

    Hi Brian,

    That worked a treat thanks! About a minute and it was done.

    I haven’t done anything with the using Satellite by default, looks a bit complicated for me.

    As always, great support from you guys and gals, there at Tribe!

    Go ahead and close this thread if you want Brian.

    Cheers

    James

    #969424
    Brian
    Member

    Great glad it helps.

    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Google map resizing on the single venue page?’ is closed to new replies.