Skip to content

Commit

Permalink
Themes: some tweaks for the search feature
Browse files Browse the repository at this point in the history
  • Loading branch information
pietervdvn committed Sep 11, 2024
1 parent bd3bddc commit bc52c05
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
4 changes: 3 additions & 1 deletion assets/layers/bike_shop/bike_shop.json
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@
"tagRenderings": [
"shops.*"
],
"#filter": "no-auto",
"filter": [
{
"id": "sells_second-hand",
Expand Down Expand Up @@ -384,7 +385,8 @@
}
}
]
}
},
"open_now"
],
"deletion": true,
"allowMove": true
Expand Down
13 changes: 11 additions & 2 deletions assets/layers/drinking_water/drinking_water.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,19 @@
},
"searchTerms": {
"en": [
"drink","water","fountain","bubbler"
"drink",
"water",
"fountain",
"bubbler"
],
"nl": [
"drinken","water","drinkwater","waterfontein","fontein","kraan","kraantje"
"drinken",
"water",
"drinkwater",
"waterfontein",
"fontein",
"kraan",
"kraantje"
]
},
"source": {
Expand Down
4 changes: 4 additions & 0 deletions assets/layers/filters/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"id": "accepts_cash",
"options": [
{
"emoji": "🪙",
"osmTags": "payment:cash=yes",
"question": {
"en": "Accepts cash",
Expand All @@ -51,6 +52,7 @@
"id": "accepts_cards",
"options": [
{
"emoji": "💳",
"osmTags": "payment:cards=yes",
"question": {
"en": "Accepts payment cards",
Expand All @@ -69,6 +71,7 @@
"id": "accepts_debit_cards",
"options": [
{
"emoji": "💳",
"osmTags": "payment:debit_cards=yes",
"question": {
"en": "Accepts debit cards",
Expand All @@ -84,6 +87,7 @@
"id": "accepts_credit_cards",
"options": [
{
"emoji": "💳",
"osmTags": "payment:credit_cards=yes",
"question": {
"en": "Accepts credit cards",
Expand Down
2 changes: 1 addition & 1 deletion assets/layers/shops/shops.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
]
}
},
"minzoom": 10,
"minzoom": 12,
"title": {
"render": {
"en": "Shop",
Expand Down

0 comments on commit bc52c05

Please sign in to comment.