Changeset 5591 in josm for trunk/styles


Ignore:
Timestamp:
2012-11-18T19:16:56+01:00 (7 years ago)
Author:
bastiK
Message:

draw highway=track etc. on top of piste:difficulty=*

File:
1 edited

Legend:

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

    r5559 r5591  
    11791179        <rule>
    11801180                <condition k="piste:difficulty" v="easy"/>
    1181                 <line width="6" colour="piste_easy#0000ff"/>
     1181                <!--
     1182                    Show piste indication as linemod if there is already another line
     1183                    style in place (e.g. from highway=track), otherwise add a proper line
     1184                    style that looks the same.
     1185                    If the proper line style applies, the linemod is suppressed, so it
     1186                    renders only one style for each way.
     1187                -->
     1188                <line width="6" colour="piste_easy#0000ff" priority="-100000"/>
     1189                <linemod width="6" mode="under" colour="piste_easy#0000ff"/>
    11821190                <area colour="piste_easy#0000ff" closed="true"/>
    11831191                <icon src="sport/skiing.png"/>
     
    11861194        <rule>
    11871195                <condition k="piste:difficulty" v="intermediate"/>
    1188                 <line width="6" colour="piste_intermediate#ff0000"/>
     1196                <line width="6" colour="piste_intermediate#ff0000" priority="-100000"/>
     1197                <linemod width="6" mode="under" colour="piste_intermediate#ff0000"/>
    11891198                <area colour="piste_intermediate#ff0000" closed="true"/>
    11901199                <icon src="sport/skiing.png"/>
     
    11931202        <rule>
    11941203                <condition k="piste:difficulty" v="advanced"/>
    1195                 <line width="6" colour="piste_advanced#606060"/>
     1204                <line width="6" colour="piste_advanced#606060" priority="-100000"/>
     1205                <linemod width="6" mode="under" colour="piste_advanced#606060"/>
    11961206                <area colour="piste_advanced#606060" closed="true"/>
    11971207                <icon src="sport/skiing.png"/>
     
    12001210        <rule>
    12011211                <condition k="piste:difficulty" v="expert"/>
    1202                 <line width="6" colour="piste_expert#606060"/>
     1212                <line width="6" colour="piste_expert#606060" priority="-100000"/>
     1213                <linemod width="6" mode="under" colour="piste_expert#606060"/>
    12031214                <area colour="piste_expert#606060" closed="true"/>
    12041215                <icon src="sport/skiing.png"/>
     
    12071218        <rule>
    12081219                <condition k="piste:difficulty" v="freeride"/>
    1209                 <line width="6" colour="piste_freeride#ffff00"/>
     1220                <line width="6" colour="piste_freeride#ffff00" priority="-100000"/>
     1221                <linemod width="6" mode="under" colour="piste_freeride#ffff00"/>
    12101222                <area colour="piste_freeride#ffff00" closed="true"/>
    12111223                <icon src="sport/skiing.png"/>
     
    12141226        <rule>
    12151227                <condition k="piste:difficulty" v="novice"/>
    1216                 <line width="6" colour="piste_novice#00ff00"/>
     1228                <line width="6" colour="piste_novice#00ff00" priority="-100000"/>
     1229                <linemod width="6" mode="under" colour="piste_novice#00ff00"/>
    12171230                <area colour="piste_novice#00ff00" closed="true"/>
    12181231                <icon src="sport/skiing.png"/>
Note: See TracChangeset for help on using the changeset viewer.