Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem after updating WordPress from 4.2 to 4.4.1. I can’t see why this is happening.
    https://www.manchesterveggieguide.org.uk/
    Shortcode: [googlemapsmashup query="nopaging=true" width="620" height="400"]

    Same problem … any clue?

    Hi,
    the pronamic google map doesn’t work correctly in tabs or accordions!? On page loading and selecting the tab which is placed the map – the map is empty. If i change the browser window size only a little bit. Then the map is showing.

    Thanks & Regards

    other Google Map Plugin has a fix like that:
    Are you trying to display the map in Tabs or Accordions?
    If you are trying to display the map in a tab or an accordion, you’ll need to modify the code to suit this (We have tried to put a universal check in for this but depending on your theme or plugin, this may not work as it should).

    Please open wp-google-maps-pro/js/core.js and search for the following piece of code:

    jQuery(‘body’).on(‘tabsactivate’, function(event, ui) {
    for(var entry in wpgmaps_localize) {
    InitMap(wpgmaps_localize[entry][‘id’],’all’,false);
    }
    });
    Directly below that, add the following:

    jQuery(‘body’).on(‘click’, ‘.the_class_name_of_your_tab_or_accordion’, function(event, ui) {
    for(var entry in wpgmaps_localize) {
    InitMap(wpgmaps_localize[entry][‘id’],’all’,false);
    }
    });
    Replace the .the_class_name_of_your_tab_or_accordion with the relevant class name of the element.
    Reply ↓

    the pronamic google map doesn’t work correctly in tabs or accordions!?

    Thanks for the suggestion, ds888, but my site isn’t using tabs or accordions, I’m no closer to getting the mashup to display. I’m using a child of the theme ‘Yoko’. Has anyone else got theirs working again yet, please?

    Plugin Author Reüel

    (@pronamic_reuel)

    I’cant reproduce any issues regarding Pronamic Google Maps not working with WordPress 4.4.2. The shortcode provided by Duck Whistle seems to work just fine in my test environment.

    @patrick30 In the developer console I see that the marker image is missing on the server. Are the markers shown after uploading the image?

    [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (https://www.lifelinerepairs.com/wp/wp-content/themes/lifelinerepairs/images/pin-marker.png)

    @duck Whistle: I can see the following shortcode on your page: [googlemapsmashup query="nopaging=true" width="620" height="400"]. Are you sure that the Pronamic Google Maps plugin has been activated? If so, please enable WP_DEBUG in wp-config.php to see any hidden error messages, which might lead to a solution.

    Duck Whistle

    (@duck-whistle)

    Thanks for the suggestion, Reüel. I had activated the plugin. WP_DEBUG did not show any errors, but I noticed that there was a sneaky non-breaking white space character in the output HTML like this:
    [googlemapsmashup query...]
    Now I’ve replaced that with a regular space, it all works.

    Plugin Author Reüel

    (@pronamic_reuel)

    Thank you for yoru update; glad to hear it’s working!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mashup Map not showing anymore after update’ is closed to new replies.