diff --git a/assets/layers/recycling/license_info.json b/assets/layers/recycling/license_info.json new file mode 100644 index 0000000000..035586de75 --- /dev/null +++ b/assets/layers/recycling/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "recycling-14.svg", + "license": "CC0-1.0", + "authors": [ + "Michael Glanznig" + ], + "sources": [ + "https://github.com/gmgeo/osmic/blob/master/amenity/recycling-14.svg" + ] + } +] \ No newline at end of file diff --git a/assets/layers/recycling/recycling-14.svg b/assets/layers/recycling/recycling-14.svg new file mode 100644 index 0000000000..6244f41247 --- /dev/null +++ b/assets/layers/recycling/recycling-14.svg @@ -0,0 +1,40 @@ + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/layers/recycling/recycling.json b/assets/layers/recycling/recycling.json new file mode 100644 index 0000000000..1fc67853a1 --- /dev/null +++ b/assets/layers/recycling/recycling.json @@ -0,0 +1,53 @@ +{ + "id": "recycling", + "name": { + "en": "Recycling", + "nl": "Recycling" + }, + "description": { + "en": "A layer with recycling containers and centres", + "nl": "Een laag met recyclagingcontainers en -centrums" + }, + "source": { + "osmTags": "amenity=recycling" + }, + "minzoom": 12, + "title": { + "render": { + "en": "Recycling facility", + "nl": "Recyclingfaciliteit" + } + }, + "mapRendering": [ + { + "location": [ + "point", + "centroid" + ], + "icon": "./assets/layers/recycling/recycling-14.svg" + } + ], + "presets": [], + "tagRenderings": [ + { + "id": "recycling-type", + "mappings": [ + { + "if": "recycling-type=container", + "then": { + "en": "This is a recycling container", + "nl": "Dit is een recyclingcontainer" + } + }, + { + "if": "recycling-type=centre", + "then": { + "en": "This is a recycling centre", + "nl": "Dit is een recyclingcentrum" + } + } + ] + } + ], + "filter": [] +} \ No newline at end of file diff --git a/assets/themes/waste/waste.json b/assets/themes/waste/waste.json new file mode 100644 index 0000000000..4e70754d23 --- /dev/null +++ b/assets/themes/waste/waste.json @@ -0,0 +1,29 @@ +{ + "id": "waste", + "maintainer": "", + "version": "2021-12-31", + "language": [ + "en", + "nl" + ], + "title": { + "en": "Waste", + "nl": "Afval" + }, + "description": { + "en": "Map showing waste baskets and recycling facilities.", + "nl": "Kaart met afvalbakken en recyclingfaciliteiten." + }, + "icon": "./assets/layers/recycling/recycling-14.svg", + "startZoom": 19, + "startLat": 53.24865, + "startLon": 6.60075, + "layers": [ + { + "builtin": "waste_basket", + "override": { + "minzoom": 12 + } + } + ] +} \ No newline at end of file