Changeset 1099 in josm


Ignore:
Timestamp:
Dec 2, 2008 7:06:01 PM (4 years ago)
Author:
ulfl
Message:
  • don't depend on a value for "max ..." tags, show the icon if the key is there
  • add a generic (low priority) barrier rule
  • use the ticket-machine icon for amenity=vending_machine
File:
1 edited

Legend:

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

    r1092 r1099  
    228228 
    229229        <rule> 
    230                 <condition k="maxweight" v="yes"/> 
     230                <condition k="maxweight"/> 
    231231                <icon src="vehicle/restrictions/maxweight.png"/> 
    232232                <scale_min>1</scale_min> 
     
    235235 
    236236        <rule> 
    237                 <condition k="maxheight" v="yes"/> 
     237                <condition k="maxheight"/> 
    238238                <icon src="vehicle/restrictions/maxheight.png"/> 
    239239                <scale_min>1</scale_min> 
     
    242242 
    243243        <rule> 
    244                 <condition k="maxwidth" v="yes"/> 
     244                <condition k="maxwidth"/> 
    245245                <icon src="vehicle/restrictions/maxwidth.png"/> 
    246246                <scale_min>1</scale_min> 
     
    249249 
    250250        <rule> 
    251                 <condition k="maxlength" v="yes"/> 
     251                <condition k="maxlength"/> 
    252252                <icon src="vehicle/restrictions/maxlength.png"/> 
    253253                <scale_min>1</scale_min> 
     
    256256 
    257257        <rule> 
    258                 <condition k="maxspeed" v="yes"/> 
     258                <condition k="maxspeed"/> 
    259259                <icon src="vehicle/restrictions/speed.png"/> 
    260260                <scale_min>1</scale_min> 
     
    263263 
    264264        <rule> 
    265                 <condition k="minspeed" v="yes"/> 
     265                <condition k="minspeed"/> 
    266266                <icon src="vehicle/restrictions/minspeed.png"/> 
    267267                <scale_min>1</scale_min> 
     
    270270 
    271271        <rule> 
    272                 <condition k="maxstay" v="yes"/> 
     272                <condition k="maxstay"/> 
    273273                <icon src="misc/no_icon.png"/> 
    274274                <scale_min>1</scale_min> 
     
    277277 
    278278        <rule> 
    279                 <condition k="toll" v="yes"/> 
     279                <condition k="toll"/> 
    280280                <icon src="misc/no_icon.png"/> 
    281281                <scale_min>1</scale_min> 
     
    298298                <condition k="barrier" v="speed_bump"/> 
    299299                <icon annotate="true" src="misc/no_icon.png"/> 
     300                <scale_min>1</scale_min> 
     301                <scale_max>50000</scale_max> 
     302        </rule> 
     303        <rule> 
     304                <condition k="barrier"/> 
     305                <icon annotate="true" src="misc/no_icon.png" priority="-10000"/> 
    300306                <scale_min>1</scale_min> 
    301307                <scale_max>50000</scale_max> 
     
    20062012        <rule> 
    20072013                <condition k="amenity" v="vending_machine"/> 
    2008                 <icon src="misc/no_icon.png"/> 
     2014                <icon src="transport/ticket-machine.png"/> 
    20092015                <area colour="amenity2#f7efb7"/> 
    20102016                <scale_min>1</scale_min> 
Note: See TracChangeset for help on using the changeset viewer.