Changeset 3967 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java
- Timestamp:
- 2011-03-09T16:01:54+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java
r3894 r3967 20 20 import org.openstreetmap.josm.data.osm.Way; 21 21 import org.openstreetmap.josm.gui.mappaint.Cascade; 22 import org.openstreetmap.josm.gui.mappaint.Keyword; 22 23 import org.openstreetmap.josm.gui.mappaint.MultiCascade; 23 24 import org.openstreetmap.josm.gui.mappaint.Range; … … 288 289 if (icon.annotate != null) { 289 290 if (icon.annotate) { 290 def.put("text", "auto");291 def.put("text", Keyword.AUTO); 291 292 } else { 292 293 def.remove("text"); … … 352 353 if (p.area != null) { 353 354 def.putOrClear("fill-color", p.area.color); 354 def.putOrClear("text-position", "center");355 def.putOrClear("text", "auto");355 def.putOrClear("text-position", Keyword.CENTER); 356 def.putOrClear("text", Keyword.AUTO); 356 357 def.remove("fill-image"); 357 358 }
Note:
See TracChangeset
for help on using the changeset viewer.