Set google map to full browser window width

This topic has 6 replies, 3 voices, and was last updated 9 years, 5 months ago ago by Jack Richardson

  • Avatar: JimCore
    JimCore
    Participant
    July 13, 2016 at 17:42

    Hi, I’d like to set my google map, generated from maps.google.co.uk and using an iframe, to the full width of the browser window, as seen on this Royal demo page. I’m also using the Royal Theme

    5 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    July 13, 2016 at 17:48

    Hello,

    You can use Visual Composer element to add Google map http://prntscr.com/bsgqgz.
    Please try it.

    Regards,
    Eva Kemp.

    Avatar: JimCore
    JimCore
    Participant
    July 14, 2016 at 09:08

    Thanks for the reply Eva, but that’s not helped. I get an error saying

    This page was unable to display a Google Maps element. Please contact the site administrator. If you are the administrator of this site, please check the JavaScript console or check the following page for troubleshooting: http://g.co/mapsJSApiErrors

    when I try to open the web page. I’m instead using this
    google maps block
    Which displays a map just fine, but it is not the full width of the browser window.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 14, 2016 at 09:52

    Hello,

    As I see you are using old version of Ultimate Addons for Visual Composer plugin. You need to update it to the latest one, you can download it here https://www.8theme.com/download-plugins/

    Also refer to the article https://docs.brainstormforce.com/how-to-create-google-api-key-in-order-to-make-the-google-map-element-work/ to fix the problem with google map.

    Best regards,
    Jack Richardson.

    Avatar: JimCore
    JimCore
    Participant
    July 14, 2016 at 11:05

    Thanks, it seems that was the problem

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 14, 2016 at 11:41

    Hello,

    You are welcome.

    Best regards,
    Jack Richardson.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘Set google map to full browser window width’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.