- Timestamp:
- 2009-01-03T16:03:54+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
r1205 r1208 751 751 } else 752 752 g.drawRect(p.x - radius, p.y - radius, size, size); 753 754 String name = getNodeName(n); 755 if (name!=null /* && annotate */) 756 { 757 g.setColor(textColor); 758 Font defaultFont = g.getFont(); 759 g.setFont (orderFont); 760 g.drawString (name, p.x+radius+2, p.y+radius+2); 761 g.setFont(defaultFont); 762 } 753 763 } 754 764 } … … 769 779 orderFont = new Font(Main.pref.get("mappaint.font","Helvetica"), Font.PLAIN, Main.pref.getInteger("mappaint.fontsize", 8)); 770 780 String currentLocale = Locale.getDefault().getLanguage(); 771 regionalNameOrder = Main.pref.get("mappaint.nameOrder", "name:"+currentLocale+";name;int_name ").split(";");781 regionalNameOrder = Main.pref.get("mappaint.nameOrder", "name:"+currentLocale+";name;int_name;ref;operator;brand").split(";"); 772 782 773 783 alreadyDrawn = new LinkedList<OsmPrimitive>();
Note:
See TracChangeset
for help on using the changeset viewer.