Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10370 closed defect (fixed)

MapCSS: text:name print "name" on the object

Reported by: plepe Owned by: team
Priority: major Milestone: 14.08
Component: Core mappaint Version:
Keywords: Cc:

Description

Until yesterday or two days ago, the following mapcss styles were equal:

node[something] {
  text: name;
}
node[something] {
  text: "name";
}
node[something] {
  text: tag(name);
}

Now (josm-latest, version: 7396, but snapshot 7391 has the same issue) the first prints the text "name" on all rendered objects. Version 7380 was the last snapshot to be correct. See the attached screenshots.

This is the style I'm using:

canvas {
  default-points: false;
  default-lines: false;
}
way[highway] {
  text: name;
  width: 2;
  color: blue;
} 

Attachments (2)

josm-bug-10370-v7396.png (119.3 KB ) - added by plepe 10 years ago.
josm-bug-10370-v7380.png (120.9 KB ) - added by plepe 10 years ago.

Download all attachments as: .zip

Change History (4)

by plepe, 10 years ago

Attachment: josm-bug-10370-v7396.png added

by plepe, 10 years ago

Attachment: josm-bug-10370-v7380.png added

comment:1 by bastiK, 10 years ago

Resolution: fixed
Status: newclosed

In 7397/josm:

fixed #10370 - MapCSS: text:name print "name" on the object

comment:2 by Don-vip, 10 years ago

Milestone: 14.08

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.