Changeset 7717 in josm


Ignore:
Timestamp:
2014-11-09T18:03:08+01:00 (10 years ago)
Author:
Klumbumbus
Message:

add icon for barrier=spikes and landuse=orchard; improve presets and mappaint style for man_made=groyne and man_made=breakwater fix #10735

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r7711 r7717  
    12401240            <reference ref="optional_maxwidth" />
    12411241        </item> <!-- Bus Trap -->
    1242         <item name="Spikes" icon="presets/empty.png" type="node" preset_name_label="true">
     1242        <item name="Spikes" icon="styles/standard/vehicle/spikes.svg" type="node" preset_name_label="true">
    12431243            <link href="http://wiki.openstreetmap.org/wiki/Key:barrier"
    12441244                  cs.href="http://wiki.openstreetmap.org/wiki/Cs:Key:barrier"
     
    17051705            <key key="man_made" value="groyne" />
    17061706        </item> <!-- Groyne -->
    1707         <item name="Breakwater" icon="presets/groyne.png" type="way,closedway" preset_name_label="true">
     1707        <item name="Breakwater" icon="presets/breakwater.png" type="way,closedway" preset_name_label="true">
    17081708            <link href="http://wiki.openstreetmap.org/wiki/Tag:man_made=breakwater"
    17091709                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:man_made=breakwater"
     
    71617161            <text key="name" text="Name" />
    71627162        </item> <!-- Meadow -->
    7163         <item name="Orchard" icon="presets/landuse.png" type="closedway,relation" preset_name_label="true">
     7163        <item name="Orchard" icon="styles/standard/misc/landuse/orchard.svg" type="closedway,relation" preset_name_label="true">
    71647164            <link href="http://wiki.openstreetmap.org/wiki/Tag:landuse=orchard"
    71657165                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:landuse=orchard"
  • trunk/styles/standard/elemstyles.mapcss

    r7711 r7717  
    432432    text: auto;
    433433}
     434node[barrier=spikes] {
     435    icon-image: "vehicle/spikes.svg";
     436    set icon_z17;
     437    text: auto;
     438}
    434439node[barrier=fence],
    435440node[barrier=kissing_gate],
    436441node[barrier=bump_gate],
    437442node[barrier=portcullis],
    438 node[barrier=spikes],
    439443node[barrier=bus_trap],
    440444node[barrier=drawbridge],
     
    11221126area[man_made=gasometer],
    11231127area[man_made=bunker_silo],
    1124 area[man_made=groyne],
    11251128area[man_made=lighthouse],
    11261129area[man_made=monitoring_station],
     
    11581161    set icon_z17;
    11591162    text: auto;
     1163}
     1164area[man_made=groyne]:closed {
     1165    fill-color: manmade#d8d8d8;
     1166}
     1167way[man_made=groyne] {
     1168    width: 2;
     1169    color: manmade#d8d8d8;
     1170}
     1171area[man_made=breakwater]:closed {
     1172    fill-color: manmade#d8d8d8;
     1173}
     1174way[man_made=breakwater] {
     1175    width: 2;
     1176    color: manmade#d8d8d8;
    11601177}
    11611178node[man_made=groyne] {
Note: See TracChangeset for help on using the changeset viewer.