Changes between Version 12 and Version 13 of Ru:Help/Styles/MapCSSImplementation
- Timestamp:
- 2019-08-02T21:33:10+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ru:Help/Styles/MapCSSImplementation
v12 v13 48 48 way[highway=residential] { /* the styles */} 49 49 50 /* применяется к новым замкнутым линиям на слое 1, если они имеют тег amenity=parking и access= public, и если50 /* применяется к новым замкнутым линиям на слое 1, если они имеют тег amenity=parking и access=customers, и если 51 51 * уровень масштаба в диапазоне от 11 до 14 52 52 */ 53 way|z11-14[amenity=parking][access= public]:closed:new::layer_1 {...}54 55 56 area[amenity=parking][access= public], area[amenity=parking][!access] {...}53 way|z11-14[amenity=parking][access=customers]:closed:new::layer_1 {...} 54 55 56 area[amenity=parking][access=customers], area[amenity=parking][!access] {...} 57 57 relation[type=route][route=foot] > way::relation_underlay {..} 58 58 }}} … … 619 619 } 620 620 621 way[access][access!= public]::non_public_access_layer {621 way[access][access!=yes]::non_public_access_layer { 622 622 width: +2; 623 623 color:red; … … 633 633 } 634 634 }}} 635 This draws all secondary and tertiary roads in yellow and orange respectively. Any road with an access tag other than publicwill 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).635 This 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). 636 636 637 637 The name for the layer can be any identifier.
