Leaflet.PolylineDecorator
Leaflet.PolylineDecorator copied to clipboard
PolylineDecorator pane
Hi, we are using polyline decorator to display arrowheads on top of polylines in our application and I have recently begun to use panes. But unfortunately the arrowhead is being rendered in the overlay pane by default, even though the polyline its being rendered on is within a custom pane. Is there a way to fix this so that the arrowhead is also rendered in the same pane? TIA
Just add it to the path options of L.Symbol. You can use all possible path options there, including pane.