Changeset 7362 in josm for trunk


Ignore:
Timestamp:
2014-08-03T20:49:18+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10342 - add barrier=chain icon (Public Domain, patch by Klumbumbus)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r7361 r7362  
    15301530            <reference ref="optional_maxwidth" />
    15311531        </item> <!-- kissing_gate -->
    1532         <item name="Chain" type="node" preset_name_label="true">
     1532        <item name="Chain" icon="styles/standard/vehicle/chain.svg" type="node" preset_name_label="true">
    15331533            <link href="http://wiki.openstreetmap.org/wiki/Tag:barrier=chain"
    15341534                  pl.href="http://wiki.openstreetmap.org/wiki/Pl:Tag:barrier=chain" />
  • trunk/styles/standard/elemstyles.mapcss

    r7360 r7362  
    368368way[barrier=city_wall],
    369369way[barrier=retaining_wall],
    370 way[barrier=block] {
     370way[barrier=block],
     371way[barrier=chain] {
    371372    width: 3;
    372373    color: barrier#F0F050;
     
    382383node[barrier=block] {
    383384    icon-image: "vehicle/block.svg";
     385    text: auto;
     386}
     387node[barrier=chain] {
     388    icon-image: "vehicle/chain.svg";
    384389    text: auto;
    385390}
Note: See TracChangeset for help on using the changeset viewer.