8 | | #!style |
9 | | <?xml version="1.0" encoding="UTF-8"?> |
10 | | <rules xmlns="http://josm.openstreetmap.de/mappaint-style-1.0" |
11 | | author="cmuelle8" shortdescription="Lit" de.shortdescription="Straßenbeleuchtung" ru.shortdescription="Уличное освещение" |
12 | | description="Show lit=yes/no settings in JOSM map display" |
13 | | de.description="Anzeige der Straßenbeleuchtung in der JOSM-Kartenanzeige" |
14 | | version="1.[[revision]]_[[date]]"> |
15 | | <rule> |
16 | | <condition k="lit" b="yes"/> |
17 | | <linemod mode="over" width="10" realwidth="8" colour="lit_yes#EEEECCB0"/> |
18 | | </rule> |
19 | | <rule> |
20 | | <condition k="lit" b="no"/> |
21 | | <linemod mode="over" width="10" realwidth="8" colour="lit_no#000000B0"/> |
22 | | </rule> |
23 | | </rules> |
| 8 | #!style type="mapcss" |
| 9 | meta { |
| 10 | title: "Lit"; |
| 11 | version: "2.0"; |
| 12 | description: "Show lit=yes/no settings in JOSM map display"; |
| 13 | author: "cmuelle8"; |
| 14 | link: "https://josm.openstreetmap.de/wiki/Styles/Lit"; |
| 15 | } |
| 16 | way[lit=yes]::lit_layer |
| 17 | { |
| 18 | object-z-index: 1.0; |
| 19 | width: +10; |
| 20 | opacity: 0.75; |
| 21 | color: #EEEECC; |
| 22 | } |
| 23 | way[lit=no]::lit_layer |
| 24 | { |
| 25 | object-z-index: 1.0; |
| 26 | width: +10; |
| 27 | opacity: 0.75; |
| 28 | color: #000000; |
| 29 | } |