Changeset 11281 in josm


Ignore:
Timestamp:
2016-11-18T16:23:25+01:00 (4 months ago)
Author:
Klumbumbus
Message:

allow waterway=lockgate on ways and add mappaint style, add mappaint style also for lock=yes on river and canal

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r11280 r11281  
    24102410            <check key="floating" text="Floating" />
    24112411        </item> <!-- Pier -->
    2412         <item name="Lock Gate" icon="presets/nautical/lock_gate.svg" type="node" preset_name_label="true">
     2412        <item name="Lock Gate" icon="presets/nautical/lock_gate.svg" type="node,way" preset_name_label="true">
    24132413            <link href="http://wiki.openstreetmap.org/wiki/Tag:waterway=lock_gate"
    24142414                  cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:waterway=lock_gate"
  • trunk/styles/standard/elemstyles.mapcss

    r11265 r11281  
    42054205    color: water#0000ff;
    42064206}
     4207way[waterway=river][lock=yes],
     4208way[waterway=canal][lock=yes] {
     4209    casing-width: 2;
     4210    casing-color: lock#303030;
     4211    casing-dashes: 5,20;
     4212}
    42074213way[waterway=stream] {
    42084214    width: 1;
     
    42284234    icon-image: "presets/nautical/boatyard.svg";
    42294235    set icon_z17;
     4236}
     4237way[waterway=lock_gate] {
     4238    width: 3;
     4239    color: lock_gate#303030;
    42304240}
    42314241node[waterway=lock_gate] {
Note: See TracChangeset for help on using the changeset viewer.