Changeset 9730 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2016-02-03T21:27:13+01:00 (9 years ago)
Author:
simon04
Message:

fix #6517 - GPX marker: display comments <cmt> in default label template (by skyper)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/Marker.java

    r9078 r9730  
    267267    public static final String MARKER_FORMATTED_OFFSET = "formattedWaypointOffset";
    268268
    269     public static final String LABEL_PATTERN_AUTO = "?{ '{name} - {desc}' | '{name}' | '{desc}' }";
     269    public static final String LABEL_PATTERN_AUTO = "?{ '{name} ({desc})' | '{name} ({cmt})' | '{name}' | '{desc}' | '{cmt}' }";
    270270    public static final String LABEL_PATTERN_NAME = "{name}";
    271271    public static final String LABEL_PATTERN_DESC = "{desc}";
Note: See TracChangeset for help on using the changeset viewer.