Leaflet.PolylineDecorator icon indicating copy to clipboard operation
Leaflet.PolylineDecorator copied to clipboard

PolylineDecorator pane

Open derekreilly1990 opened this issue 8 years ago • 1 comments

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

derekreilly1990 avatar Mar 13 '18 12:03 derekreilly1990

Just add it to the path options of L.Symbol. You can use all possible path options there, including pane.

plepe avatar Nov 12 '18 22:11 plepe