Refactoring: cleanup of last incorrect iconSize fields

This commit is contained in:
Pieter Vander Vennet 2023-06-20 02:46:38 +02:00
parent 140c813151
commit f4b7e7eb88
12 changed files with 458 additions and 1249 deletions

File diff suppressed because it is too large Load diff

View file

@ -65,7 +65,7 @@
"en": "A charging station", "en": "A charging station",
"nl": "Oplaadpunten" "nl": "Oplaadpunten"
}, },
"#":"no-question-hint-check", "#": "no-question-hint-check",
"tagRenderings": [ "tagRenderings": [
"images", "images",
{ {
@ -144,7 +144,7 @@
} }
}, },
{ {
"if": "access=public", "if": "access=public",
"then": { "then": {
"en": "Anyone can use this charging station (payment might be needed)", "en": "Anyone can use this charging station (payment might be needed)",
"nl": "Toegankelijk voor iedereen (mogelijks met aanmelden en/of te betalen)" "nl": "Toegankelijk voor iedereen (mogelijks met aanmelden en/of te betalen)"
@ -804,9 +804,6 @@
"title": { "title": {
"en": "charging station for electrical bikes with a normal european wall plug <img src='./assets/layers/charging_station/TypeE.svg' class='w-4 h-4 mx-1 bg-white rounded-full'/>", "en": "charging station for electrical bikes with a normal european wall plug <img src='./assets/layers/charging_station/TypeE.svg' class='w-4 h-4 mx-1 bg-white rounded-full'/>",
"nl": "oplaadpunt voor elektrische fietsen met een gewone, europese stekker <img src='./assets/layers/charging_station/TypeE.svg' class='w-4 h-4 mx-1 bg-white rounded-full'/>" "nl": "oplaadpunt voor elektrische fietsen met een gewone, europese stekker <img src='./assets/layers/charging_station/TypeE.svg' class='w-4 h-4 mx-1 bg-white rounded-full'/>"
},
"preciseInput": {
"preferredBackground": "map"
} }
}, },
{ {
@ -818,9 +815,6 @@
"title": { "title": {
"en": "charging station for cars", "en": "charging station for cars",
"nl": "oplaadstation voor elektrische auto's" "nl": "oplaadstation voor elektrische auto's"
},
"preciseInput": {
"preferredBackground": "map"
} }
} }
], ],

View file

@ -245,7 +245,8 @@
} }
] ]
}, },
"iconSize": "15,15, bottom" "iconSize": "15,15",
"anchor": "bottom"
} }
] ]
} }

View file

@ -374,7 +374,8 @@
} }
] ]
}, },
"iconSize": "40, 40, bottom", "iconSize": "40, 40",
"anchor": "bottom",
"location": [ "location": [
"point", "point",
"centroid" "centroid"

View file

@ -54,7 +54,8 @@
"=mapRendering": [ "=mapRendering": [
{ {
"icon": "pin:#ba2792;./assets/themes/cyclofix/key.svg", "icon": "pin:#ba2792;./assets/themes/cyclofix/key.svg",
"iconSize": "40,40,bottom", "iconSize": "40,40",
"anchor": "bottom",
"location": [ "location": [
"point", "point",
"centroid" "centroid"
@ -82,7 +83,8 @@
"=mapRendering": [ "=mapRendering": [
{ {
"icon": "pin:#ba2792;./assets/themes/cyclofix/key.svg", "icon": "pin:#ba2792;./assets/themes/cyclofix/key.svg",
"iconSize": "40,40,bottom", "iconSize": "40,40",
"anchor": "bottom",
"location": [ "location": [
"point", "point",
"centroid" "centroid"
@ -133,4 +135,4 @@
} }
} }
] ]
} }

View file

@ -766,7 +766,7 @@
"icon": { "icon": {
"render": "./assets/svg/robot.svg" "render": "./assets/svg/robot.svg"
}, },
"iconSize": "15,15,center" "iconSize": "15,15"
} }
] ]
} }
@ -777,4 +777,4 @@
"overpassMaxZoom": 15, "overpassMaxZoom": 15,
"osmApiTileSize": 17, "osmApiTileSize": 17,
"credits": "Pieter Vander Vennet" "credits": "Pieter Vander Vennet"
} }

View file

@ -579,7 +579,8 @@
"point" "point"
], ],
"icon": "statistics:black", "icon": "statistics:black",
"iconSize": "30,30,center" "iconSize": "30,30",
"anchor": "center"
} }
] ]
} }

View file

@ -114,7 +114,8 @@
"icon": { "icon": {
"render": "teardrop:#00cc00" "render": "teardrop:#00cc00"
}, },
"iconSize": "30,30,center" "iconSize": "30,30",
"anchor": "center"
} }
], ],
"filter": [ "filter": [
@ -276,7 +277,8 @@
"point" "point"
], ],
"icon": "statistics:black", "icon": "statistics:black",
"iconSize": "30,30,center" "iconSize": "30,30",
"anchor": "center"
} }
] ]
} }

View file

