Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WPGMaps

    (@wpgmaps)

    Hi Joe.

    Thank you for your kind words.

    I visited your map and it seemed to have loaded without any issues on the initial page load. Which browser are you using when this occurs?

    Thread Starter joestuart

    (@joestuart)

    Thank you,

    I am using Chrome. But same thing in Firefox and Safari too.I have a screen shot here of what the map looks like.

    Thank you.

    Plugin Author WPGMaps

    (@wpgmaps)

    Hi Joe
    Ah OK, thank you for that. I see it is an intermittent error.

    Please open wpGoogleMaps.php and search for this:

    jQuery('body').on('tabsactivate', function(event, ui) {
     MYMAP.init('#wpgmza_map', myLatLng, <?php echo $start_zoom; ?>);
     UniqueCode=Math.round(Math.random()*10000);
     MYMAP.placeMarkers('<?php echo wpgmaps_get_marker_url($wpgmza_current_map_id); ?>?u='+UniqueCode,<?php echo $wpgmza_current_map_id; ?>,null,null,null);
    });

    Just below that, add this :

    jQuery('body').on('click', '.vc_tta-tab', function() {
     MYMAP.init('#wpgmza_map', myLatLng, <?php echo $start_zoom; ?>);
     UniqueCode=Math.round(Math.random()*10000);
     MYMAP.placeMarkers('<?php echo wpgmaps_get_marker_url($wpgmza_current_map_id); ?>?u='+UniqueCode,<?php echo $wpgmza_current_map_id; ?>,null,null,null);
    });

    This should help. Please let me know?

    Thread Starter joestuart

    (@joestuart)

    Hello,

    Thank you for your reply. I was searching in the plugin folder and I couldn’t find the file, why because i’m an idiot. It is not your plugin – The plugin that is installed is: “WP Google Maps plugin” I though it was the same plugin as “WP Google Maps”.

    Sorry for the inconvenience, I wish to use your plugin next time.

    Thank you for your help.
    Joe

    Plugin Author WPGMaps

    (@wpgmaps)

    Hi Joe.

    So sorry for the confusion caused. I hope you come right with the plugin though ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Map showing empty map’ is closed to new replies.