Changes between Version 3 and Version 4 of Styles/MTB
- Timestamp:
- 2013-11-24T15:22:55+01:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/MTB
v3 v4 6 6 {{{ 7 7 #!style type="mapcss" 8 9 8 meta 10 9 { 11 10 title: "MTB"; 12 description: "Standalone style to visualize mtb:scale of objects, fade everything else. Please turn off JOSM internal style to use it."; 13 version: "0.1_2013-11-24"; 14 author: "hwoehrle"; 15 link: "http://josm.openstreetmap.de/wiki/Styles/MTB"; 16 min-josm-version: "5198"; 11 description: "visualize mtb:scale of objects"; 12 version: "0.11_2013-11-25"; 13 author: "Heiko Woehrle"; 17 14 } 18 15 19 16 meta[lang=de] 20 17 { 21 description: "Eigenständiger Stil, zur Darstellung von Mountainbike-relevanten Angaben wie mtb:scale etc. - bitte JOSM-Stil deaktivieren."; 18 title: "MTB"; 19 description: "Darstellung von Mountainbike-relevanten Angaben wie mtb:scale etc. - bitte JOSM-Stil deaktivieren."; 22 20 } 23 21 … … 135 133 136 134 135 /* Display of minor roads that are usally useable by bike */ 136 137 way[highway=~/unclassified|residential|tertiary|service/] 138 { 139 color: white; 140 opacity: 0.5: 141 casing-color: #684718; 142 casing-width: 2; 143 } 144 way|z-14[highway=~/unclassified|residential|tertiary|service/] 145 { 146 width: 4; 147 } 148 way|z15-16[highway=~/unclassified|residential|tertiary|service/] 149 { 150 width: 6; 151 } 152 way|z17-[highway=~/unclassified|residential|tertiary|service/] 153 { 154 width: 10; 155 } 156 157 158 /* Display of regional and big roads */ 159 160 way[highway=~/motorway|trunk|primary|secondary/] 161 { 162 color: #E6DEBE; 163 opacity: 0.5: 164 casing-color: #684718; 165 casing-width: 2; 166 } 167 way|z-14[highway=~/motorway|trunk|primary|secondary/] 168 { 169 width: 6; 170 } 171 way|z15-16[highway=~/motorway|trunk|primary|secondary/] 172 { 173 width: 8; 174 } 175 way|z17-[highway=~/motorway|trunk|primary|secondary/] 176 { 177 width: 12; 178 } 179 180 181 182 183 way[waterway] 184 { 185 color: #6CCEE4; 186 width: 3; 187 } 188 137 189 /* add a background glow for ways taking part in a bicycle route relation - similar to what is done in potlatch2.mapcss */ 138 190 relation[type=route][route=bicycle][network=ncn] > way::relation_underlay { z-index: -200; width: 15; color: red; opacity: 0.08; linecap: none; } 139 191 relation[type=route][route=bicycle][network=rcn] > way::relation_underlay { z-index: -200; width: 15; color: cyan; opacity: 0.08; linecap: none; } 140 192 relation[type=route][route=bicycle][network=lcn] > way::relation_underlay { z-index: -200; width: 15; color: blue; opacity: 0.08; linecap: none; } 141 142 143 144 145 193 }}}
