diff --git a/assets/themes/postboxes_postoffices/license_info.json b/assets/themes/postboxes_postoffices/license_info.json new file mode 100644 index 0000000000..869dda32ca --- /dev/null +++ b/assets/themes/postboxes_postoffices/license_info.json @@ -0,0 +1,15 @@ +[ + { + "path": "postbox.svg", + "license": "CC BY 4.0", + "authors": ["Vincent Le Moign","https://twitter.com/webalys"], + "sources": ["https://upload.wikimedia.org/wikipedia/commons/6/6d/726-postbox.svg", "http://emoji.streamlineicons.com"] + }, + + { + "path": "post_office.svg", + "license": "CC BY-SA 4.0", + "authors": ["https://github.com/emojione/emojione/graphs/contributors"], + "sources": ["https://commons.wikimedia.org/wiki/File:Emojione_BW_1F3E4.svg", "https://github.com/emojione/emojione/blob/2.2.7/assets/svg_bw/1f3e4.svg"] + } + ] \ No newline at end of file diff --git a/assets/themes/postboxes_postoffices/post_office.svg b/assets/themes/postboxes_postoffices/post_office.svg new file mode 100644 index 0000000000..ebdd76b493 --- /dev/null +++ b/assets/themes/postboxes_postoffices/post_office.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/themes/postboxes_postoffices/postbox.svg b/assets/themes/postboxes_postoffices/postbox.svg new file mode 100644 index 0000000000..05e6d95d4d --- /dev/null +++ b/assets/themes/postboxes_postoffices/postbox.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/themes/postboxes_postoffices/postboxes_postoffices.json b/assets/themes/postboxes_postoffices/postboxes_postoffices.json new file mode 100644 index 0000000000..8d7aa81ed8 --- /dev/null +++ b/assets/themes/postboxes_postoffices/postboxes_postoffices.json @@ -0,0 +1,138 @@ +{ + "id": "postboxes", + "title": { + "en": "Postbox and Post Office Map" + }, + "shortDescription": { + "en": "A map showing postboxes and post offices" + }, + "description": { + "en": "On this map you can find and add data of post offices and post boxes. You can use this map to find where you can mail your next postcard! :) " + }, + "language": [ + "en" + ], + "maintainer": "", + "icon": "./assets/themes/postboxes_postoffices/postbox.svg", + "version": "0", + "startLat": 53.5511, + "startLon": 9.9937, + "startZoom": 13, + "widenFactor": 0.05, + "socialImage": "", + "layers": [{ + "id": "postboxes", + "name": { + "en": "Postbox" + }, + "minzoom": 12, + "overpassTags": { + "and": [ + "amenity=post_box" + ] + }, + "title": { + "render": { + "en": "Postbox" + } + }, + "description": { + "en": "The layer showing postboxes." + }, + "tagRenderings": [ + "images", + { + "render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }" + } + ], + "icon": { + "render": "./assets/themes/postboxes_postoffices/postbox.svg" + }, + "width": { + "render": "1" + }, + "iconSize": { + "render": "40,40,bottom" + }, + "color": { + "render": "#DADADA" + }, + "presets": [{ + "tags": [ + "amenity=post_box" + ], + "title": { + "en": "Postbox" + } + }], + "wayHandling": "both outline and center" + }, + { + "id": "postoffices", + "name": { + "en": "A layer containing post offices" + }, + "minzoom": 12, + "overpassTags": { + "and": [ + "amenity=post_office" + ] + }, + "title": { + "render": { + "en": "Post Office" + } + }, + "description": { + "en": "A layer showing post offices." + }, + "tagRenderings": [ + "images", + { + "render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }" + }, + { + "#": "OH", + "render": { + "en": "Opening Hours: {opening_hours}" + }, + "freeform": { + "key": "opening_hours", + "type": "opening_hours" + }, + "question": { + "en": "What are the opening hours for this post office?" + }, + "mappings": [{ + "if": "opening_hours=24/7", + "then": { + "en": "24/7 opened (including holidays)" + } + }] + } + ], + "icon": { + "render": "./assets/themes/postboxes_postoffices/post_office.svg" + }, + "width": { + "render": "1" + }, + "iconSize": { + "render": "40,40,bottom" + }, + "color": { + "render": "#DADADA" + }, + "presets": [{ + "tags": [ + "amenity=post_office" + ], + "title": { + "en": "Post Office" + } + }], + "wayHandling": 2 + } + ], + "roamingRenderings": [] +} \ No newline at end of file