• Resolved akoelsch

    (@akoelsch)


    First of all, thanks for this plugin and the effort you put into support. It really adds some value to the original leaflet maps.
    I was wondering whether it is possible to use custom icons for waypoint markers or they are hard-coded.

    I know one can create markers with custom icons with the shortcode
    [leaflet-marker lat=x lng=y iconUrl=””]name[/leaflet-marker]
    But this way the markers are not added to the height profile of the map.

    On the other hand, if I add the wpt markers to the gpx file and load them using [elevation gpx], I could not find a way to define an icon.

    What I would like is the combination of both, i.e. wpt markers that appear both in the map and the elevation profile and that have configurable items. Is this possible?

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter akoelsch

    (@akoelsch)

    Ahh, got it. So, custom icons work in both cases, but “defined” can additionally set iconSize etc.

    • This reply was modified 3 years ago by akoelsch.
    Plugin Author hupe13

    (@hupe13)

    The only thing that appears to be hard-coded to 30px is the iconSize.

    Yes, you can now change this.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Custom Icons’ is closed to new replies.