-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Symbol.Text option #67
Comments
Downloading the icon as svg and placing it like the aeroplane in the example worked like a charm. Flexible icons is a little more tricky, but doable. Still interested though, in placing text along the line. |
Hi! Glad it worked with an SVG icon. Maybe I should write it more explicitely that it works out ot the box. On the other hand, placing any text string along the line is a different matter that doesn't match the plugin inner workings. |
njbuch, please find some instruction to use textpath with leaflet 1.* here: makinacorpus/Leaflet.TextPath#56 |
I have used the PolylineDecorator with please for a while now, but has a need to try adding a text symbol (an icon) along the line. I have looked at the TextPath library that does not work with the new leaflet anymore. Has anyone gotten this to work, or has the ninja-skills to add it to the L.Symbol class?
Thanks for any assistance or hints!
The text was updated successfully, but these errors were encountered: