Changes between Version 8 and Version 9 of Styles/Surface
- Timestamp:
- 2011-03-17T01:29:31+01:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Surface
v8 v9 51 51 { 52 52 symbol-shape: square; 53 symbol-size: 1;54 symbol-stroke-color: black;53 symbol-size: 2; 54 symbol-stroke-color: #909090; 55 55 symbol-stroke-opacity: 0.1; 56 56 } … … 60 60 symbol-shape: square; 61 61 symbol-size: 2; 62 symbol-stroke-color: yellow;62 symbol-stroke-color: #909090; 63 63 symbol-stroke-opacity: 0.1; 64 64 } … … 208 208 } 209 209 210 way|z14-[highway][smoothness=~/excellent|good/] 211 { 212 text: none; 213 text-color: #EEE9BF; 214 } 215 210 216 way|z14-[highway][surface] 211 217 { … … 224 230 } 225 231 226 way|z14-[highway][surface=~/paved.*|asphalt.* |concrete.*|cobble.*/]232 way|z14-[highway][surface=~/paved.*|asphalt.*/] 227 233 { 228 234 text-color: black; 229 235 render-encasing: true; 230 } 231 232 way|z14-[highway][surface=~/.*gravel.*|pebble.*/] 233 { 234 text-color: #B0B060; 235 } 236 237 way|z14-[highway][surface=~/unpaved.*|dirt.*|earth.*|ground.*|mud.*/] 236 render-text: none; 237 } 238 239 way|z14-[highway][surface=~/paving.*|concrete.*|cobble.*/] 240 { 241 text-color: black; 242 render-encasing: true; 243 render-text: eval(prop(text)); 244 } 245 246 way|z15-[highway][surface=~/.*gravel.*|pebble.*/] 247 { 248 text-color: #D0D090; 249 } 250 251 way|z15-[highway][surface=~/unpaved.*|dirt.*|earth.*|ground.*|mud.*/] 238 252 { 239 253 text-color: #FFB0B0; 240 254 } 241 255 242 way|z14-[highway][surface=sand] 243 { 244 text-color: #FFFFB0; 245 } 246 247 way|z14-[highway][surface=grass] 248 { 249 text-color: #B0FFB0; 256 way|z15-[highway][surface=sand] 257 { 258 text-color: #FFFF80; 259 } 260 261 way|z15-[highway][surface=grass] 262 { 263 text-color: #80FF80; 264 } 265 266 way|z14-[highway][surface][!smoothness] 267 { 268 color: eval(prop(text-color)); 269 dashes: list(2,1); 250 270 } 251 271 252 272 way|z14-[highway][eval(prop(render-encasing))][smoothness=~/excellent|good|intermediate/] 253 273 { 254 text: none;274 text: eval(prop(render-text)); 255 275 casing-width: eval(prop(width) + prop(my-encasing)); 256 276 casing-color: eval(prop(text-color)); … … 258 278 } 259 279 260 way|z14-[highway][surface][!smoothness] 261 { 262 color: eval(prop(text-color)); 263 dashes: list(2,1); 280 281 282 283 way|z-15[highway] 284 { 285 text: none; 264 286 } 265 287
