Changeset 7598 in josm


Ignore:
Timestamp:
2014-10-04T23:26:57+02:00 (5 years ago)
Author:
Don-vip
Message:

fix #10590 - add presets + new icons for amenity=shower and leisure=firepit (PD/CC0, patch by Klumbumbus)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r7593 r7598  
    37023702            <check key="covered" text="Covered" />
    37033703        </item> <!-- Public Grill -->
     3704        <item name="Firepit" icon="styles/standard/leisure/firepit.svg" type="node,closedway" preset_name_label="true">
     3705            <link href="http://wiki.openstreetmap.org/wiki/Tag:leisure=firepit" />
     3706            <space />
     3707            <key key="leisure" value="firepit" />
     3708            <text key="name" text="Name" />
     3709        </item> <!-- Firepit -->
    37043710        <item name="Fishing" icon="presets/fishing.png" type="node,closedway" preset_name_label="true">
    37053711            <link href="http://wiki.openstreetmap.org/wiki/Tag:leisure=fishing"
     
    43124318            </optional>
    43134319        </item> <!-- Toilets/Restrooms -->
     4320        <item name="Shower" icon="styles/standard/service/shower.svg" type="node,closedway" preset_name_label="true">
     4321            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=shower" />
     4322            <space />
     4323            <key key="amenity" value="shower" />
     4324            <combo key="access" text="Access rights" values="public,permissive,customers" />
     4325            <optional>
     4326                <text key="description" text="Description" />
     4327                <combo key="fee" text="Fee" values="yes,no" />
     4328                <text key="operator" text="Operator" />
     4329                <combo key="wheelchair" text="Wheelchair" values="no,limited,yes" />
     4330                <reference ref="oh" />
     4331            </optional>
     4332        </item> <!-- Shower -->
    43144333        <item name="Post Box" icon="styles/standard/service/post_box.png" type="node" preset_name_label="true">
    43154334            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=post_box"
  • trunk/styles/standard/elemstyles.mapcss

    r7581 r7598  
    13501350area[leisure=playground],
    13511351area[leisure=garden],
    1352 area[leisure=common] {
     1352area[leisure=common],
     1353area[leisure=firepit] {
    13531354    fill-color: leisure#c7f1a3;
    13541355}
     
    13871388    set icon_z17;
    13881389    text: auto;
     1390}
     1391node[leisure=firepit] {
     1392    icon-image: "leisure/firepit.svg";
     1393    set icon_z17;
     1394    text: auto;
    13891395}
    13901396area[leisure=swimming_pool] {
     
    20522058area[emergency=defibrillator],
    20532059area[amenity=toilets],
     2060area[amenity=shower],
    20542061area[amenity=recycling] {
    20552062    fill-color: amenity_light#f7efb7;
     
    20742081    set icon_z17;
    20752082    text: auto;
     2083}
     2084node[amenity=shower] {
     2085    icon-image: "service/shower.svg";
     2086    set icon_z17;
     2087    text: auto;
    20762088}
    20772089node[amenity=recycling] {
Note: See TracChangeset for help on using the changeset viewer.