I made a little pull request for the Leaflet.PolylineDecorator module: Arrow Heads can be rotated (e.g. for backward direction or - as shown in the example - perpendicular to the line).

Hi, I'm the admin of OpenStreetBrowser openstreetbrowser.org
If you have any questions, please ask!

En OSM Town | Mapstodon for OpenStreetMap

A Mapstodon instance for the OpenStreetMap Community (English language)! This site is under construction, and may change. Our francophone friends have a Mastodon instance: fr.osm.social