Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 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;
} 

Change History (4)

by plepe, 11 years ago

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

by plepe, 11 years ago

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

comment:1 by bastiK, 11 years ago

Resolution: fixed
Status: newclosed

In 7397/josm:

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

comment:2 by Don-vip, 11 years ago

Milestone: 14.08

Add Comment


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