perliedman / leaflet-routing-machine

Control for routing in Leaflet
https://www.liedman.net/leaflet-routing-machine/
Other
1.08k stars 350 forks source link

How do you add icons #581

Closed silgon closed 4 years ago

silgon commented 4 years ago

I don't seem to find the answer, at least not in the documentation. I would like to add a different icon for every waypoint. Is it possible? how can I do that?

perliedman commented 4 years ago

There are several issues with questions about this. Use the createMarker option.