Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Features: repeat distance, allowCrop, multi-color labels, orientation 'auto' and 'flip', turnedText, ... #72
I have a christmas present for you!
I would have liked to create pull requests for each feature, but they all depend on each other, that's why I created a "features" pull request.
It includes the following features:
Tell me what you think about it.
One big problem is browser support for rotated text on textpath.
You can check how your browser behaves (first image) and compare with screenshots of other browser on this test page:
Please submit screenshots of other browsers!
I guess I should implement a browser detection and mitigate problems (e.g. select a fixed-width font on firefox, disable rotation on IE/Edge).
Oh no, Safari does not seem to support textpath at all!
Do you see airplanes, labels and other markers on this webpage? https://makinacorpus.github.io/Leaflet.TextPath/
Apparently there seems to be a bug in Safari: