Changeset 7201 in josm for trunk/styles


Ignore:
Timestamp:
2014-05-31T22:28:22+02:00 (10 years ago)
Author:
bastiK
Message:

see #10057 - Better support for cycleway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/styles/standard/elemstyles.mapcss

    r7199 r7201  
    814814/*****************/
    815815
    816 way[cycleway=lane]::core_cycleway,
    817 way[cycleway=opposite_lane]::core_cycleway {
    818     object-z-index: 1;
    819     width: +0;
     816way[oneway?][cycleway=lane]:righthandtraffic::core_cycleway,
     817way[oneway=-1][cycleway=opposite_lane]:righthandtraffic::core_cycleway {
     818    set lR;
     819    set righthandtr;
     820}
     821way[oneway?][cycleway=opposite_lane]:righthandtraffic::core_cycleway,
     822way[oneway=-1][cycleway=lane]:righthandtraffic::core_cycleway {
     823    set lL;
     824    set righthandtr;
     825}
     826way[oneway?][cycleway=lane]!.righthandtr::core_cycleway,
     827way[oneway=-1][cycleway=opposite_lane]!.righthandtr::core_cycleway {
     828    set lL;
     829}
     830way[oneway?][cycleway=opposite_lane]!.righthandtr::core_cycleway,
     831way[oneway=-1][cycleway=lane]!.righthandtr::core_cycleway {
     832    set lR;
     833}
     834way[cycleway:left=lane]::core_cycleway {
     835    set lL;
     836}
     837way[cycleway:right=lane]::core_cycleway {
     838    set lR;
     839}
     840way[!oneway][cycleway=lane]::core_cycleway {
     841    set lL;
     842    set lR;
     843}
     844
     845way[oneway?][cycleway=track]:righthandtraffic::core_cycleway,
     846way[oneway=-1][cycleway=opposite_track]:righthandtraffic::core_cycleway {
     847    set tR;
     848    set righthandtr;
     849}
     850way[oneway?][cycleway=opposite_track]:righthandtraffic::core_cycleway,
     851way[oneway=-1][cycleway=track]:righthandtraffic::core_cycleway {
     852    set tL;
     853    set righthandtr;
     854}
     855way[oneway?][cycleway=track]!.righthandtr::core_cycleway,
     856way[oneway=-1][cycleway=opposite_track]!.righthandtr::core_cycleway {
     857    set tL;
     858}
     859way[oneway?][cycleway=opposite_track]!.righthandtr::core_cycleway,
     860way[oneway=-1][cycleway=track]!.righthandtr::core_cycleway {
     861    set tR;
     862}
     863way[cycleway:left=track]::core_cycleway {
     864    set tL;
     865}
     866way[cycleway:right=track]::core_cycleway {
     867    set tR;
     868}
     869way[!oneway][cycleway=track]::core_cycleway {
     870    set tL;
     871    set tR;
     872}
     873
     874way.lR::core_cycleway {
     875    width: 2;
    820876    color: bicycle#b100ff;
    821     dashes: 8,14;
    822 }
    823 way[cycleway=track]::core_cycleway,
    824 way[cycleway=opposite_track]::core_cycleway {
    825     object-z-index: 1;
    826     width: +0;
     877    dashes: 6, 10;
     878    offset: 0 - (prop("width", "default") / 2) - 2;
     879    major-z-index: 2.1;
     880    modifier: true;
     881}
     882way[prop("lL","core_cycleway")]::core_cycleway2 {
     883    width: 2;
    827884    color: bicycle#b100ff;
    828     dashes: 14,14;
    829 }
     885    dashes: 6, 10;
     886    offset: (prop("width", "default") / 2) + 2;
     887    major-z-index: 2.1;
     888    modifier: true;
     889}
     890way.tR::core_cycleway {
     891    width: 2;
     892    color: bicycle#b100ff;
     893    dashes: 25, 6;
     894    offset: 0 - (prop("width", "default") / 2) - 2;
     895    major-z-index: 2.1;
     896    modifier: true;
     897}
     898way[prop("tL","core_cycleway")]::core_cycleway2 {
     899    width: 2;
     900    color: bicycle#b100ff;
     901    dashes: 25, 6;
     902    offset: (prop("width", "default") / 2) + 2;
     903    major-z-index: 2.1;
     904    modifier: true;
     905}
     906
    830907way[cycleway=opposite]::core_cycleway {
    831908    object-z-index: 1;
Note: See TracChangeset for help on using the changeset viewer.