• Resolved OrbitCarrot

    (@orbitcarrot)


    Hey when I have a map inside of a Visual Composer tab it shows just a gray box – the first tab which displays on load shows the map fine, however the second and third tabs which also have maps only show a gray box when you click on them.

    Is there anyway to force a map refresh in JS which I can call on tab click or is there something else you can recommend to get this working?

    https://wordpress.org/plugins/google-maps-builder/

    Worth noting i’ve tried modifying a previous suggestion for a different issue calling this code on tab click:
    var panel = jQuery( ‘.vc-active’ ).find( ‘.google-maps-builder’ );
    window.google_maps_builder_load(panel);

    It’s still in development but you can view it here:
    https://hosts.cx/ by entering 149.255.58.106 and hazelvine.com into it to view the dev site. It’s then the contact page.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Map showing graybox inside a tab (Visual Composer)’ is closed to new replies.