• Hi, first of all, this plugin is a hidden gem and I am so happy that I stumbled upon it.

    I was able to add [leaflet-gpx] to my post but now I would like to know how to add popups to both start and destination markers.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor hupe13

    (@hupe13)

    Place markers like:

    [leaflet-marker lat=... lng=...]your popup[/leaflet-marker]
    Thread Starter painlessseo

    (@painlessseo)

    Hi @hupe13 thank you for your reply.

    The [leaflet-gpx] trk I created already have two wpts and if I use [leaflet-marker]popup[/leaflet-marker], wouldn’t it result in two markers on top of each other at the same pin point?

    Thank you!

    Plugin Contributor hupe13

    (@hupe13)

    If the gpx file contains waypoint on start and end only, they should have a name:

    <wpt lat="..." lon="...">
    <name>Start</name>
    </wpt>

    The nameist the popup content.

    Thread Starter painlessseo

    (@painlessseo)

    Hi @hupe13 , unfortunately it only shows the marker and no popup can be found when the user clicks on it. I added both <name> and <desc> tags inside the wpt wrapper.

    Plugin Contributor hupe13

    (@hupe13)

    Do you have a link to a test page?

    Thread Starter painlessseo

    (@painlessseo)

    @hupe13 Is it okay for me to share the link with you in a private manner? Can I contact you directly through your contact me page: https://leafext.de/en/doku/about/

    Plugin Contributor hupe13

    (@hupe13)

    Yes, of course.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add popups to start and destination markers’ is closed to new replies.