You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use this for setText() method, it will be perpendicular to the path, which is not ideal. So I need to rotate each character by 90 degree.. However, I found it may not be easy by setting the attribute of <textpath> element..
Will Leaflet.TextPath support rotation for character?
The text was updated successfully, but these errors were encountered:
Adding this feature to Leaflet.TextPath is not planned yet. You can generate a font with your arrow in the right orientation, or use an HTML charcter like ➤ (➤).
However, please do not hesitate to submit a pull request if you work on it :)
For example, I have a character looks like this:
If I use this for
setText()
method, it will be perpendicular to the path, which is not ideal. So I need to rotate each character by 90 degree.. However, I found it may not be easy by setting the attribute of<textpath>
element..Will Leaflet.TextPath support rotation for character?
The text was updated successfully, but these errors were encountered: