| | 1 | [[TranslatedPages(revision=6)]] |
| | 2 | |
| | 3 | = [[JOSMImage(presets/service/recycling/recycling_container,36,middle,inline)]] Υλικά Ανακύκλωσης = |
| | 4 | [[PageOutline(2-9)]] |
| | 5 | |
| | 6 | == Περιγραφή == |
| | 7 | |
| | 8 | Το στυλ χαρτογράφησης "Υλικά Ανακύκλωσης" εμφανίζει τις ετικέτες υλικού του [osmwiki:Tag:amenity=recycling]. Τα υλικά που επισημαίνονται με "ναι" γράφονται με πράσινο χρώμα και τα υλικά που επισημαίνονται με "όχι" γράφονται με κόκκινο χρώμα. |
| | 9 | |
| | 10 | Μπορείτε να προσαρμόσετε τα χρώματα στο παράθυρο προτιμήσεων του JOSM. |
| | 11 | |
| | 12 | Μπορείτε να χρησιμοποιήσετε αυτό το στυλ χαρτογράφησης μαζί με το προεπιλεγμένο εσωτερικό στυλ χαρτογράφησης JOSM. Μπορείτε να προσαρμόσετε την εμφάνιση στις [[Help/Dialog/MapPaint/StyleSettings|ρυθμίσεις στυλ]] αυτού του στυλ. |
| | 13 | |
| | 14 | **Σημειώστε ότι ΔΕΝ είναι ο στόχος να επισημάνετε κάθε υλικό που δεν μπορείτε να ανακυκλώσετε σε ένα δοχείο ανακύκλωσης με `*=no` (μόνο εάν συνήθως περιμένατε να ανακυκλώσετε ένα συγκεκριμένο υλικό, αλλά δεν μπορείτε εκεί).** |
| | 15 | |
| | 16 | Το στυλ χρησιμοποιεί τις τοπικές μεταφράσεις της εσωτερικής προεπιλογής ανακύκλωσης. |
| | 17 | |
| | 18 | Για ιδέες/ερωτήσεις/σφάλματα/προτάσεις ή παρόμοια, γράψτε ένα μήνυμα στο [osmwww:user/Klumbumbus Klumbumbus]. |
| | 19 | |
| | 20 | Μη διστάσετε να μεταφράσετε αυτήν τη σελίδα wiki σε περισσότερες γλώσσες. Για τις ήδη μεταφρασμένες γλώσσες δείτε επάνω δεξιά. |
| | 21 | |
| | 22 | [[Image(Styles/RecyclingMaterials:Examples.png)]] |
| | 23 | |
| | 24 | ^Παράδειγμα^ |
| | 25 | |
| | 26 | == Κώδικας == |
| | 27 | {{{ |
| | 28 | #!style type="mapcss" |
| | 29 | |
| | 30 | meta |
| | 31 | { |
| | 32 | title: "Recycling Materials"; |
| | 33 | version: "1.0.[[revision]]_[[date]]"; |
| | 34 | description: "Displays recycling material on recycling nodes."; |
| | 35 | icon: "presets/service/recycling/recycling_container.svg"; |
| | 36 | author: "Klumbumbus"; |
| | 37 | link: "https://josm.openstreetmap.de/wiki/Styles/RecyclingMaterials"; |
| | 38 | min-josm-version: "8775"; |
| | 39 | } |
| | 40 | |
| | 41 | meta[lang=de] |
| | 42 | { |
| | 43 | title: "Recyclingmaterialien"; |
| | 44 | description: "Zeigt Recyclingmaterialien an Recyclingnodes an."; |
| | 45 | link: "https://josm.openstreetmap.de/wiki/De:Styles/RecyclingMaterials"; |
| | 46 | } |
| | 47 | |
| | 48 | /* create user settings */ |
| | 49 | setting::hide_recycling { |
| | 50 | type: boolean; |
| | 51 | label: tr("Hide at low zoom"); |
| | 52 | default: true; |
| | 53 | } |
| | 54 | setting::halo { |
| | 55 | type: boolean; |
| | 56 | label: tr("Use text halo"); |
| | 57 | default: false; |
| | 58 | } |
| | 59 | |
| | 60 | /* prepare lists of recycling keys separated by their values yes or no */ |
| | 61 | node[/^recycling:/] { |
| | 62 | yeslist: list("~~~"); |
| | 63 | nolist: list("~~~"); |
| | 64 | } |
| | 65 | |
| | 66 | /* fill lists, use available translations of the josm internal recycling preset */ |
| | 67 | /* tags taken from https://wiki.openstreetmap.org/wiki/Tag:amenity=recycling and tags with more than 100 uses from https://taginfo.openstreetmap.org/search?q=recycling%3A */ |
| | 68 | /* tags are not checked for validity */ |
| | 69 | /* needs to be updated from time to time */ |
| | 70 | /* fill yes-list */ |
| | 71 | node[recycling:aerosol_cans=yes] { |
| | 72 | yeslist: list(join_list(", ", prop(yeslist)), tr("Aerosol Cans")); |
| | 73 | } |
| | 74 | node[recycling:animal_waste=yes] { |
| | 75 | yeslist: list(join_list(", ", prop(yeslist)), tr("Animal Waste")); |
| | 76 | } |
| | 77 | node[recycling:aluminium=yes] { |
| | 78 | yeslist: list(join_list(", ", prop(yeslist)), tr("Aluminium")); |
| | 79 | } |
| | 80 | node[recycling:batteries=yes] { |
| | 81 | yeslist: list(join_list(", ", prop(yeslist)), tr("Batteries")); |
| | 82 | } |
| | 83 | node[recycling:car_batteries=yes] { |
| | 84 | yeslist: list(join_list(", ", prop(yeslist)), tr("Car Batteries")); |
| | 85 | } |
| | 86 | node[recycling:beverage_cartons=yes] { |
| | 87 | yeslist: list(join_list(", ", prop(yeslist)), tr("Beverage Cartons")); |
| | 88 | } |
| | 89 | node[recycling:bicycles=yes] { |
| | 90 | yeslist: list(join_list(", ", prop(yeslist)), tr("Bicycles")); |
| | 91 | } |
| | 92 | node[recycling:books=yes] { |
| | 93 | yeslist: list(join_list(", ", prop(yeslist)), tr("Books")); |
| | 94 | } |
| | 95 | node[recycling:bottles=yes] { |
| | 96 | yeslist: list(join_list(", ", prop(yeslist)), tr("Bottles")); |
| | 97 | } |
| | 98 | node[recycling:cans=yes] { |
| | 99 | yeslist: list(join_list(", ", prop(yeslist)), tr("Cans")); |
| | 100 | } |
| | 101 | node[recycling:cardboard=yes] { |
| | 102 | yeslist: list(join_list(", ", prop(yeslist)), tr("Cardboard")); |
| | 103 | } |
| | 104 | node[recycling:cartons=yes] { |
| | 105 | yeslist: list(join_list(", ", prop(yeslist)), tr("Cartons")); |
| | 106 | } |
| | 107 | node[recycling:cds=yes] { |
| | 108 | yeslist: list(join_list(", ", prop(yeslist)), tr("Cds")); |
| | 109 | } |
| | 110 | node[recycling:chipboard=yes] { |
| | 111 | yeslist: list(join_list(", ", prop(yeslist)), tr("Chipboard")); |
| | 112 | } |
| | 113 | node[recycling:christmas_trees=yes] { |
| | 114 | yeslist: list(join_list(", ", prop(yeslist)), tr("Christmas Trees")); |
| | 115 | } |
| | 116 | node[recycling:clothes=yes] { |
| | 117 | yeslist: list(join_list(", ", prop(yeslist)), tr("Clothes")); |
| | 118 | } |
| | 119 | node[recycling:coffee_capsules=yes] { |
| | 120 | yeslist: list(join_list(", ", prop(yeslist)), tr("Coffee Capsules")); |
| | 121 | } |
| | 122 | node[recycling:computers=yes] { |
| | 123 | yeslist: list(join_list(", ", prop(yeslist)), tr("Computers")); |
| | 124 | } |
| | 125 | node[recycling:cooking_oil=yes] { |
| | 126 | yeslist: list(join_list(", ", prop(yeslist)), tr("Cooking Oil")); |
| | 127 | } |
| | 128 | node[recycling:cork=yes] { |
| | 129 | yeslist: list(join_list(", ", prop(yeslist)), tr("Cork")); |
| | 130 | } |
| | 131 | node[recycling:drugs=yes] { |
| | 132 | yeslist: list(join_list(", ", prop(yeslist)), tr("Drugs")); |
| | 133 | } |
| | 134 | node[recycling:electrical_appliances=yes] { |
| | 135 | yeslist: list(join_list(", ", prop(yeslist)), tr("Electrical Appliances")); |
| | 136 | } |
| | 137 | node[recycling:electrical_items=yes] { |
| | 138 | yeslist: list(join_list(", ", prop(yeslist)), tr("Electrical Items")); |
| | 139 | } |
| | 140 | node[recycling:engine_oil=yes] { |
| | 141 | yeslist: list(join_list(", ", prop(yeslist)), tr("Engine Oil")); |
| | 142 | } |
| | 143 | node[recycling:fluorescent_tubes=yes] { |
| | 144 | yeslist: list(join_list(", ", prop(yeslist)), tr("Fluorescent Tubes")); |
| | 145 | } |
| | 146 | node[recycling:foil=yes] { |
| | 147 | yeslist: list(join_list(", ", prop(yeslist)), tr("Foil")); |
| | 148 | } |
| | 149 | node[recycling:gas_bottles=yes] { |
| | 150 | yeslist: list(join_list(", ", prop(yeslist)), tr("Gas Bottles")); |
| | 151 | } |
| | 152 | node[recycling:glass=yes] { |
| | 153 | yeslist: list(join_list(", ", prop(yeslist)), tr("Glass")); |
| | 154 | } |
| | 155 | node[recycling:glass_bottles=yes] { |
| | 156 | yeslist: list(join_list(", ", prop(yeslist)), tr("Glass Bottles")); |
| | 157 | } |
| | 158 | node[recycling:glass_jars=yes] { |
| | 159 | yeslist: list(join_list(", ", prop(yeslist)), tr("Glass Jars")); |
| | 160 | } |
| | 161 | node[recycling:green_waste=yes] { |
| | 162 | yeslist: list(join_list(", ", prop(yeslist)), tr("Green Waste")); |
| | 163 | } |
| | 164 | node[recycling:garden_waste=yes] { |
| | 165 | yeslist: list(join_list(", ", prop(yeslist)), tr("Garden Waste")); |
| | 166 | } |
| | 167 | node[recycling:hazardous_waste=yes] { |
| | 168 | yeslist: list(join_list(", ", prop(yeslist)), tr("Hazardous Waste")); |
| | 169 | } |
| | 170 | node[recycling:hardcore=yes] { |
| | 171 | yeslist: list(join_list(", ", prop(yeslist)), tr("Hardcore")); |
| | 172 | } |
| | 173 | node[recycling:hydrargyrum=yes] { |
| | 174 | yeslist: list(join_list(", ", prop(yeslist)), tr("Hydrargyrum")); |
| | 175 | } |
| | 176 | node[recycling:low_energy_bulbs=yes] { |
| | 177 | yeslist: list(join_list(", ", prop(yeslist)), tr("Low Energy Bulbs")); |
| | 178 | } |
| | 179 | node[recycling:magazines=yes] { |
| | 180 | yeslist: list(join_list(", ", prop(yeslist)), tr("Magazines")); |
| | 181 | } |
| | 182 | node[recycling:metal=yes] { |
| | 183 | yeslist: list(join_list(", ", prop(yeslist)), tr("Metal")); |
| | 184 | } |
| | 185 | node[recycling:mobile_phones=yes] { |
| | 186 | yeslist: list(join_list(", ", prop(yeslist)), tr("Mobile Phones")); |
| | 187 | } |
| | 188 | node[recycling:newspaper=yes] { |
| | 189 | yeslist: list(join_list(", ", prop(yeslist)), tr("Newspaper")); |
| | 190 | } |
| | 191 | node[recycling:organic=yes] { |
| | 192 | yeslist: list(join_list(", ", prop(yeslist)), tr("Organic")); |
| | 193 | } |
| | 194 | node[recycling:paint=yes] { |
| | 195 | yeslist: list(join_list(", ", prop(yeslist)), tr("Paint")); |
| | 196 | } |
| | 197 | node[recycling:paper=yes] { |
| | 198 | yeslist: list(join_list(", ", prop(yeslist)), tr("Paper")); |
| | 199 | } |
| | 200 | node[recycling:paper_packaging=yes] { |
| | 201 | yeslist: list(join_list(", ", prop(yeslist)), tr("Paper Packaging")); |
| | 202 | } |
| | 203 | node[recycling:PET=yes] { |
| | 204 | yeslist: list(join_list(", ", prop(yeslist)), tr("PET")); |
| | 205 | } |
| | 206 | node[recycling:plasterboard=yes] { |
| | 207 | yeslist: list(join_list(", ", prop(yeslist)), tr("Plasterboard")); |
| | 208 | } |
| | 209 | node[recycling:plastic=yes] { |
| | 210 | yeslist: list(join_list(", ", prop(yeslist)), tr("Plastic")); |
| | 211 | } |
| | 212 | node[recycling:plastic_bags=yes] { |
| | 213 | yeslist: list(join_list(", ", prop(yeslist)), tr("Plastic Bags")); |
| | 214 | } |
| | 215 | node[recycling:plastic_bottles=yes] { |
| | 216 | yeslist: list(join_list(", ", prop(yeslist)), tr("Plastic Bottles")); |
| | 217 | } |
| | 218 | node[recycling:plastic_packaging=yes] { |
| | 219 | yeslist: list(join_list(", ", prop(yeslist)), tr("Plastic Packaging")); |
| | 220 | } |
| | 221 | node[recycling:polyester=yes] { |
| | 222 | yeslist: list(join_list(", ", prop(yeslist)), tr("Polyester")); |
| | 223 | } |
| | 224 | node[recycling:polystyrene_foam=yes] { |
| | 225 | yeslist: list(join_list(", ", prop(yeslist)), tr("Polystyrene Foam")); |
| | 226 | } |
| | 227 | node[recycling:printer_cartridges=yes] { |
| | 228 | yeslist: list(join_list(", ", prop(yeslist)), tr("Printer Cartridges")); |
| | 229 | } |
| | 230 | node[recycling:printer_toner_cartridges=yes] { |
| | 231 | yeslist: list(join_list(", ", prop(yeslist)), tr("Printer Toner Cartridges")); |
| | 232 | } |
| | 233 | node[recycling:printer_inkjet_cartridges=yes] { |
| | 234 | yeslist: list(join_list(", ", prop(yeslist)), tr("Printer Inkjet Cartridges")); |
| | 235 | } |
| | 236 | node[recycling:rubble=yes] { |
| | 237 | yeslist: list(join_list(", ", prop(yeslist)), tr("Rubble")); |
| | 238 | } |
| | 239 | node[recycling:scrap_metal=yes] { |
| | 240 | yeslist: list(join_list(", ", prop(yeslist)), tr("Scrap Metal")); |
| | 241 | } |
| | 242 | node[recycling:sheet_metal=yes] { |
| | 243 | yeslist: list(join_list(", ", prop(yeslist)), tr("Sheet Metal")); |
| | 244 | } |
| | 245 | node[recycling:shoes=yes] { |
| | 246 | yeslist: list(join_list(", ", prop(yeslist)), tr("Shoes")); |
| | 247 | } |
| | 248 | node[recycling:small_appliances=yes] { |
| | 249 | yeslist: list(join_list(", ", prop(yeslist)), tr("Small Appliances")); |
| | 250 | } |
| | 251 | node[recycling:small_electrical_appliances=yes] { |
| | 252 | yeslist: list(join_list(", ", prop(yeslist)), tr("Small Electrical Appliances")); |
| | 253 | } |
| | 254 | node[recycling:styrofoam=yes] { |
| | 255 | yeslist: list(join_list(", ", prop(yeslist)), tr("Styrofoam")); |
| | 256 | } |
| | 257 | node[recycling:tyres=yes] { |
| | 258 | yeslist: list(join_list(", ", prop(yeslist)), tr("Tyres")); |
| | 259 | } |
| | 260 | node[recycling:tv_monitor=yes] { |
| | 261 | yeslist: list(join_list(", ", prop(yeslist)), tr("Tv Monitor")); |
| | 262 | } |
| | 263 | node[recycling:waste=yes] { |
| | 264 | yeslist: list(join_list(", ", prop(yeslist)), tr("Waste")); |
| | 265 | } |
| | 266 | node[recycling:waste_oil=yes] { |
| | 267 | yeslist: list(join_list(", ", prop(yeslist)), tr("Waste Oil")); |
| | 268 | } |
| | 269 | node[recycling:white_goods=yes] { |
| | 270 | yeslist: list(join_list(", ", prop(yeslist)), tr("White Goods")); |
| | 271 | } |
| | 272 | node[recycling:wood=yes] { |
| | 273 | yeslist: list(join_list(", ", prop(yeslist)), tr("Wood")); |
| | 274 | } |
| | 275 | |
| | 276 | /* fill no-list */ |
| | 277 | node[recycling:aerosol_cans=no] { |
| | 278 | nolist: list(join_list(", ", prop(nolist)), tr("Aerosol Cans")); |
| | 279 | } |
| | 280 | node[recycling:animal_waste=no] { |
| | 281 | nolist: list(join_list(", ", prop(nolist)), tr("Animal Waste")); |
| | 282 | } |
| | 283 | node[recycling:aluminium=no] { |
| | 284 | nolist: list(join_list(", ", prop(nolist)), tr("Aluminium")); |
| | 285 | } |
| | 286 | node[recycling:batteries=no] { |
| | 287 | nolist: list(join_list(", ", prop(nolist)), tr("Batteries")); |
| | 288 | } |
| | 289 | node[recycling:car_batteries=no] { |
| | 290 | nolist: list(join_list(", ", prop(nolist)), tr("Car Batteries")); |
| | 291 | } |
| | 292 | node[recycling:beverage_cartons=no] { |
| | 293 | nolist: list(join_list(", ", prop(nolist)), tr("Beverage Cartons")); |
| | 294 | } |
| | 295 | node[recycling:bicycles=no] { |
| | 296 | nolist: list(join_list(", ", prop(nolist)), tr("Bicycles")); |
| | 297 | } |
| | 298 | node[recycling:books=no] { |
| | 299 | nolist: list(join_list(", ", prop(nolist)), tr("Books")); |
| | 300 | } |
| | 301 | node[recycling:bottles=no] { |
| | 302 | nolist: list(join_list(", ", prop(nolist)), tr("Bottles")); |
| | 303 | } |
| | 304 | node[recycling:cans=no] { |
| | 305 | nolist: list(join_list(", ", prop(nolist)), tr("Cans")); |
| | 306 | } |
| | 307 | node[recycling:cardboard=no] { |
| | 308 | nolist: list(join_list(", ", prop(nolist)), tr("Cardboard")); |
| | 309 | } |
| | 310 | node[recycling:cartons=no] { |
| | 311 | nolist: list(join_list(", ", prop(nolist)), tr("Cartons")); |
| | 312 | } |
| | 313 | node[recycling:cds=no] { |
| | 314 | nolist: list(join_list(", ", prop(nolist)), tr("Cds")); |
| | 315 | } |
| | 316 | node[recycling:chipboard=no] { |
| | 317 | nolist: list(join_list(", ", prop(nolist)), tr("Chipboard")); |
| | 318 | } |
| | 319 | node[recycling:christmas_trees=no] { |
| | 320 | nolist: list(join_list(", ", prop(nolist)), tr("Christmas Trees")); |
| | 321 | } |
| | 322 | node[recycling:clothes=no] { |
| | 323 | nolist: list(join_list(", ", prop(nolist)), tr("Clothes")); |
| | 324 | } |
| | 325 | node[recycling:coffee_capsules=no] { |
| | 326 | nolist: list(join_list(", ", prop(nolist)), tr("Coffee Capsules")); |
| | 327 | } |
| | 328 | node[recycling:computers=no] { |
| | 329 | nolist: list(join_list(", ", prop(nolist)), tr("Computers")); |
| | 330 | } |
| | 331 | node[recycling:cooking_oil=no] { |
| | 332 | nolist: list(join_list(", ", prop(nolist)), tr("Cooking Oil")); |
| | 333 | } |
| | 334 | node[recycling:cork=no] { |
| | 335 | nolist: list(join_list(", ", prop(nolist)), tr("Cork")); |
| | 336 | } |
| | 337 | node[recycling:drugs=no] { |
| | 338 | nolist: list(join_list(", ", prop(nolist)), tr("Drugs")); |
| | 339 | } |
| | 340 | node[recycling:electrical_appliances=no] { |
| | 341 | nolist: list(join_list(", ", prop(nolist)), tr("Electrical Appliances")); |
| | 342 | } |
| | 343 | node[recycling:electrical_items=no] { |
| | 344 | nolist: list(join_list(", ", prop(nolist)), tr("Electrical Items")); |
| | 345 | } |
| | 346 | node[recycling:engine_oil=no] { |
| | 347 | nolist: list(join_list(", ", prop(nolist)), tr("Engine Oil")); |
| | 348 | } |
| | 349 | node[recycling:fluorescent_tubes=no] { |
| | 350 | nolist: list(join_list(", ", prop(nolist)), tr("Fluorescent Tubes")); |
| | 351 | } |
| | 352 | node[recycling:foil=no] { |
| | 353 | nolist: list(join_list(", ", prop(nolist)), tr("Foil")); |
| | 354 | } |
| | 355 | node[recycling:gas_bottles=no] { |
| | 356 | nolist: list(join_list(", ", prop(nolist)), tr("Gas Bottles")); |
| | 357 | } |
| | 358 | node[recycling:glass=no] { |
| | 359 | nolist: list(join_list(", ", prop(nolist)), tr("Glass")); |
| | 360 | } |
| | 361 | node[recycling:glass_bottles=no] { |
| | 362 | nolist: list(join_list(", ", prop(nolist)), tr("Glass Bottles")); |
| | 363 | } |
| | 364 | node[recycling:glass_jars=no] { |
| | 365 | nolist: list(join_list(", ", prop(nolist)), tr("Glass Jars")); |
| | 366 | } |
| | 367 | node[recycling:green_waste=no] { |
| | 368 | nolist: list(join_list(", ", prop(nolist)), tr("Green Waste")); |
| | 369 | } |
| | 370 | node[recycling:garden_waste=no] { |
| | 371 | nolist: list(join_list(", ", prop(nolist)), tr("Garden Waste")); |
| | 372 | } |
| | 373 | node[recycling:hazardous_waste=no] { |
| | 374 | nolist: list(join_list(", ", prop(nolist)), tr("Hazardous Waste")); |
| | 375 | } |
| | 376 | node[recycling:hardcore=no] { |
| | 377 | nolist: list(join_list(", ", prop(nolist)), tr("Hardcore")); |
| | 378 | } |
| | 379 | node[recycling:hydrargyrum=no] { |
| | 380 | nolist: list(join_list(", ", prop(nolist)), tr("Hydrargyrum")); |
| | 381 | } |
| | 382 | node[recycling:low_energy_bulbs=no] { |
| | 383 | nolist: list(join_list(", ", prop(nolist)), tr("Low Energy Bulbs")); |
| | 384 | } |
| | 385 | node[recycling:magazines=no] { |
| | 386 | nolist: list(join_list(", ", prop(nolist)), tr("Magazines")); |
| | 387 | } |
| | 388 | node[recycling:metal=no] { |
| | 389 | nolist: list(join_list(", ", prop(nolist)), tr("Metal")); |
| | 390 | } |
| | 391 | node[recycling:mobile_phones=no] { |
| | 392 | nolist: list(join_list(", ", prop(nolist)), tr("Mobile Phones")); |
| | 393 | } |
| | 394 | node[recycling:newspaper=no] { |
| | 395 | nolist: list(join_list(", ", prop(nolist)), tr("Newspaper")); |
| | 396 | } |
| | 397 | node[recycling:organic=no] { |
| | 398 | nolist: list(join_list(", ", prop(nolist)), tr("Organic")); |
| | 399 | } |
| | 400 | node[recycling:paint=no] { |
| | 401 | nolist: list(join_list(", ", prop(nolist)), tr("Paint")); |
| | 402 | } |
| | 403 | node[recycling:paper=no] { |
| | 404 | nolist: list(join_list(", ", prop(nolist)), tr("Paper")); |
| | 405 | } |
| | 406 | node[recycling:paper_packaging=no] { |
| | 407 | nolist: list(join_list(", ", prop(nolist)), tr("Paper Packaging")); |
| | 408 | } |
| | 409 | node[recycling:PET=no] { |
| | 410 | nolist: list(join_list(", ", prop(nolist)), tr("PET")); |
| | 411 | } |
| | 412 | node[recycling:plasterboard=no] { |
| | 413 | nolist: list(join_list(", ", prop(nolist)), tr("Plasterboard")); |
| | 414 | } |
| | 415 | node[recycling:plastic=no] { |
| | 416 | nolist: list(join_list(", ", prop(nolist)), tr("Plastic")); |
| | 417 | } |
| | 418 | node[recycling:plastic_bags=no] { |
| | 419 | nolist: list(join_list(", ", prop(nolist)), tr("Plastic Bags")); |
| | 420 | } |
| | 421 | node[recycling:plastic_bottles=no] { |
| | 422 | nolist: list(join_list(", ", prop(nolist)), tr("Plastic Bottles")); |
| | 423 | } |
| | 424 | node[recycling:plastic_packaging=no] { |
| | 425 | nolist: list(join_list(", ", prop(nolist)), tr("Plastic Packaging")); |
| | 426 | } |
| | 427 | node[recycling:polyester=no] { |
| | 428 | nolist: list(join_list(", ", prop(nolist)), tr("Polyester")); |
| | 429 | } |
| | 430 | node[recycling:polystyrene_foam=no] { |
| | 431 | nolist: list(join_list(", ", prop(nolist)), tr("Polystyrene Foam")); |
| | 432 | } |
| | 433 | node[recycling:printer_cartridges=no] { |
| | 434 | nolist: list(join_list(", ", prop(nolist)), tr("Printer Cartridges")); |
| | 435 | } |
| | 436 | node[recycling:printer_toner_cartridges=no] { |
| | 437 | nolist: list(join_list(", ", prop(nolist)), tr("Printer Toner Cartridges")); |
| | 438 | } |
| | 439 | node[recycling:printer_inkjet_cartridges=no] { |
| | 440 | nolist: list(join_list(", ", prop(nolist)), tr("Printer Inkjet Cartridges")); |
| | 441 | } |
| | 442 | node[recycling:rubble=no] { |
| | 443 | nolist: list(join_list(", ", prop(nolist)), tr("Rubble")); |
| | 444 | } |
| | 445 | node[recycling:scrap_metal=no] { |
| | 446 | nolist: list(join_list(", ", prop(nolist)), tr("Scrap Metal")); |
| | 447 | } |
| | 448 | node[recycling:sheet_metal=no] { |
| | 449 | nolist: list(join_list(", ", prop(nolist)), tr("Sheet Metal")); |
| | 450 | } |
| | 451 | node[recycling:shoes=no] { |
| | 452 | nolist: list(join_list(", ", prop(nolist)), tr("Shoes")); |
| | 453 | } |
| | 454 | node[recycling:small_appliances=no] { |
| | 455 | nolist: list(join_list(", ", prop(nolist)), tr("Small Appliances")); |
| | 456 | } |
| | 457 | node[recycling:small_electrical_appliances=no] { |
| | 458 | nolist: list(join_list(", ", prop(nolist)), tr("Small Electrical Appliances")); |
| | 459 | } |
| | 460 | node[recycling:styrofoam=no] { |
| | 461 | nolist: list(join_list(", ", prop(nolist)), tr("Styrofoam")); |
| | 462 | } |
| | 463 | node[recycling:tyres=no] { |
| | 464 | nolist: list(join_list(", ", prop(nolist)), tr("Tyres")); |
| | 465 | } |
| | 466 | node[recycling:tv_monitor=no] { |
| | 467 | nolist: list(join_list(", ", prop(nolist)), tr("Tv Monitor")); |
| | 468 | } |
| | 469 | node[recycling:waste=no] { |
| | 470 | nolist: list(join_list(", ", prop(nolist)), tr("Waste")); |
| | 471 | } |
| | 472 | node[recycling:waste_oil=no] { |
| | 473 | nolist: list(join_list(", ", prop(nolist)), tr("Waste Oil")); |
| | 474 | } |
| | 475 | node[recycling:white_goods=no] { |
| | 476 | nolist: list(join_list(", ", prop(nolist)), tr("White Goods")); |
| | 477 | } |
| | 478 | node[recycling:wood=no] { |
| | 479 | nolist: list(join_list(", ", prop(nolist)), tr("Wood")); |
| | 480 | } |
| | 481 | |
| | 482 | /* trim ~~~ placeholder and leading comma, display lists as text in own layers */ |
| | 483 | node[/^recycling:/]::yesrecycling { |
| | 484 | text: cond(join_list(", ", prop(yeslist, default))="~~~", "", replace(join_list(", ", prop(yeslist, default)), "~~~, ", "")); |
| | 485 | text-color: recycling_yes#00FF00; /* green */ |
| | 486 | font-size: 12; |
| | 487 | text-offset-y: 7; |
| | 488 | text-offset-x: 7; |
| | 489 | } |
| | 490 | node[/^recycling:/]::norecycling { |
| | 491 | text: cond(join_list(", ", prop(nolist, default))="~~~", "", replace(join_list(", ", prop(nolist, default)), "~~~, ", "")); |
| | 492 | text-color: recycling_no#FF0000; /* red */ |
| | 493 | font-size: 12; |
| | 494 | text-offset-y: -16; |
| | 495 | text-offset-x: 7; |
| | 496 | } |
| | 497 | |
| | 498 | /* hide on low zoom */ |
| | 499 | node|z-17[setting("hide_recycling")]::yesrecycling { |
| | 500 | text: ""; |
| | 501 | } |
| | 502 | node|z-17[setting("hide_recycling")]::norecycling { |
| | 503 | text: ""; |
| | 504 | } |
| | 505 | |
| | 506 | /* text halo */ |
| | 507 | node[setting("halo")][/^recycling:/]::yesrecycling { |
| | 508 | text-halo-radius: 2; |
| | 509 | text-halo-color: recycling_yes_halo#FFFFFF; /* white */ |
| | 510 | } |
| | 511 | node[setting("halo")][/^recycling:/]::norecycling { |
| | 512 | text-halo-radius: 2; |
| | 513 | text-halo-color: recycling_no_halo#FFFFFF; |
| | 514 | text-offset-y: -18; |
| | 515 | } |
| | 516 | }}} |