Modify ↓
#17499 closed enhancement (worksforme)
mapcss link selector enhancement
Reported by: | dmanzer95 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | mapcss | Cc: |
Description
is there a way in MapCSS to do something like this:
relation[type=restriction] >[role=from] node
skipping the child way and selecting the child nodes of a relation where it has a role in the relation?
Attachments (0)
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
If the node is a direct member of the relation then this is possible:
relation[type=restriction] >[role=via] node { throwWarning: tr("via node"); }
comment:3 by , 6 years ago
thanks for the help. It wasn't working earlier for some reason. Must have been a different issue.
comment:4 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 6 years ago
Resolution: | fixed → worksforme |
---|
Note:
See TracTickets
for help on using tickets.
this would be helpful for creating mapcss based validation checks for relations