Modify ↓
Opened 12 years ago
Closed 12 years ago
#8187 closed defect (fixed)
eval(#colour) doesn't result in #colour value suitable for color:
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | mapcss support | Cc: |
Description
Hi,
I have to do the following:
color: cond(parent_tag(colour)=="#BBDD00",#BBDD00,red)
if I want to use the hex color value in the colour tag. This means I'd have to enumerate all the possible colors and nest them in cond(). Is it possible to make this more straightforward?
Jo
Attachments (0)
Note:
See TracTickets
for help on using tickets.
In 5577/josm: