Move bicycle_tube_vending_machine into vending_machine

This commit is contained in:
Pieter Vander Vennet 2024-06-03 15:29:44 +02:00
parent 4a1a98f783
commit 8fcaa59f9d
9 changed files with 287 additions and 528 deletions

View file

@ -45,7 +45,6 @@
"bike_cafe",
"bike_shop",
"bike_repair_station",
"bicycle_tube_vending_machine",
"drinking_water",
"bike_themed_object",
"bike_cleaning"
@ -155,6 +154,30 @@
},
"minzoom": 18
}
},
{
"builtin": "vending_machine",
"override": {
"id": "vending_machine_bicycle",
"minzoom": 11,
"source": {
"osmTags": {
"and+": ["vending~.*bicycle.*"]
}
},
"=presets":[]
}
},
{"#": "All vending machines at high zoom level to avoid duplicates",
"builtin": "vending_machine",
"override": {
"name": null,
"filter": {
"sameAs": "vending_machine_bicycle"
},
"minzoom": 18
}
}
],
"widenFactor": 2

View file

@ -1,4 +1,4 @@
²{
{
"id": "mapcomplete-changes",
"title": {
"en": "Changes made with MapComplete"
@ -9,12 +9,11 @@
"description": {
"en": "This maps shows all the changes made with MapComplete"
},
"shortDescription": {
"en": "Shows changes made by MapComplete",
"de": "Änderungen von MapComplete anzeigen"
},
"icon": "./assets/svg/logo.svg",
"hideFromOverview": true,
"startLat": 0,
"startLon": 0,
"startZoom": 1,
"layers": [
{
"id": "mapcomplete-changes",
@ -298,6 +297,10 @@
"if": "theme=kerbs_and_crossings",
"then": "./assets/layers/kerbs/KerbIcon.svg"
},
{
"if": "theme=lighthouses",
"then": "./assets/themes/lighthouses/lighthouse.svg"
},
{
"if": "theme=mapcomplete-changes",
"then": "./assets/svg/logo.svg"