Chore: reordering attributes to have a fixed order

This commit is contained in:
Pieter Vander Vennet 2023-10-30 18:08:38 +01:00
parent fab6835bc5
commit e13e9f652c
136 changed files with 7909 additions and 7909 deletions

View file

@ -1,5 +1,14 @@
{
"id": "dogpark",
"name": {
"en": "dog parks",
"da": "hundeskove",
"de": "Hundeparks",
"es": "parques de perros",
"nl": "hondenweides",
"ca": "parcs de gossos",
"cs": "psí parky"
},
"description": "A layer showing dogparks, which are areas where dog are allowed to run without a leash",
"source": {
"osmTags": {
@ -15,6 +24,54 @@
}
},
"minzoom": 10,
"title": {
"render": {
"en": "dog park",
"da": "hundeskov",
"de": "Hundepark",
"es": "parque para perros",
"nl": "hondenweide",
"ca": "parc per a gossos",
"cs": "psí park"
},
"mappings": [
{
"if": "name~*",
"then": {
"*": "{name}"
}
}
]
},
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"iconSize": "40,40",
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
"anchor": "center",
"marker": [
{
"icon": "./assets/layers/dogpark/dog-park.svg"
}
]
}
],
"lineRendering": [
{
"color": "#ff0",
"width": 5
}
],
"presets": [
{
"title": {
@ -40,34 +97,6 @@
}
}
],
"name": {
"en": "dog parks",
"da": "hundeskove",
"de": "Hundeparks",
"es": "parques de perros",
"nl": "hondenweides",
"ca": "parcs de gossos",
"cs": "psí parky"
},
"title": {
"render": {
"en": "dog park",
"da": "hundeskov",
"de": "Hundepark",
"es": "parque para perros",
"nl": "hondenweide",
"ca": "parc per a gossos",
"cs": "psí park"
},
"mappings": [
{
"if": "name~*",
"then": {
"*": "{name}"
}
}
]
},
"tagRenderings": [
{
"id": "dogpark-fenced",
@ -183,34 +212,5 @@
},
"reviews",
"images"
],
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"iconSize": "40,40",
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
"anchor": "center",
"marker": [
{
"icon": "./assets/layers/dogpark/dog-park.svg"
}
]
}
],
"lineRendering": [
{
"color": "#ff0",
"width": 5
}
]
}