Changeset 885 in josm for trunk/styles/standard


Ignore:
Timestamp:
2008-08-28T22:07:04+02:00 (12 years ago)
Author:
stoecker
Message:

added multi-style mappaint support. Closes #1186

File:
1 edited

Legend:

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

    r879 r885  
    3939        <rule>
    4040                <condition k="bridge" b="yes"/>
    41                 <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
     41                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
    4242                <icon annotate="true" src="vehicle/viaduct.png"/>
    4343                <scale_min>1</scale_min>
     
    5353        <rule>
    5454                <condition k="bridge" v="viaduct"/>
    55                 <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
     55                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
    5656                <icon annotate="true" src="vehicle/viaduct.png"/>
    5757                <scale_min>1</scale_min>
     
    6060        <rule>
    6161                <condition k="bridge" v="aqueduct"/>
    62                 <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
     62                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
    6363                <icon annotate="true" src="nautical/aqueduct.png"/>
    6464                <scale_min>1</scale_min>
     
    6767        <rule>
    6868                <condition k="bridge" v="swing"/>
    69                 <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
     69                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
    7070                <icon annotate="true" src="vehicle/viaduct.png"/>
    7171                <scale_min>1</scale_min>
     
    7474        <rule>
    7575                <condition k="tunnel" b="yes"/>
    76                 <!-- no line or area, as this is a highway=xy, railway=xy, .... -->
     76                <linemod mode="over" width="+4" colour="bridge#00008080" dashed="false"/>
    7777                <icon annotate="true" src="vehicle/tunnel.png"/>
    7878                <scale_min>1</scale_min>
     
    886886        <rule>
    887887                <condition k="railway" v="tram"/>
    888                 <line width="1" colour="rail#808080" dashed="true"/>
     888                <!-- prefer way types over tram - draw tram as overlay in joined cases -->
     889                <line width="1" colour="rail#808080" dashed="true" priority="-10000"/>
     890                <linemod mode="over" width="1" colour="rail#808080" dashed="true"/>
    889891                <icon annotate="true" src="misc/deprecated.png"/>
    890892                <scale_min>1</scale_min>
Note: See TracChangeset for help on using the changeset viewer.