Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Devin Walker

    (@dlocc)

    Hey There,

    In WordPress admin enter the map you want to make 100% width and then on the right side you’ll see “Map Size” – set the width to % and 100. Does that work for you?

    Thread Starter TehCrucible

    (@tehcrucible)

    Height, not width. The height option on the right doesn’t have a percentage option.

    Thread Starter TehCrucible

    (@tehcrucible)

    Solved it. For anyone else who finds this post:

    Don’t set the height in the WordPress backend, that way it won’t set the element style. You can then overwrite the default height of 600px with the .google-maps-builder class.

    At a guess, I’d say this is only a viable solution if you’re only using the one Google map on the page. As a feature suggestion, giving a percentage or vh setting to the height in the backend would be handy.

    Cheers.

    Plugin Author Devin Walker

    (@dlocc)

    Good call. Thanks for your suggestion. I’ve added it to our GitHub: https://github.com/WordImpress/google-maps-builder/issues/13

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Any way to set the map size to 100% or 100vh in height?’ is closed to new replies.