Changeset 17529 in josm for trunk/resources


Ignore:
Timestamp:
2021-02-22T18:43:39+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #20447 - add advertising=poster_box

Location:
trunk/resources
Files:
1 added
2 edited

Legend:

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

    r17525 r17529  
    114114            </checkgroup>
    115115        </optional>
     116    </chunk>
     117    <chunk id="common_advertising">
     118        <text key="height" text="Height (meters)" length="7" />
     119        <combo key="animated" text="Animated" values="yes,winding_posters,screen,trivision_blades,revolving,digital_messages,digital_prices,no" values_sort="false" />
     120        <check key="luminous" text="Luminous" />
     121        <check key="lit" text="Lit" />
    116122    </chunk>
    117123    <chunk id="min_age">
     
    47694775            <key key="advertising" value="column" />
    47704776            <optional>
    4771                 <check key="lit" text="Lit" />
     4777                <reference ref="common_advertising" />
    47724778            </optional>
    47734779        </item> <!-- Advertising Column -->
     
    47774783            <key key="advertising" value="billboard" />
    47784784            <optional>
    4779                 <check key="lit" text="Lit" />
     4785                <reference ref="common_advertising" />
    47804786            </optional>
    47814787        </item> <!-- Billboard -->
     4788        <item name="Poster box" icon="presets/leisure/poster_box.svg" type="node,way" preset_name_label="true">
     4789            <link wiki="Tag:advertising=poster_box" />
     4790            <space />
     4791            <key key="advertising" value="poster_box" />
     4792            <optional>
     4793                <reference ref="common_advertising" />
     4794            </optional>
     4795        </item> <!-- Poster box -->
    47824796    </group> <!-- Facilities -->
    47834797  </group>  <!-- Facilities -->
  • trunk/resources/styles/standard/elemstyles.mapcss

    r17525 r17529  
    21172117    set icon_z17;
    21182118}
    2119 way[advertising=billboard] {
     2119node[advertising=poster_box] {
     2120    icon-image: "presets/leisure/poster_box.svg";
     2121    set icon_z17;
     2122}
     2123way[advertising=billboard],
     2124way[advertising=poster_box] {
    21202125    width: 2;
    21212126    color: advertising#880000;
Note: See TracChangeset for help on using the changeset viewer.