Changeset 15257 in josm


Ignore:
Timestamp:
2019-07-18T21:38:29+02:00 (5 weeks ago)
Author:
Klumbumbus
Message:

see #17901, fix #11780 - add preset and rendering support for highway=cycleway + foot=designated and highway=footway + bicycle=designated schema

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15255 r15257  
    994994                <reference ref="surface_smoothness" />
    995995                <reference ref="highway_yesno_incline_oneway_lit_width" />
    996                 <combo key="foot" text="Pedestrians" values="yes,no" />
     996                <combo key="foot" text="Pedestrians" values="yes,no,designated" />
    997997            </optional>
    998998        </item> <!-- Dedicated Cycleway -->
     
    10291029                <reference ref="name_layer" />
    10301030                <reference ref="surface_smoothness" />
    1031                 <reference ref="highway_yesno_incline" />
    1032                 <check key="lit" text="Lit" />
    1033                 <check key="bicycle" text="Bicycle" />
    1034                 <text key="width" text="Width (meters)" />
     1031                <reference ref="highway_yesno_incline_oneway_lit_width" />
     1032                <combo key="bicycle" text="Bicycle" values="yes,no,designated" />
    10351033            </optional>
    10361034        </item> <!-- Dedicated Footway -->
  • trunk/styles/standard/elemstyles.mapcss

    r15201 r15257  
    614614}
    615615way[highway=path][bicycle=designated][foot=designated],
    616 way[highway=path][bicycle=official][foot=official] {
     616way[highway=path][bicycle=official][foot=official],
     617way[highway=cycleway][foot=designated] {
    617618    width: 1;
    618619    color: bicycle#b100ff;
     
    620621    dashes: 14,14;
    621622    dashes-background-color: foot#00ff00;
     623}
     624way[highway=footway][bicycle=designated] {
     625    width: 1;
     626    color: foot#00ff00;
     627    dashes: 14,14;
     628    dashes-background-color: bicycle#b100ff;
    622629}
    623630way[highway=cycleway][foot=yes],
Note: See TracChangeset for help on using the changeset viewer.