Changeset 10539 in josm


Ignore:
Timestamp:
2016-07-16T22:25:12+02:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #13117 - add leisure=fitness_centre to presets; use icon from sport=gymnastics and add better icon instead (https://commons.wikimedia.org/wiki/File:Gymnastics_(artistic)_pictogram_2.svg, added white background, gemeinfrei)

Location:
trunk
Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r10537 r10539  
    54735473            <preset_link preset_name="Building" />
    54745474        </item> <!-- Sports Centre -->
     5475        <item name="Fitness Centre" icon="presets/fitness_centre.png" type="node,closedway,multipolygon" preset_name_label="true">
     5476            <link href="http://wiki.openstreetmap.org/wiki/Tag:leisure=fitness_centre" />
     5477            <space />
     5478            <key key="leisure" value="fitness_centre" />
     5479            <text key="name" text="Name" />
     5480            <reference ref="sport" />
     5481            <reference ref="link_contact_address_payment" />
     5482            <preset_link preset_name="Building" />
     5483        </item> <!-- Fitness Centre -->
    54755484        <item name="Pitch" icon="styles/standard/sport/pitch.png" type="node,closedway,multipolygon" preset_name_label="true">
    54765485            <link href="http://wiki.openstreetmap.org/wiki/Tag:leisure=pitch"
     
    57355744            <reference ref="riding_surface" />
    57365745        </item> <!-- Horse Racing -->
    5737         <item name="Gymnastics" icon="presets/gymnastics.png" type="node,closedway,multipolygon" preset_name_label="true">
     5746        <item name="Gymnastics" icon="presets/gymnastics.svg" type="node,closedway,multipolygon" preset_name_label="true">
    57385747            <link href="http://wiki.openstreetmap.org/wiki/Tag:sport=gymnastics" />
    57395748            <space />
  • trunk/styles/standard/elemstyles.mapcss

    r10522 r10539  
    16161616
    16171617area[leisure=sports_centre],
     1618area[leisure=fitness_centre],
    16181619area[leisure=stadium],
    16191620area[leisure=horse_riding],
     
    16231624node[leisure=sports_centre] {
    16241625    icon-image: "sport/centre.png";
     1626    set icon_z17;
     1627}
     1628node[leisure=fitness_centre] {
     1629    icon-image: "sport/fitness_centre.png";
     1630    icon-width: 16;
    16251631    set icon_z17;
    16261632}
     
    38133819}
    38143820node[sport=gymnastics] {
    3815     icon-image: "presets/gymnastics.png";
    3816     icon-width: 16;
     3821    icon-image: "presets/gymnastics.svg";
    38173822    set icon_z17;
    38183823}
Note: See TracChangeset for help on using the changeset viewer.