- Timestamp:
- 2007-11-18T19:39:14+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/NameVisitor.java
r384 r467 51 51 public void visit(Node n) { 52 52 name = n.get("name"); 53 if (name == null) 54 name = (n.id==0?"":""+n.id)+" ("+latLonFormat.format(n.coor.lat())+", "+latLonFormat.format(n.coor.lon())+")"; 53 if (name == null) { 54 if (n.incomplete) { 55 name = "incomplete" + (n.id==0?"":" "+n.id); 56 } else { 57 name = (n.id==0?"":""+n.id)+" ("+latLonFormat.format(n.coor.lat())+", "+latLonFormat.format(n.coor.lon())+")"; 58 } 59 } 55 60 addId(n); 56 61 icon = ImageProvider.get("data", "node");
Note:
See TracChangeset
for help on using the changeset viewer.