• Resolved daniele8808

    (@daniele8808)


    hi I create this topic because I do not see the map from mobile and desktop.
    I have tried both as a logged in user and not logged in and I have already disabled the plugin I use for the cache and I am using the map in low resolution.

    I have the latest version of the plugin installed and my map should show in the popup after clicking on the button icon.

    Can you help me understand why it doesn’t show up?

    link -> https://thecharger.eu/prova-mappa/

    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Carlos Moreira

    (@carlosmoreirapt)

    Hi @daniele8808
    The way the elementor popups work is not compatible with the way the maps load in the current version, since the map container doesn’t exist on the page yet, when the page loads, so the map fails to render.
    You will need to trigger some custom javascript to render the maps when the popup loads.

    If your button as a unique ID (myButton for the below example) you could add something like this to the map’s custom JS:

    let myButton = document.querySelector('#myButton');
    myButton.addEventListener('click', function(){
    setTimeout(function(){ iMaps.reset(); },500);
    }, false);

    This triggers the code when the button is clicked, after 500 milliseconds and the maps display. This code or a variation of it would be needed to make the map render when the popup loads.
    Hope it helps
    Greetings, Carlos

    Thread Starter daniele8808

    (@daniele8808)

    Thank you very much Carlos. Now it’s work!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MAP not display’ is closed to new replies.