Changeset 14181 in josm


Ignore:
Timestamp:
2018-08-26T21:45:10+02:00 (6 years ago)
Author:
Klumbumbus
Message:

see #16658 - add attraction=animal "Animal enclosure" (icon from https://openclipart.org/detail/260871/zoo15, resized, background added, CC0 and PD licensed)

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r14162 r14181  
    46934693            <reference ref="link_contact_address_payment" />
    46944694        </item> <!-- Zoo -->
     4695        <item name="Animal enclosure" icon="presets/attraction/animal.svg" type="node,closedway,multipolygon" preset_name_label="true">
     4696            <link href="https://wiki.openstreetmap.org/wiki/Tag:attraction=animal" />
     4697            <space />
     4698            <key key="attraction" value="animal" />
     4699            <text key="name" text="Name" />
     4700        </item> <!-- Animal enclosure -->
    46954701        <item name="Dog Park" icon="presets/leisure/dogpark.svg" type="node,closedway,multipolygon" preset_name_label="true">
    46964702            <link href="https://wiki.openstreetmap.org/wiki/Tag:leisure=dog_park"
  • trunk/styles/standard/elemstyles.mapcss

    r14123 r14181  
    31703170
    31713171/********************/
     3172/* attraction tags */
     3173/********************/
     3174
     3175area[attraction=animal] {
     3176    fill-color: attraction#ffbfd3;
     3177    color: attraction#ffbfd3; /* color explizitly needed here to overwrite the color already set by (a lot of wrongly tagged) tourism=attraction */
     3178}
     3179node[attraction=animal] {
     3180    icon-image: "presets/attraction/animal.svg";
     3181    set icon_z17;
     3182}
     3183
     3184/********************/
    31723185/* information tags */
    31733186/********************/
Note: See TracChangeset for help on using the changeset viewer.