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
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
public static userJourney = {

View file

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