extra button with 4 states in the Tags button panel
Jo
winfixit at gmail.com
Tue Jul 14 14:46:11 UTC 2020
Hi,
I would like to add an extra button under the 3 buttons +,
Zoekresultaten
Webresultate <https://www.compart.com/en/unicode/U+1F5D1>🗑
+++
This button would have 4 states.
- Invisible or absent if it's not a public transport route relation
- Red rounded square if it's a PT route relation with no
public_transport:version set
- Yellow rounded square with 1 inside it
- Gray rounded square with 2 inside it.
Is it possible to change the svg, of a button like that? And can a plugin
add a button to that panel?
Of course, once the button is present, I also want it to do something. I'm
working on that. But now it's in a long sequence of actions that happen
when the mapper tries to sort the stops in a route relation, that is not pt
v2.
Another button on my wishlist is one that would flip from/to and changes
the name tag accordingly.
Jo
Zoekresultaten
More information about the josm-dev
mailing list