Chore: Lint themes
This commit is contained in:
parent
7c71e566e9
commit
6c12041f73
16 changed files with 230 additions and 234 deletions
|
@ -8,7 +8,6 @@
|
|||
"en": "Various forms of transport for passengers and goods that use wires, including cable cars, gondolas, chair lifts, drag lifts, and zip lines. ",
|
||||
"de": "Alle Arten von seil- oder drahtgestütztem Personen- oder Gütertransport, wie Seilbahnen, Gondeln, Sessellifte, Schlepplifte. "
|
||||
},
|
||||
"minzoom": 11,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
|
@ -18,6 +17,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 11,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Aerialway {name}",
|
||||
|
|
|
@ -976,18 +976,6 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"units": [
|
||||
{
|
||||
"maxstay": {
|
||||
"quantity": "duration",
|
||||
"denominations": [
|
||||
"days",
|
||||
"weeks",
|
||||
"months"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"deletion": {
|
||||
"softDeletionTags": {
|
||||
"and": [
|
||||
|
@ -1000,5 +988,17 @@
|
|||
"allowMove": {
|
||||
"enableRelocation": false,
|
||||
"enableImproveAccuracy": true
|
||||
}
|
||||
},
|
||||
"units": [
|
||||
{
|
||||
"maxstay": {
|
||||
"quantity": "duration",
|
||||
"denominations": [
|
||||
"days",
|
||||
"weeks",
|
||||
"months"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -5,7 +5,12 @@
|
|||
"nl": "Oplaadpunten",
|
||||
"de": "Ladestationen"
|
||||
},
|
||||
"minzoom": 10,
|
||||
"description": {
|
||||
"en": "A charging station",
|
||||
"nl": "Oplaadpunten",
|
||||
"ca": "Una estació de càrrega",
|
||||
"de": "Eine Ladestation"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
|
@ -20,6 +25,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 10,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Charging station",
|
||||
|
@ -65,13 +71,103 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"en": "A charging station",
|
||||
"nl": "Oplaadpunten",
|
||||
"ca": "Una estació de càrrega",
|
||||
"de": "Eine Ladestation"
|
||||
},
|
||||
"#": "no-question-hint-check",
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "pin",
|
||||
"color": "#fff"
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/charging_stations/plug.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "bicycle=yes",
|
||||
"then": "./assets/themes/charging_stations/bicycle.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"car=yes",
|
||||
"motorcar=yes"
|
||||
]
|
||||
},
|
||||
"then": "./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"disused:amenity=charging_station",
|
||||
"operational_status=broken"
|
||||
]
|
||||
},
|
||||
"then": "close:#c22;"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"proposed:amenity=charging_station",
|
||||
"planned:amenity=charging_station"
|
||||
]
|
||||
},
|
||||
"then": "./assets/layers/charging_station/under_construction.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"bicycle=yes",
|
||||
{
|
||||
"or": [
|
||||
"motorcar=yes",
|
||||
"car=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": "circle:#fff;./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
],
|
||||
"anchor": "bottom",
|
||||
"iconSize": "50,50"
|
||||
}
|
||||
],
|
||||
"lineRendering": [],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=charging_station",
|
||||
"motorcar=no",
|
||||
"bicycle=yes"
|
||||
],
|
||||
"title": {
|
||||
"en": "charging station for electrical bikes",
|
||||
"nl": "oplaadpunt voor elektrische fietsen",
|
||||
"de": "Ladestation für Elektrofahrräder"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [
|
||||
"amenity=charging_station",
|
||||
"motorcar=yes",
|
||||
"bicycle=no"
|
||||
],
|
||||
"title": {
|
||||
"en": "charging station for cars",
|
||||
"nl": "oplaadstation voor elektrische auto's",
|
||||
"de": "Ladestation für Autos"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -2413,103 +2509,6 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "pin",
|
||||
"color": "#fff"
|
||||
},
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/charging_stations/plug.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "bicycle=yes",
|
||||
"then": "./assets/themes/charging_stations/bicycle.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"car=yes",
|
||||
"motorcar=yes"
|
||||
]
|
||||
},
|
||||
"then": "./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"disused:amenity=charging_station",
|
||||
"operational_status=broken"
|
||||
]
|
||||
},
|
||||
"then": "close:#c22;"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"proposed:amenity=charging_station",
|
||||
"planned:amenity=charging_station"
|
||||
]
|
||||
},
|
||||
"then": "./assets/layers/charging_station/under_construction.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"bicycle=yes",
|
||||
{
|
||||
"or": [
|
||||
"motorcar=yes",
|
||||
"car=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": "circle:#fff;./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
],
|
||||
"anchor": "bottom",
|
||||
"iconSize": "50,50"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=charging_station",
|
||||
"motorcar=no",
|
||||
"bicycle=yes"
|
||||
],
|
||||
"title": {
|
||||
"en": "charging station for electrical bikes",
|
||||
"nl": "oplaadpunt voor elektrische fietsen",
|
||||
"de": "Ladestation für Elektrofahrräder"
|
||||
}
|
||||
},
|
||||
{
|
||||
"tags": [
|
||||
"amenity=charging_station",
|
||||
"motorcar=yes",
|
||||
"bicycle=no"
|
||||
],
|
||||
"title": {
|
||||
"en": "charging station for cars",
|
||||
"nl": "oplaadstation voor elektrische auto's",
|
||||
"de": "Ladestation für Autos"
|
||||
}
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "vehicle-type",
|
||||
|
@ -2715,6 +2714,19 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"deletion": {
|
||||
"softDeletionTags": {
|
||||
"and": [
|
||||
"amenity=",
|
||||
"disused:amenity=charging_station"
|
||||
]
|
||||
},
|
||||
"neededChangesets": 10
|
||||
},
|
||||
"allowMove": {
|
||||
"enableRelocation": false,
|
||||
"enableImproveAccuracy": true
|
||||
},
|
||||
"units": [
|
||||
{
|
||||
"maxstay": {
|
||||
|
@ -2873,17 +2885,5 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"allowMove": {
|
||||
"enableRelocation": false,
|
||||
"enableImproveAccuracy": true
|
||||
},
|
||||
"deletion": {
|
||||
"softDeletionTags": {
|
||||
"and": [
|
||||
"amenity=",
|
||||
"disused:amenity=charging_station"
|
||||
]
|
||||
},
|
||||
"neededChangesets": 10
|
||||
}
|
||||
}
|
||||
"#": "no-question-hint-check"
|
||||
}
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
"description": {
|
||||
"en": "Food courts with a variety of food options."
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "amenity=food_court"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Food Court"
|
||||
|
@ -17,35 +21,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "amenity=food_court"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "name",
|
||||
"question": {
|
||||
"en": "What is the name of this food court?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name",
|
||||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Name of the food court"
|
||||
}
|
||||
},
|
||||
"render": {
|
||||
"en": "This food court is called <b>{name}</b>."
|
||||
}
|
||||
},
|
||||
"reviews",
|
||||
"images",
|
||||
"opening_hours",
|
||||
"wheelchair-access",
|
||||
"website",
|
||||
"phone",
|
||||
"smoking"
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
|
@ -72,5 +47,30 @@
|
|||
"color": "#C77400",
|
||||
"fillColor": "#C774004D"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "name",
|
||||
"question": {
|
||||
"en": "What is the name of this food court?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name",
|
||||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Name of the food court"
|
||||
}
|
||||
},
|
||||
"render": {
|
||||
"en": "This food court is called <b>{name}</b>."
|
||||
}
|
||||
},
|
||||
"reviews",
|
||||
"images",
|
||||
"opening_hours",
|
||||
"wheelchair-access",
|
||||
"website",
|
||||
"phone",
|
||||
"smoking"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{
|
||||
"id": "memorial",
|
||||
"name": {
|
||||
"en": "Memorials",
|
||||
"de": "Denkmäler"
|
||||
},
|
||||
"description": "Layer showing memorial plaques, based upon a unofficial theme. Can be expanded to have multiple types of memorials later on",
|
||||
"source": {
|
||||
"osmTags": {
|
||||
|
@ -9,11 +13,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"name": {
|
||||
"en": "Memorials",
|
||||
"de": "Denkmäler"
|
||||
},
|
||||
"defaultBackgroundId": "protomaps.white",
|
||||
"minzoom": 9,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Memorial plaque",
|
||||
|
@ -68,6 +68,17 @@
|
|||
}
|
||||
],
|
||||
"lineRendering": [],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a memorial",
|
||||
"de": "ein Denkmal"
|
||||
},
|
||||
"tags": [
|
||||
"historic=memorial"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -316,21 +327,10 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a memorial",
|
||||
"de": "ein Denkmal"
|
||||
},
|
||||
"tags": [
|
||||
"historic=memorial"
|
||||
]
|
||||
}
|
||||
],
|
||||
"minzoom": 9,
|
||||
"deletion": true,
|
||||
"allowMove": {
|
||||
"enableImproveAccuracy": true,
|
||||
"enableRelocation": false
|
||||
}
|
||||
},
|
||||
"defaultBackgroundId": "protomaps.white"
|
||||
}
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
"description": {
|
||||
"en": "Outdoor seating areas, usually located near cafes and restaurants."
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "leisure=outdoor_seating"
|
||||
},
|
||||
"minzoom": 19,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Outdoor Seating area"
|
||||
|
@ -17,10 +21,26 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "leisure=outdoor_seating"
|
||||
},
|
||||
"minzoom": 19,
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/layers/outdoor_seating/outdoor_seating.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"color": "green",
|
||||
"fillColor": "#00FF004D",
|
||||
"width": 2
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
|
@ -150,25 +170,5 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/layers/outdoor_seating/outdoor_seating.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"color": "green",
|
||||
"fillColor": "#00FF004D",
|
||||
"width": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
"en": "Ski and snowboard pistes",
|
||||
"de": "Ski- und Snowboardpisten"
|
||||
},
|
||||
"minzoom": 11,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
|
@ -22,6 +21,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 11,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ski piste {name}",
|
||||
|
|
|
@ -145,6 +145,10 @@
|
|||
"id": "camera_direction"
|
||||
}
|
||||
],
|
||||
"allowMove": {
|
||||
"enableImproveAccuracy": true,
|
||||
"enableRelocation": false
|
||||
},
|
||||
"units": [
|
||||
{
|
||||
"maxspeed": {
|
||||
|
@ -155,9 +159,5 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"allowMove": {
|
||||
"enableImproveAccuracy": true,
|
||||
"enableRelocation": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -436,7 +436,6 @@
|
|||
"nl": "{quantity} jaar"
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
"_biggest_width_properties= /* Can be a list! */ get(feat)('_entrance_properties').filter(p => p.width === get(feat)('_biggest_width'))",
|
||||
"_biggest_width_id=get(feat)('_biggest_width_properties').id"
|
||||
],
|
||||
"isCounted": false,
|
||||
"minzoom": 18,
|
||||
"shownByDefault": false,
|
||||
"title": {
|
||||
|
@ -121,7 +122,6 @@
|
|||
"condition": "_biggest_width_id~*"
|
||||
}
|
||||
],
|
||||
"isCounted": false,
|
||||
"units": [
|
||||
{
|
||||
"width": {
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
"id": "bicycle_parkings",
|
||||
"description": {
|
||||
"en": "A map showing all types of bicycle parkings",
|
||||
"de": "Eine Karte mit allen Arten von Fahrradabstellplätzen"
|
||||
},
|
||||
"title": {
|
||||
"en": "Bicycle parkings",
|
||||
"de": "Fahrradabstellplätze"
|
||||
},
|
||||
"description": {
|
||||
"en": "A map showing all types of bicycle parkings",
|
||||
"de": "Eine Karte mit allen Arten von Fahrradabstellplätzen"
|
||||
},
|
||||
"icon": "./assets/themes/bicycle_parkings/logo.svg",
|
||||
"layers": [
|
||||
{
|
||||
|
|
|
@ -785,7 +785,7 @@
|
|||
"minzoom": 17,
|
||||
"doCount": false
|
||||
},
|
||||
"widenFactor": 2,
|
||||
"overpassMaxZoom": 15,
|
||||
"osmApiTileSize": 17
|
||||
"osmApiTileSize": 17,
|
||||
"widenFactor": 2
|
||||
}
|
||||
|
|
|
@ -3,17 +3,14 @@
|
|||
"title": {
|
||||
"en": "Changes made with MapComplete"
|
||||
},
|
||||
"shortDescription": {
|
||||
"en": "Shows changes made by MapComplete"
|
||||
},
|
||||
"description": {
|
||||
"en": "This maps shows all the changes made with MapComplete"
|
||||
},
|
||||
"shortDescription": {
|
||||
"en": "Shows changes made by MapComplete"
|
||||
},
|
||||
"icon": "./assets/svg/logo.svg",
|
||||
"hideFromOverview": true,
|
||||
"startLat": 0,
|
||||
"startLon": 0,
|
||||
"startZoom": 1,
|
||||
"layers": [
|
||||
{
|
||||
"id": "mapcomplete-changes",
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"id": "memorials",
|
||||
"icon": "./assets/layers/memorial/memorial.svg",
|
||||
"description": {
|
||||
"en": "Memorials are physical objects permantently placed in the public space to remember a person or event. They can be a wide range of objects, such as statues, plaques, paintings, military objects (such as tanks), ...",
|
||||
"de": "Denkmäler sind physische Objekte, die dauerhaft im öffentlichen Raum aufgestellt werden, um an eine Person oder ein Ereignis zu erinnern. Dabei kann es sich um eine Vielzahl von Objekten handeln, z. B. Statuen, Tafeln, Gemälde, militärische Objekte (wie Panzer), ..."
|
||||
},
|
||||
"title": {
|
||||
"en": "Memorials",
|
||||
"de": "Denkmäler"
|
||||
},
|
||||
"description": {
|
||||
"en": "Memorials are physical objects permantently placed in the public space to remember a person or event. They can be a wide range of objects, such as statues, plaques, paintings, military objects (such as tanks), ...",
|
||||
"de": "Denkmäler sind physische Objekte, die dauerhaft im öffentlichen Raum aufgestellt werden, um an eine Person oder ein Ereignis zu erinnern. Dabei kann es sich um eine Vielzahl von Objekten handeln, z. B. Statuen, Tafeln, Gemälde, militärische Objekte (wie Panzer), ..."
|
||||
},
|
||||
"icon": "./assets/layers/memorial/memorial.svg",
|
||||
"layers": [
|
||||
{
|
||||
"builtin": [
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
"shownByDefault": false
|
||||
},
|
||||
"enableNoteImports": false,
|
||||
"widenFactor": 1.2,
|
||||
"overpassMaxZoom": 15,
|
||||
"widenFactor": 1.2,
|
||||
"#note": "The 'overpassMaxZoom' should be exactly the same as or less then the minzzom in overrideAll"
|
||||
}
|
|
@ -70,6 +70,6 @@
|
|||
"layers": [
|
||||
"tree_node"
|
||||
],
|
||||
"widenFactor": 0.2,
|
||||
"osmApiTileSize": 18
|
||||
"osmApiTileSize": 18,
|
||||
"widenFactor": 0.2
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue