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
This topic has 6 replies, 3 voices, and was last updated 9 years, 5 months ago ago by Jack Richardson
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
Hello,
You can use Visual Composer element to add Google map http://prntscr.com/bsgqgz.
Please try it.
Regards,
Eva Kemp.
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

Which displays a map just fine, but it is not the full width of the browser window.
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.
Thanks, it seems that was the problem
Hello,
You are welcome.
Best regards,
Jack Richardson.
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