Closed hupe13 closed 3 years ago
Hi hupe, the underlying idea is correct.
Further changes and improvements to the code are however welcome, Raruto
Take a look at the wptIcons option (version 1.7.1).
Related code examples:
Related issues:
Greetings, Raruto
I tested it today and I will release it in the next version of my WordPress plugin. Thank you very much.
👍
Hi Raruto,
how to deal with such a definition (Garmin): <sym>Flag, Blue</sym>
? The blank character should converted to a minus sign, uppercase to lowercase, but the comma? Because of the comma it does not work.
Thank you very much.
Hi hupe,
I think you're referring to this: https://github.com/Raruto/leaflet-elevation/blob/58c427ea87764ab62215f79750805f8eb71a0c3f/src/utils.js#L99
as you can see it is not very generic at the moment, but fortunately I am happy to evaluate resolving pull requests 😄
Have a nice day, Raruto
Not necessary. The comma should be escaped for css: flag\,-blue
.
Hi Raruto,
we have found a way to change the wptIcon, see here. But its size is hardcoded. Is it also possible to change (configure) the size?
Thank you very much.