Rename postboxes theme, small fixes to postboxes theme
This commit is contained in:
parent
2d8b9a9481
commit
aa7a581faa
5 changed files with 43 additions and 32 deletions
25
assets/themes/postboxes/license_info.json
Normal file
25
assets/themes/postboxes/license_info.json
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"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"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
@ -13,13 +13,17 @@
|
||||||
"en"
|
"en"
|
||||||
],
|
],
|
||||||
"maintainer": "",
|
"maintainer": "",
|
||||||
"icon": "./assets/themes/postboxes_postoffices/postbox.svg",
|
"icon": "./assets/themes/postboxes/postbox.svg",
|
||||||
"version": "0",
|
"version": "0",
|
||||||
"startLat": 53.5511,
|
"startLat": 53.5511,
|
||||||
"startLon": 9.9937,
|
"startLon": 9.9937,
|
||||||
"startZoom": 13,
|
"startZoom": 13,
|
||||||
"widenFactor": 0.05,
|
"widenFactor": 1.0,
|
||||||
"socialImage": "",
|
"socialImage": "",
|
||||||
|
"clustering": {
|
||||||
|
"minNeededFeatures": 100,
|
||||||
|
"maxZoom": 14
|
||||||
|
},
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
{
|
||||||
"id": "postboxes",
|
"id": "postboxes",
|
||||||
|
@ -27,10 +31,8 @@
|
||||||
"en": "Postbox"
|
"en": "Postbox"
|
||||||
},
|
},
|
||||||
"minzoom": 12,
|
"minzoom": 12,
|
||||||
"overpassTags": {
|
"source": {
|
||||||
"and": [
|
"osmTags": "amenity=post_box"
|
||||||
"amenity=post_box"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"render": {
|
"render": {
|
||||||
|
@ -43,11 +45,12 @@
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
"images",
|
"images",
|
||||||
{
|
{
|
||||||
|
"id": "minimap",
|
||||||
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
|
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"icon": {
|
"icon": {
|
||||||
"render": "./assets/themes/postboxes_postoffices/postbox.svg"
|
"render": "./assets/themes/postboxes/postbox.svg"
|
||||||
},
|
},
|
||||||
"width": {
|
"width": {
|
||||||
"render": "1"
|
"render": "1"
|
||||||
|
@ -64,11 +67,11 @@
|
||||||
"amenity=post_box"
|
"amenity=post_box"
|
||||||
],
|
],
|
||||||
"title": {
|
"title": {
|
||||||
"en": "Postbox"
|
"en": "postbox"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"wayHandling": "both outline and center"
|
"wayHandling": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "postoffices",
|
"id": "postoffices",
|
||||||
|
@ -76,10 +79,8 @@
|
||||||
"en": "A layer containing post offices"
|
"en": "A layer containing post offices"
|
||||||
},
|
},
|
||||||
"minzoom": 12,
|
"minzoom": 12,
|
||||||
"overpassTags": {
|
"source": {
|
||||||
"and": [
|
"osmTags": "amenity=post_office"
|
||||||
"amenity=post_office"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"render": {
|
"render": {
|
||||||
|
@ -92,11 +93,12 @@
|
||||||
"tagRenderings": [
|
"tagRenderings": [
|
||||||
"images",
|
"images",
|
||||||
{
|
{
|
||||||
|
"id": "minimap",
|
||||||
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
|
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"render": {
|
"render": {
|
||||||
"en": "Opening Hours: {opening_hours}"
|
"en": "Opening Hours: {opening_hours_table()}"
|
||||||
},
|
},
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "opening_hours",
|
"key": "opening_hours",
|
||||||
|
@ -117,7 +119,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"icon": {
|
"icon": {
|
||||||
"render": "./assets/themes/postboxes_postoffices/post_office.svg"
|
"render": "./assets/themes/postboxes/post_office.svg"
|
||||||
},
|
},
|
||||||
"width": {
|
"width": {
|
||||||
"render": "1"
|
"render": "1"
|
||||||
|
@ -140,6 +142,5 @@
|
||||||
],
|
],
|
||||||
"wayHandling": 2
|
"wayHandling": 2
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"roamingRenderings": []
|
|
||||||
}
|
}
|
|
@ -1,15 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"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"]
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Add table
Add a link
Reference in a new issue