Making an icon a clickable route

Hello,
I have an OpenStreetMap on my website that connects various mountain trails to related articles on the site. I would like to make it so that, in the style of Outdooractive, when I click on the route icon, instead of just displaying the article popup, the route appears on the map, preferably removing the other points. I have been searching for a plugin for days, but I can’t find one. Can you tell me if there is a simple way, without having to write too much code, to achieve this?

3 posts - 3 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/making-an-icon-a-clickable-route/99873