Changeset 13409 in josm


Ignore:
Timestamp:
2018-02-11T19:45:56+01:00 (7 years ago)
Author:
Klumbumbus
Message:

fix #15495 - add icon for barrier=kissing_gate (icon derived from https://github.com/osmandapp/OsmAnd-resources/blob/master/icons/svg/barrier_colored/kissing_gate.svg and https://wiki.openstreetmap.org/wiki/File:Barrier_kissing_gate.svg, CC0 and PD licensed)

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r13403 r13409  
    19871987            <reference ref="optional_maxwidth" />
    19881988        </item> <!-- Bump Gate -->
    1989         <item name="Kissing Gate" type="node" preset_name_label="true">
     1989        <item name="Kissing Gate" icon="presets/barrier/kissing_gate.svg" type="node" preset_name_label="true">
    19901990            <link href="http://wiki.openstreetmap.org/wiki/Tag:barrier=kissing_gate"
    19911991                  cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:barrier=kissing_gate"
  • trunk/styles/standard/elemstyles.mapcss

    r13394 r13409  
    467467    set icon_z17;
    468468}
    469 node[barrier=kissing_gate][!is_prop_set(icon-image)],
     469node[barrier=kissing_gate] {
     470    icon-image: "presets/barrier/kissing_gate.svg";
     471    set icon_z17;
     472}
    470473node[barrier=bump_gate][!is_prop_set(icon-image)],
    471474node[barrier=bus_trap][!is_prop_set(icon-image)],
Note: See TracChangeset for help on using the changeset viewer.