Closed tyrasd closed 8 years ago
Okay, this looks good, though I'm not sure this is useful. Thanks.
I'm not sure this is useful.
Why not?
Relations are usually obvious from their tags (e.g. routes), and if not, showing their members would be more useful, since the focus of this editor is on individual objects.
So, why did you propose it in https://github.com/Zverik/Level0/issues/15#issue-34696140, then? :confused:
I proposed to draw single referenced members of relations.
Aaah, I see. That would make sense as well. For example, the selected member could be drawn in a separate "highlight" colour. I'll see what I can do…
implements functionality for #15
Way-member drawing is implemented as a recursive call to
text2coord
which would technically even allow to draw nested relations (but I wasn't sure if that makes much sense in practice and one would have to make sure that reference-loops are handled properly, which can be hairy!).