Changeset 11265 in josm


Ignore:
Timestamp:
2016-11-16T17:29:32+01:00 (8 years ago)
Author:
Klumbumbus
Message:

fix #13876 - add tourism=apartment to internal presets and mappaint style, icon derived from hotel and entrance icon, improved icons for tourism=chalet and tourism=guest_house for more unified icons in the accomodation group

Location:
trunk
Files:
3 added
2 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r11263 r11265  
    36303630            <preset_link preset_name="Building" />
    36313631        </item> <!-- Guest House/Bed & Breakfast -->
     3632        <item name="Apartment" icon="presets/accommodation/apartment.svg" type="node,closedway" preset_name_label="true">
     3633            <link href="http://wiki.openstreetmap.org/wiki/Tag:tourism=apartment" />
     3634            <space />
     3635            <key key="tourism" value="apartment" />
     3636            <reference ref="name_operator" />
     3637            <combo key="number_of_apartments" text="Number of apartments" values="1,2,3,4,5,6,7,8,9,10" />
     3638            <combo key="stars" text="Stars" values="1,2,3,4,5,6,7" />
     3639            <reference ref="wheelchair" />
     3640            <space />
     3641            <reference ref="internet_smoking" />
     3642            <space />
     3643            <reference ref="link_contact_address_payment" />
     3644        </item> <!-- Apartment -->
    36323645        <item name="Chalet" icon="presets/accommodation/chalet.svg" type="node,closedway,multipolygon" preset_name_label="true">
    36333646            <link href="http://wiki.openstreetmap.org/wiki/Tag:tourism=chalet"
  • trunk/styles/standard/elemstyles.mapcss

    r11233 r11265  
    29832983area[tourism=motel],
    29842984area[tourism=guest_house],
     2985area[tourism=apartment],
    29852986area[tourism=hostel],
    29862987area[tourism=chalet],
     
    30013002node[tourism=guest_house] {
    30023003    icon-image: "presets/accommodation/guest_house.svg";
     3004    set icon_z17;
     3005}
     3006node[tourism=apartment] {
     3007    icon-image: "presets/accommodation/apartment.svg";
    30033008    set icon_z17;
    30043009}
Note: See TracChangeset for help on using the changeset viewer.