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

    (@dlocc)

    Hey there @superserge,

    Try adding this bit of JavaScript to the page:

    jQuery( '.ui-accordion-header' ).on( 'click', function ( e ) {
    			var panel = jQuery( '.ui-accordion-content-active' ).find( '.google-maps-builder' );
    			window.google_maps_builder_load(panel);
    		} );
    

    That should make it so when the accordion is clicked the map refreshes.

    Thread Starter SuperSerge

    (@superserge)

    Hi Devin,

    thanks for your help, but still doesn’t work… I’ve add it with Scripts n Styles, but the maps doesn’t look to refresh.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying several maps in tabs’ is closed to new replies.