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)

Change History (1)

comment:1 by bastiK, 12 years ago

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
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.