Skip to content

L.Symbol.arrowHead: Enable option angleCorrection (similar to #45)#88

Open
plepe wants to merge 2 commits intobbecquet:masterfrom
plepe:arrowHead-angleCorrection
Open

L.Symbol.arrowHead: Enable option angleCorrection (similar to #45)#88
plepe wants to merge 2 commits intobbecquet:masterfrom
plepe:arrowHead-angleCorrection

Conversation

@plepe
Copy link
Copy Markdown

@plepe plepe commented Sep 23, 2018

Add a option angleCorrection to L.Symbol.arrowHead, so that arrows can be rotated on the lines (e.g. by 180 degrees to point backwards).

@plepe
Copy link
Copy Markdown
Author

plepe commented Sep 24, 2018

See #45 for a similar change for L.Symbol.marker.

@plepe
Copy link
Copy Markdown
Author

plepe commented Sep 24, 2018

Example (the line with the red and blue arrows pointing to the way):
leaflet polyline decorator rotated arrow head

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant