• Resolved weeri

    (@weeri)


    Hi there,

    With the [elevation gpx] shortcode, I add my route. In the elevation graph, you can see the information on different waypoints (they are numbered in the Netherlands). Inside my GPX file, these points are shown like this:

    <wpt lat="52.93946428" lon="5.97149565">
        <name>8</name>
    </wpt>

    I get pins in my map. When I hover or click, I get the label/title information.

    However, I want this title information to always be visible. I would also like to group the waypoints so users can toggle them on/off in combination with other markers that I will place myself.

    And example of how I want it to look like can be found on this page: https://www.friesland.nl/nl/plannen/zien-en-doen/activiteiten/1000-routes/alle-routes/3909677164/geniet-van-de-bijzondere-vergezichten-van-it-butenfjild

    I just don’t know how I can make this possible…

    All the best,

    Weeri

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author hupe13

    (@hupe13)

    Your gpx file has errors in it. Some trackpoints do not have an elevation height. If you correct this, then can you see the elevation profile.

    I would also like to group the waypoints so users can toggle them on/off in combination with other markers that I will place myself.

    This you can’t do with elevation only. Use waypoints=dots to hide waypoints on the map:

    [leaflet-map height=400 fitbounds]
    [elevation gpx=/path/to/Landgoed-Oranjewoud-Route-3.gpx waypoints=dots]Track[/elevation]

    Then you can use leaflet-extramarker as you have already done. These you can group.

    However, I want this title information to always be visible.

    leaflet-marker has an option visible=true, but this doesn’t work with leaflet-extramarker. This seems to be a bug. I’ll have a look at that.

    Thread Starter weeri

    (@weeri)

    Thanks for your quick reply. Then I’ll continue with extramarkers.

    Plugin Author hupe13

    (@hupe13)

    However, I want this title information to always be visible.

    The bug is fixed in the next version. But you can show only one popup at a time.

    Thread Starter weeri

    (@weeri)

    I have made some advancements. However, now Labels still show (pop-up after click) even when there is no text between [extramarker][/extramarker]

    https://padenplekjes.nl/landgoed-oranjewoud-route-3-2/

    I have already tried some things with [hover] and adding extraClass but it doesn’t seem to work.

    Plugin Author hupe13

    (@hupe13)

    Write only

    [leaflet-extramarker ....]

    without [/leaflet-extramarker]. Then the marker does not have a popup.

    Thread Starter weeri

    (@weeri)

    Ah, thanks. I thought I tried that before, but then my whole page was blank. Probably did something wrong before…
    Thanks again for the quick reply!

    Plugin Author hupe13

    (@hupe13)

    Does it work now as expected? I will mark this as resolved. You are welcome to open a new support topic if you have any questions.

    Thread Starter weeri

    (@weeri)

    Thank you for all your replies, also on other topics. Due to moving between houses, this map project is a bit on hold for now. But it will continue soon.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Always display label on Elevation GPX map’ is closed to new replies.