Opened 11 years ago

Closed 11 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:



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?


Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by bastiK

Resolution: fixed
Status: newclosed

In 5577/josm:

fixed #8187 - eval(#colour) doesn't result in #colour value suitable for color

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.