Changeset 13833 in josm


Ignore:
Timestamp:
2018-05-25T22:22:25+02:00 (7 years ago)
Author:
Klumbumbus
Message:

see #12575 - add icons for locksmith and key_cutter (from https://openclipart.org/detail/79417/simple-gold-key, modified, CC0 and PD licensed)

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r13814 r13833  
    98329832        <reference ref="link_contact_address" />
    98339833    </item> <!-- Upholsterer -->
    9834     <item name="Key cutter" type="node,closedway,multipolygon" preset_name_label="true">
     9834    <item name="Key cutter" icon="presets/craft/key_cutter.svg" type="node,closedway,multipolygon" preset_name_label="true">
    98359835        <link href="https://wiki.openstreetmap.org/wiki/Tag:craft=key_cutter"
    98369836                  cs.href="https://wiki.openstreetmap.org/wiki/Cs:Tag:craft=key_cutter"
     
    98439843        <reference ref="link_contact_address" />
    98449844    </item> <!-- Key cutter -->
    9845     <item name="Locksmith" type="node,closedway,multipolygon" preset_name_label="true">
     9845    <item name="Locksmith" icon="presets/craft/locksmith.svg" type="node,closedway,multipolygon" preset_name_label="true">
    98469846        <link href="https://wiki.openstreetmap.org/wiki/Tag:craft=locksmith"
    98479847                  cs.href="https://wiki.openstreetmap.org/wiki/Cs:Tag:craft=locksmith"
  • trunk/styles/standard/elemstyles.mapcss

    r13789 r13833  
    30133013    set icon_z17;
    30143014}
    3015 node[craft=key_cutter][!is_prop_set(icon-image)] {
    3016     icon-image: "presets/misc/no_icon.svg";
     3015node[craft=key_cutter] {
     3016    icon-image: "presets/misc/key_cutter.svg";
    30173017    set icon_z17;
    30183018}
     
    30333033    set icon_z17;
    30343034}
    3035 node[craft=locksmith][!is_prop_set(icon-image)] {
    3036     icon-image: "presets/misc/no_icon.svg";
     3035node[craft=locksmith] {
     3036    icon-image: "presets/misc/locksmith.svg";
    30373037    set icon_z17;
    30383038}
Note: See TracChangeset for help on using the changeset viewer.