Changes between Version 161 and Version 162 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2019-08-02T21:31:00+02:00 (6 years ago)
Author:
Klumbumbus
Comment:

don't use deprecated tag in example

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v161 v162  
    695695}
    696696
    697 way[access][access!=public]::non_public_access_layer {
     697way[access][access!=yes]::non_public_access_layer {
    698698    width: +2;
    699699    color:red;
     
    709709}
    710710}}}
    711 This draws all secondary and tertiary roads in yellow and orange respectively. Any road with an access tag other than public will get an extra line style below ('''{{{object-z-index:-1.0;}}}''') the main line. If that part of the street happens to be a bridge, it will also get a half transparent blue overlay. The relative width value ('''{{{width: +2;}}}''') refers to the width on the default layer (2 or 3 in this case).
     711This draws all secondary and tertiary roads in yellow and orange respectively. Any road with an access tag other than yes will get an extra line style below ('''{{{object-z-index:-1.0;}}}''') the main line. If that part of the street happens to be a bridge, it will also get a half transparent blue overlay. The relative width value ('''{{{width: +2;}}}''') refers to the width on the default layer (2 or 3 in this case).
    712712
    713713The name for the layer can be any identifier.