Changeset 788 in josm for trunk/styles/standard


Ignore:
Timestamp:
2008-08-15T22:36:01+02:00 (16 years ago)
Author:
ulfl
Message:

improve the "helping header" a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.xml

    r785 r788  
    331. every rule starts with <rule> and ends with </rule>
    442. every rule needs a condition
     5                -k for the key (required)
     6                -v for the value as a string
     7                -b for the values yes / no (boolean, will also understand true, 1 and false, 0 respectively)
     8                (although the value flags v/b for the condition are optional, using at least one of them is highly recommended!)
    593. line attributes
    610                - width absolute width in pixel in every zoom level
     
    11155. icon attributes
    1216                - icon path to icon , relative from where this file is
     176. scale_min / scale_max - currently unused in JOSM
    1318
    1419Using both area and line attributes for the same key/value pair doesn't work!
     20
     21BEWARE: If a key/value pair matches more than one rule, the "rule that wins" is unpredicted!
    1522-->
    1623
Note: See TracChangeset for help on using the changeset viewer.