@ -61,7 +61,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/cafe.svg", "icon": "./assets/themes/onwheels/cafe.svg",
"iconSize": "40,40,bottom", "iconSize": "40,40",
"anchor": "bottom",
"label": null "label": null
} }
] ]
@ -73,8 +74,7 @@
"minzoom": 19, "minzoom": 19,
"mapRendering": [ "mapRendering": [
{ {
"icon": "circle:white;./assets/themes/onwheels/entrance.svg", "icon": "circle:white;./assets/themes/onwheels/entrance.svg"
"iconSize": "40,40,center"
} }
], ],
"syncSelection": "theme-only", "syncSelection": "theme-only",
@ -120,7 +120,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/restaurant.svg", "icon": "./assets/themes/onwheels/restaurant.svg",
"iconSize": "40,40,bottom", "iconSize": "40,40",
"anchor": "bottom",
"label": null "label": null
} }
] ]
@ -205,8 +206,9 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/parking.svg", "icon": "./assets/themes/onwheels/parking.svg",
"anchor": "bottom",
"iconSize": { "iconSize": {
"render": "20,20,bottom", "render": "20,20",
"mappings": [ "mappings": [
{ {
"if": { "if": {
@ -215,7 +217,7 @@
"capacity:disabled=yes" "capacity:disabled=yes"
] ]
}, },
"then": "40,40,bottom" "then": "40,40"
} }
] ]
} }
@ -237,7 +239,8 @@
"icon": { "icon": {
"mappings": null "mappings": null
}, },
"iconSize": "30,30,center", "iconSize": "40,40",
"anchor": "center",
"iconBadges": [ "iconBadges": [
{ {
"if": "parking_space=disabled", "if": "parking_space=disabled",
@ -268,7 +271,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/shop.svg", "icon": "./assets/themes/onwheels/shop.svg",
"iconSize": "40,40,bottom", "iconSize": "40,40",
"anchor": "bottom",
"label": null "label": null
}, },
{ {
@ -285,7 +289,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/toilet.svg", "icon": "./assets/themes/onwheels/toilet.svg",
"iconSize": "40,40,bottom" "iconSize": "40,40",
"anchor": "bottom"
} }
] ]
} }
@ -298,7 +303,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/pharmacy.svg", "icon": "./assets/themes/onwheels/pharmacy.svg",
"iconSize": "40,40,bottom", "iconSize": "40,40",
"anchor": "bottom",
"label": null "label": null
} }
] ]
@ -312,7 +318,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/doctor.svg", "icon": "./assets/themes/onwheels/doctor.svg",
"iconSize": "40,40,bottom" "iconSize": "40,40",
"anchor": "bottom"
} }
] ]
} }
@ -325,7 +332,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/hospital.svg", "icon": "./assets/themes/onwheels/hospital.svg",
"iconSize": "40,40,bottom" "iconSize": "40,40",
"anchor": "bottom"
}, },
{ {
"color": "#dd463b" "color": "#dd463b"
@ -349,7 +357,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "circle:white;./assets/themes/onwheels/elevator.svg", "icon": "circle:white;./assets/themes/onwheels/elevator.svg",
"iconSize": "40,40,bottom" "iconSize": "40,40",
"anchor": "bottom"
} }
] ]
} }
@ -362,7 +371,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/hotel.svg", "icon": "./assets/themes/onwheels/hotel.svg",
"iconSize": "40,40,bottom" "iconSize": "40,40",
"anchor": "bottom"
} }
] ]
} }
@ -374,7 +384,8 @@
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/onwheels/government.svg", "icon": "./assets/themes/onwheels/government.svg",
"iconSize": "40,40,bottom" "iconSize": "40,40",
"anchor": "bottom"
} }
] ]
} }
@ -503,4 +514,4 @@
] ]
}, },
"enableDownload": true "enableDownload": true
} }

View file

@ -48,7 +48,7 @@
"centroid" "centroid"
], ],
"icon": "./assets/themes/pets/dog-food.svg", "icon": "./assets/themes/pets/dog-food.svg",
"iconSize": "30,30,center" "iconSize": "30,30"
} }
], ],
"=presets": [], "=presets": [],
@ -131,7 +131,7 @@
} }
] ]
}, },
"iconSize": "30,30,center" "iconSize": "30,30"
}, },
{ {
"#": "Rendering of a line", "#": "Rendering of a line",
@ -220,4 +220,4 @@
} }
], ],
"credits": "Niels Elgaard Larsen" "credits": "Niels Elgaard Larsen"
} }

View file

@ -39,7 +39,7 @@
"render": null, "render": null,
"mappings": null "mappings": null
}, },
"iconSize": "0,0,bottom" "iconSize": "0,0"
} }
] ]
} }
@ -404,4 +404,4 @@
] ]
} }
] ]
} }

View file

@ -67,9 +67,6 @@
], ],
"title": { "title": {
"nl": "laadpunt voor elektrische fietsen" "nl": "laadpunt voor elektrische fietsen"
},
"preciseInput": {
"preferredBackground": "map"
} }
} }
] ]
@ -250,4 +247,4 @@
"hideFromOverview": true, "hideFromOverview": true,
"enableMoreQuests": false, "enableMoreQuests": false,
"enableShareScreen": false "enableShareScreen": false
} }