• Resolved pete851

    (@pete851)


    Hi, I am trying to get a map with a GPX overlay to open in a popup. It all works fine when I set it to open in a page but in a popup the map space is blank, the Download File For GPS is present and works.
    I have found the same issue with several different popup plugins.
    Ultimately I want to have up to about 30 GPX routes in a selectable list and did not want to create 30 separate pages.
    Are you able to suggest a fix?
    Pete

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author skirridsystems

    (@skirridsystems)

    I had a quick look at popup plugins and tried ‘Popup Anything on click’

    The problem with it is that it uses Javascript to insert the code right before the closing body tag, and the script that gets called to fill the map has already been executed by then.

    I’ll see if there’s a way of moving the final function call so that it is placed with the HTML in this instance.

    Thread Starter pete851

    (@pete851)

    Thank you for taking the time to look into this, as some with limited experience of working with WordPress it is greatly appreciated.
    Pete

    Plugin Author skirridsystems

    (@skirridsystems)

    No joy, I’m afraid. I tried moving things around. I tried different popup makers, and I tried other Leaflet map plugins. I just can’t find a way of getting any Leaflet map to work within a popup window.

    If anyone knows an answer, I’d love to hear it but for now I’m going to have to say not possible.

    Thread Starter pete851

    (@pete851)

    Thank you for investigating this issue, I will look at other ways to create a maps library.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Map in a popup’ is closed to new replies.