Changeset 7532 in josm for trunk/data


Ignore:
Timestamp:
2014-09-14T02:03:20+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #8664, fix #10510 - possibility to add icon to preset labels

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r7511 r7532  
    3131label: simple static text label
    3232  text: the text to display
     33  icon: location of icon to display (optional)
     34  icon_size: maximal size of icon (optional). If no value is given, default is 16px
    3335
    3436space: empty line
  • trunk/data/tagging-preset.xsd

    r7504 r7532  
    155155                <attribute name="text" type="string" use="required" />
    156156                <attribute name="text_context" type="string" />
     157                <attribute name="icon" type="string" />
     158                <attribute name="icon_size" type="integer" />
    157159
    158160                <attribute name="name" use="prohibited" />
Note: See TracChangeset for help on using the changeset viewer.