forked from MapComplete/MapComplete
Linting of the postboxes theme
This commit is contained in:
parent
652b936444
commit
2d8b9a9481
3 changed files with 146 additions and 138 deletions
|
@ -4,7 +4,6 @@
|
|||
* Technically, more an Actor then a featuresource, but it fits more neatly this ay
|
||||
*/
|
||||
import {FeatureSourceForLayer} from "../FeatureSource";
|
||||
import SimpleMetaTagger from "../../SimpleMetaTagger";
|
||||
|
||||
export default class SaveTileToLocalStorageActor {
|
||||
public static readonly storageKey: string = "cached-features";
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
"startZoom": 13,
|
||||
"widenFactor": 0.05,
|
||||
"socialImage": "",
|
||||
"layers": [{
|
||||
"layers": [
|
||||
{
|
||||
"id": "postboxes",
|
||||
"name": {
|
||||
"en": "Postbox"
|
||||
|
@ -57,14 +58,16 @@
|
|||
"color": {
|
||||
"render": "#DADADA"
|
||||
},
|
||||
"presets": [{
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=post_box"
|
||||
],
|
||||
"title": {
|
||||
"en": "Postbox"
|
||||
}
|
||||
}],
|
||||
}
|
||||
],
|
||||
"wayHandling": "both outline and center"
|
||||
},
|
||||
{
|
||||
|
@ -92,7 +95,6 @@
|
|||
"render": "{minimap(18): height: 5rem; overflow: hidden; border-radius:3rem; }"
|
||||
},
|
||||
{
|
||||
"#": "OH",
|
||||
"render": {
|
||||
"en": "Opening Hours: {opening_hours}"
|
||||
},
|
||||
|
@ -103,12 +105,15 @@
|
|||
"question": {
|
||||
"en": "What are the opening hours for this post office?"
|
||||
},
|
||||
"mappings": [{
|
||||
"mappings": [
|
||||
{
|
||||
"if": "opening_hours=24/7",
|
||||
"then": {
|
||||
"en": "24/7 opened (including holidays)"
|
||||
}
|
||||
}]
|
||||
}
|
||||
],
|
||||
"id": "OH"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
|
@ -123,14 +128,16 @@
|
|||
"color": {
|
||||
"render": "#DADADA"
|
||||
},
|
||||
"presets": [{
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=post_office"
|
||||
],
|
||||
"title": {
|
||||
"en": "Post Office"
|
||||
}
|
||||
}],
|
||||
}
|
||||
],
|
||||
"wayHandling": 2
|
||||
}
|
||||
],
|
||||
|
|
|
@ -151,7 +151,9 @@
|
|||
},
|
||||
"freeform": {
|
||||
"key": "addr:housenumber",
|
||||
"addExtraTags": ["nohousenumber="]
|
||||
"addExtraTags": [
|
||||
"nohousenumber="
|
||||
]
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue