Add bicycle associations to cycling themed layer

This commit is contained in:
pietervdvn 2021-01-04 15:21:43 +01:00
parent a6f56acad6
commit ca15688a39
2 changed files with 17 additions and 29 deletions

View file

@ -25,7 +25,7 @@ export default class State {
// The singleton of the global state // The singleton of the global state
public static state: State; public static state: State;
public static vNumber = "0.2.6a"; public static vNumber = "0.2.6b";
// The user journey states thresholds when a new feature gets unlocked // The user journey states thresholds when a new feature gets unlocked
public static userJourney = { public static userJourney = {

View file

@ -7,7 +7,14 @@
"de": "Mit Fahrrad zusammenhängendes Objekt" "de": "Mit Fahrrad zusammenhängendes Objekt"
}, },
"minzoom": 13, "minzoom": 13,
"overpassTags": {"or": ["theme~cycling|bicycle", "sport=cycling"]}, "overpassTags": {
"or": [
"theme~cycling|bicycle",
"sport=cycling",
"association=cycling|bicycle",
"ngo=cycling|bicycle"
]
},
"title": { "title": {
"render": { "render": {
"en": "Bike related object", "en": "Bike related object",
@ -18,7 +25,7 @@
"mappings": [ "mappings": [
{ {
"if": "name~*", "if": "name~*",
"then":"<i>{name}</i>" "then": "<i>{name}</i>"
}, },
{ {
"if": "leisure=track", "if": "leisure=track",
@ -30,32 +37,13 @@
] ]
}, },
"description": {}, "description": {},
"tagRenderings": [ "images", "tagRenderings": [
"images",
{ "description",
"render": "<a href='{website}' target='_blank'>{website}</a>", "website",
"freeform": { "email",
"key": "website" "phone",
} "opening_hours"
},
{
"render": "<a href='tel:{phone}'>{phone}</a>",
"freeform": {
"key": "phone"
}
},
{
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"freeform": {
"key": "email"
}
},
{
"render": "{opening_hours_table(opening_hours)}",
"freeform": {
"key": "opening_hours"
}
}
], ],
"hideUnderlayingFeaturesMinPercentage": 0, "hideUnderlayingFeaturesMinPercentage": 0,
"icon": { "icon": {