Linting of maxspees theme

This commit is contained in:
pietervdvn 2022-04-12 13:16:45 +02:00
parent 8c50758ceb
commit 60debcf6ed

View file

@ -1,5 +1,5 @@
{ {
"id": "velocidad", "id": "maxspeeds",
"title": { "title": {
"es": "Velocidad", "es": "Velocidad",
"ca": "Velocitat", "ca": "Velocitat",
@ -15,11 +15,6 @@
"ca": "Completarem les propietats de la velocitat de la via que faltin.", "ca": "Completarem les propietats de la velocitat de la via que faltin.",
"en": "Complete the maxspeed properties of a way." "en": "Complete the maxspeed properties of a way."
}, },
"language": [
"es",
"ca",
"en"
],
"maintainer": "", "maintainer": "",
"icon": "ES_R301.png", "icon": "ES_R301.png",
"version": "0", "version": "0",
@ -27,35 +22,15 @@
"startLon": 0, "startLon": 0,
"startZoom": 1, "startZoom": 1,
"widenFactor": 0.01, "widenFactor": 0.01,
"socialImage": "",
"layers": [ "layers": [
{ {
"id": "velocidad", "id": "maxspeed",
"name": { "name": {
"es": "Velocidad", "es": "Velocidad",
"ca": "Velocitat", "ca": "Velocitat",
"en": "Maxspeed" "en": "Maxspeed"
}, },
"minzoom": 16, "minzoom": 16,
"overpassTags": {
"or": [
"highway=residential",
"highway=living_street",
"highway=motorway",
"highway=tertiary",
"highway=service",
"highway=unclassified",
"highway=secondary",
"highway=primary",
"highway=trunk",
"highway=motorway",
"highway=tertiary_link",
"highway=secondary_link",
"highway=primary_link",
"highway=trunk_link",
"highway=motorway_link"
]
},
"title": { "title": {
"render": { "render": {
"es": "Nombre: {name}", "es": "Nombre: {name}",
@ -96,7 +71,8 @@
}, },
"freeform": { "freeform": {
"key": "maxspeed" "key": "maxspeed"
} },
"id": "maxspeed-maxspeed"
}, },
{ {
"render": { "render": {
@ -137,10 +113,34 @@
"en": "No one way" "en": "No one way"
} }
} }
] ],
"id": "maxspeed-oneway"
} }
], ],
"hideUnderlayingFeaturesMinPercentage": 0, "presets": [],
"source": {
"osmTags": {
"or": [
"highway=residential",
"highway=living_street",
"highway=motorway",
"highway=tertiary",
"highway=service",
"highway=unclassified",
"highway=secondary",
"highway=primary",
"highway=trunk",
"highway=motorway",
"highway=tertiary_link",
"highway=secondary_link",
"highway=primary_link",
"highway=trunk_link",
"highway=motorway_link"
]
}
},
"mapRendering": [
{
"icon": { "icon": {
"mappings": [ "mappings": [
{ {
@ -289,12 +289,15 @@
} }
] ]
}, },
"width": {
"render": "3"
},
"iconSize": { "iconSize": {
"render": "20,20,center" "render": "20,20,center"
}, },
"location": [
"point",
"centroid"
]
},
{
"color": { "color": {
"render": "#000000", "render": "#000000",
"mappings": [ "mappings": [
@ -312,9 +315,11 @@
} }
] ]
}, },
"presets": [], "width": {
"wayHandling": 2 "render": "3"
} }
], }
"roamingRenderings": [] ]
}
]
} }