| | 1 | {{{ |
| | 2 | #!style type="mapcss" |
| | 3 | |
| | 4 | meta { |
| | 5 | title: "Slovakia Bicycle Routes"; |
| | 6 | description: "Highlight bicycle routes tagged with Slovakia bicycle route tagging scheme."; |
| | 7 | version: "0.1.[[revision]]_[[date]]"; |
| | 8 | author: "Martin Ždila"; |
| | 9 | } |
| | 10 | |
| | 11 | way::red_c_layer { |
| | 12 | offset: -2; |
| | 13 | } |
| | 14 | relation[route=bicycle][colour=red] > way::red_c_layer { |
| | 15 | color: red; |
| | 16 | width: 4; |
| | 17 | offset: -6; |
| | 18 | dashes: 0, 6; |
| | 19 | linecap: round; |
| | 20 | } |
| | 21 | |
| | 22 | way::blue_c_layer { |
| | 23 | offset: prop("offset", "red_c_layer"); |
| | 24 | } |
| | 25 | relation[route=bicycle][colour=blue] > way::blue_c_layer { |
| | 26 | color: blue; |
| | 27 | width: 4; |
| | 28 | offset: prop("offset") - 4; |
| | 29 | } |
| | 30 | |
| | 31 | way::green_c_layer { |
| | 32 | offset: prop("offset", "blue_c_layer"); |
| | 33 | } |
| | 34 | relation[route=bicycle][colour=green] > way::green_c_layer { |
| | 35 | color: green; |
| | 36 | width: 4; |
| | 37 | offset: prop("offset") - 4; |
| | 38 | } |
| | 39 | |
| | 40 | way::yellow_c_layer { |
| | 41 | offset: prop("offset", "green_c_layer"); |
| | 42 | } |
| | 43 | relation[route=bicycle][colour=yellow] > way::yellow_c_layer { |
| | 44 | color: yellow; |
| | 45 | width: 4; |
| | 46 | offset: prop("offset") - 4; |
| | 47 | } |
| | 48 | |
| | 49 | }}} |