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

    (@hupe13)

    Unfortunately not.

    Maybe you can use multielevation. But Friesland is flat. ??

    I have on my private website a map with the starting points with an url to the tour page in the popup. For every tour I have an extra page.

    Or you can load all gpx-files with leaflet-gpx on one map.

    Thread Starter weeri

    (@weeri)

    Okay, the map with starting points with url to page was my next option. The example of Visit Friesland looked so neat though.

    Thanks again for your time

    Thread Starter weeri

    (@weeri)

    Now I’ve created groups with options. It seems like I’m doing something wrong. I used “Title” as option and added titles to the different elements that I want to be grouped.

    [leaflet-marker lat=52.958399386474 lng=5.9642760470653 iconUrl=xyz.png iconSize="30,30" visible title=startpunt]
    
    [leaflet-extramarker lat=52.94975603 lng=5.96737788 icon=fa-number number=2 title=knooppunt]
    
    [leaflet-extramarker lat=52.94482833 lng=5.96682681 icon=fa-number number=19 title=knooppunt]
    
    [leaflet-extramarker lat=52.93836723 lng=5.96904417 icon=fa-number number=9 title=knooppunt]
    
    [leaflet-optiongroup option="title" values="knooppunt, startpunt" groups="Knooppunten, Startpunt" substr]

    The leaflet-marker works as I want. I can toggle on/off startpunt.
    However, the extramarkers don’t seem to get added to a group. Instead, a single new marker is created – see screenshot.

    Thread Starter weeri

    (@weeri)

    Okay, the ‘extra’ circle with “2” was a cluster. I don’t want it to be clustered though.

    Thread Starter weeri

    (@weeri)

    Nevermind, I accidentally added all extramarkers double… I’m learning though ??

    Plugin Author hupe13

    (@hupe13)

    Your code works as expected. The new “green marker” are 2 markers in a cluster. From help: /wp-admin/admin.php?page=extensions-leaflet-map&tab=markercluster

    When markers are grouped, Leaflet.markercluster is automatically active and the parameter and settings for cluster are valid too.

    Use disableClusteringAtZoom=0:

    If set, at this zoom level and below, markers will not be clustered. If 0, it is disabled.

    Our posts have crossed. ??

    • This reply was modified 10 months ago by hupe13.
    Plugin Author hupe13

    (@hupe13)

    I will mark this as resolved. You are welcome to open a new support topic if you have any questions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Show GPX route after click on marker’ is closed to new replies.