Changeset 15201 in josm


Ignore:
Timestamp:
2019-07-01T21:59:18+02:00 (8 weeks ago)
Author:
Klumbumbus
Message:
  • see #10618 - move cycleway=asl icon
  • fix #16989 - add highway=toll_gantry (icon self created, derived from our toll_station icon, CC0 and PD licensed)
  • add enforcement=toll to enforcement relation preset, sort values
Location:
trunk
Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15199 r15201  
    11241124            </optional>
    11251125        </item> <!-- Give Way -->
    1126         <item name="Advanced stop line" icon="presets/transport/way/asl.svg" type="node" preset_name_label="true">
     1126        <item name="Advanced stop line" icon="presets/vehicle/asl.svg" type="node" preset_name_label="true">
    11271127            <link wiki="Tag:cycleway=asl" />
    11281128            <key key="cycleway" value="asl" />
     
    12391239            </optional>
    12401240        </item> <!-- Speed Camera -->
     1241        <item name="Toll gantry" icon="presets/vehidle/restriction/toll_gantry.svg" type="node" preset_name_label="true">
     1242            <link wiki="Tag:highway=toll_gantry" />
     1243            <key key="highway" value="toll_gantry" />
     1244            <optional>
     1245                <text key="operator" text="Operator" />
     1246            </optional>
     1247        </item> <!-- Toll gantry -->
    12411248        <item name="Traffic Mirror" icon="presets/vehicle/traffic_mirror.svg" type="node" preset_name_label="true">
    12421249            <link wiki="Tag:highway=traffic_mirror" />
     
    74407447            <space />
    74417448            <key key="type" value="enforcement" />
    7442             <combo key="enforcement" text="Type of enforcement" values="maxheight,maxweight,maxspeed,mindistance,traffic_signals,check" />
     7449            <combo key="enforcement" text="Type of enforcement" values="check,maxheight,maxspeed,maxweight,mindistance,toll,traffic_signals" />
    74437450            <text key="maxheight" text="Max. height (meters, only if enforcement=maxheight)" />
    74447451            <text key="maxweight" text="Max. weight (tonnes, only if enforcement=maxweight)" />
  • trunk/styles/standard/elemstyles.mapcss

    r15199 r15201  
    700700}
    701701node[cycleway=asl] {
    702     icon-image: "presets/transport/way/asl.svg";
     702    icon-image: "presets/vehicle/asl.svg";
    703703    set icon_z17;
    704704}
     
    733733relation[type=enforcement] >[role="device"] node {
    734734    icon-image: "presets/vehicle/restriction/speed_camera.svg";
     735    set icon_z17;
     736}
     737node[highway=toll_gantry] {
     738    icon-image: "presets/vehicle/restriction/toll_gantry.svg";
    735739    set icon_z17;
    736740}
Note: See TracChangeset for help on using the changeset viewer.