Changeset 9092 in josm


Ignore:
Timestamp:
2015-12-06T19:55:58+01:00 (5 years ago)
Author:
Klumbumbus
Message:

see #12135 - add railway=signal to mappaint and preset

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r9091 r9092  
    24852485            <key key="railway" value="switch" />
    24862486            <text key="ref" text="Reference" />
     2487            <text key="operator" text="Operator" />
    24872488        </item> <!-- Railway Switch -->
     2489        <item name="Railway Signal" icon="styles/standard/vehicle/railway_signal.svg" type="node" preset_name_label="true">
     2490            <link href="http://wiki.openstreetmap.org/wiki/Tag:railway=signal" />
     2491            <key key="railway" value="signal" />
     2492            <text key="ref" text="Reference" />
     2493            <text key="operator" text="Operator" />
     2494        </item> <!-- Railway Signal -->
    24882495        <item name="Railway milestone" icon="styles/standard/vehicle/milestone.svg" type="node" preset_name_label="true">
    24892496            <link href="http://wiki.openstreetmap.org/wiki/Tag:railway=milestone" />
  • trunk/styles/standard/elemstyles.mapcss

    r9091 r9092  
    34723472    text: auto;
    34733473}
     3474node[railway=signal] {
     3475    icon-image: "vehicle/railway_signal.svg";
     3476    icon-width: 16;
     3477    set icon_z17;
     3478    text: auto;
     3479}
    34743480node[railway=milestone] {
    34753481    icon-image: "vehicle/milestone.svg";
Note: See TracChangeset for help on using the changeset viewer.