Changeset 16755 in josm


Ignore:
Timestamp:
2020-07-13T14:33:36+02:00 (3 weeks ago)
Author:
Klumbumbus
Message:
  • see #19517 - Add club=* (icon derived from internal office=association icon, PD and CC0 licensed)
  • Add sport=chess preset (mappaint style was already there)
Location:
trunk/resources
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r16754 r16755  
    215215    </chunk>
    216216    <chunk id="sport">
    217         <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,beachvolleyball,billiards,boules,bowls,canadian_football,canoe,climbing,cricket,croquet,cycling,dog_racing,equestrian,field_hockey,fitness,gaelic_games,golf,gymnastics,handball,horse_racing,ice_hockey,karting,model_aerodrome,motocross,motor,pelota,racquet,rc_car,rowing,rugby_league,rugby_union,running,safety_training,shooting,skateboard,ice_skating,roller_skating,soccer,swimming,table_tennis,tennis,volleyball,9pin,10pin" values_context="sport" />
     217        <combo key="sport" text="Sport" values="multi,archery,athletics,american_football,australian_football,baseball,basketball,beachvolleyball,billiards,boules,bowls,canadian_football,canoe,chess,climbing,cricket,croquet,cycling,dog_racing,equestrian,field_hockey,fitness,gaelic_games,golf,gymnastics,handball,horse_racing,ice_hockey,karting,model_aerodrome,motocross,motor,pelota,racquet,rc_car,rowing,rugby_league,rugby_union,running,safety_training,shooting,skateboard,ice_skating,roller_skating,soccer,swimming,table_tennis,tennis,volleyball,9pin,10pin" values_context="sport" />
    218218    </chunk>
    219219    <chunk id="highway_access">
     
    35583558            <reference ref="link_contact_address_payment" />
    35593559        </item> <!-- Horse Riding -->
     3560        <item name="Club" icon="presets/leisure/club.svg" type="node,closedway,multipolygon" preset_name_label="true">
     3561            <link wiki="Key:club" />
     3562            <space />
     3563            <combo key="club" text="Type" values="amateur_radio,art,astronomy,automobile,board_games,card_games,charity,cinema,computer,cooking,culture,dog,doityourself,environment_protection,ethnic,fan,filmmaking,fishing,freemasonry,game,gardening,history,hunting,linux,motorcycle,music,nature,nudism,photography,politics,scout,smoke,social,sport,student,surf_life_saving,theatre,tourism,veterans,yachting,youth_movement" values_searchable="true" values_context="club" match="key!" />
     3564            <reference ref="name_operator_oh_wheelchair" />
     3565            <optional text="For sport:">
     3566                <reference ref="sport" />
     3567            </optional>
     3568            <reference ref="link_contact_address" />
     3569        </item> <!-- Club -->
    35603570        <item name="Hackerspace" icon="presets/leisure/hackerspace.svg" type="node,closedway,multipolygon" preset_name_label="true">
    35613571            <link wiki="Tag:leisure=hackerspace" />
     
    48824892            <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" />
    48834893        </item> <!-- Shooting -->
     4894        <item name="Chess" icon="presets/sport/chess.svg" type="node,closedway,multipolygon" preset_name_label="true">
     4895            <link wiki="Tag:sport=chess" />
     4896            <space />
     4897            <key key="sport" value="chess" />
     4898            <text key="name" text="Name" />
     4899            <combo key="leisure" text="Type" values="pitch,picnic_table" />
     4900        </item> <!-- Chess -->
    48844901    </group> <!-- Sport -->
    48854902    <group name="Sport (Ball)" icon="presets/sport/soccer.svg">
  • trunk/resources/styles/standard/elemstyles.mapcss

    r16748 r16755  
    18111811node[office=government] {
    18121812    icon-image: "presets/office/government.svg";
     1813    set icon_z17;
     1814}
     1815
     1816/*************/
     1817/* club tags */
     1818/*************/
     1819
     1820area[club] {
     1821    fill-color: club#a3e5f1;
     1822}
     1823node[club] {
     1824    icon-image: "presets/leisure/club.svg";
    18131825    set icon_z17;
    18141826}
Note: See TracChangeset for help on using the changeset viewer.