| 229 | /* General display rules for nodes and areas on lower and higher zoom levels for better view. This section is inspired by the mappaint style "Less obtrusive nodes". */ |
| 230 | /* smaller nodes on low zoom levels and hiding text and icons */ |
| 231 | canvas |
| 232 | { |
| 233 | default-points: false; |
| 234 | } |
| 235 | |
| 236 | node |
| 237 | { |
| 238 | text: auto; |
| 239 | } |
| 240 | |
| 241 | node|z17- |
| 242 | { |
| 243 | symbol-size:1; |
| 244 | symbol-shape: square; |
| 245 | symbol-stroke-color: #ffff00; |
| 246 | } |
| 247 | |
| 248 | node|z17 { symbol-size: 2; } |
| 249 | way > node|z17 { symbol-size: 1; } |
| 250 | node|z17:connection { symbol-size: 2; } |
| 251 | |
| 252 | node|z18 { symbol-size: 4; } |
| 253 | way > node|z18 { symbol-size: 2; } |
| 254 | node|z18:connection { symbol-size: 4; } |
| 255 | |
| 256 | node|z19 { symbol-size: 5; } |
| 257 | way > node|z19 { symbol-size: 3; } |
| 258 | node|z19:connection { symbol-size: 5; } |
| 259 | |
| 260 | node|z20- { symbol-size: 6; } |
| 261 | way > node|z20- { symbol-size: 4; } |
| 262 | node|z20-:connection { symbol-size: 6; } |
| 263 | |
| 264 | |
| 265 | node|z-16, relation|z-16[type=restriction] |
| 266 | { |
| 267 | icon-image: none; |
| 268 | } |
| 269 | |
| 270 | node|z-17 |
| 271 | { |
| 272 | text: eval(""); |
| 273 | } |
| 274 | |
| 275 | /* bigger text of nodes and areas on high zoom levels */ |
| 276 | |
| 277 | node|z20,area|z20 { font-size: 9; } |
| 278 | node|z21,area|z21 { font-size: 10; } |
| 279 | node|z22-,area|z22- { font-size: 11; } |
| 280 | |
| 281 | /* ------------------------------------------------------------------------------------------------------------------------ */ |
| 282 | |
245 | | area[building=bunker][!"addr:housenumber"][!"addr:street"][!"addr:place"], |
246 | | area[building=cabin][!"addr:housenumber"][!"addr:street"][!"addr:place"], |
247 | | area[building=farm_auxiliary][!"addr:housenumber"][!"addr:street"][!"addr:place"], |
248 | | area[building=garage][!"addr:housenumber"][!"addr:street"][!"addr:place"], |
249 | | area[building=garages][!"addr:housenumber"][!"addr:street"][!"addr:place"], |
250 | | area[building=hut][!"addr:housenumber"][!"addr:street"][!"addr:place"], |
251 | | area[building=roof][!"addr:housenumber"][!"addr:street"][!"addr:place"], |
252 | | area[building=shed][!"addr:housenumber"][!"addr:street"][!"addr:place"] |
| 299 | area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=bunker], |
| 300 | area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=cabin], |
| 301 | area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=farm_auxiliary], |
| 302 | area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=garage], |
| 303 | area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=garages], |
| 304 | area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=hut], |
| 305 | area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=roof], |
| 306 | area[!"addr:housenumber"][!"addr:street"][!"addr:place"][building=shed] |
| 335 | |
| 336 | node|z17-["addr:street"]::halo, |
| 337 | node|z17-["addr:place"]::halo, |
| 338 | relation[type="associatedStreet"] > node|z17-["addr:housenumber"]::halo |
| 339 | { |
| 340 | symbol-size: 22; |
| 341 | } |
| 342 | node|z16["addr:street"]::halo, |
| 343 | node|z16["addr:place"]::halo, |
| 344 | relation[type="associatedStreet"] > node|z16["addr:housenumber"]::halo |
| 345 | { |
| 346 | symbol-size: 12; |
| 347 | } |
| 348 | node|z15["addr:street"]::halo, |
| 349 | node|z15["addr:place"]::halo, |
| 350 | relation[type="associatedStreet"] > node|z15["addr:housenumber"]::halo |
| 351 | { |
| 352 | symbol-size: 8; |
| 353 | } |
| 354 | node|z14["addr:street"]::halo, |
| 355 | node|z14["addr:place"]::halo, |
| 356 | relation[type="associatedStreet"] > node|z14["addr:housenumber"]::halo |
| 357 | { |
| 358 | symbol-size: 6; |
| 359 | } |
| 360 | node|z13["addr:street"]::halo, |
| 361 | node|z13["addr:place"]::halo, |
| 362 | relation[type="associatedStreet"] > node|z13["addr:housenumber"]::halo |
| 363 | { |
| 364 | symbol-size: 4; |
| 365 | } |
| 366 | node|z-12["addr:street"]::halo, |
| 367 | node|z-12["addr:place"]::halo, |
| 368 | relation[type="associatedStreet"] > node|z-12["addr:housenumber"]::halo |
| 369 | { |
| 370 | symbol-size: 2; |
| 371 | } |
| 372 | |
| 373 | /* --- */ |