forked from MapComplete/MapComplete
Refactoring: move more anchor specifications out of iconsize
This commit is contained in:
parent
e86f7d863e
commit
c260d16159
40 changed files with 130 additions and 86 deletions
|
@ -362,11 +362,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/hailhydrant/Twemoji_1f691.svg",
|
||||
"iconSize": "35,35,center",
|
||||
"iconSize": "35,35",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -997,7 +997,7 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/layers/bench/bench.svg",
|
||||
"iconSize": "35,35,center",
|
||||
"iconSize": "35,35",
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": "tourism=artwork",
|
||||
|
@ -1007,7 +1007,8 @@
|
|||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
|
|
|
@ -204,10 +204,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/benches/bench_public_transport.svg",
|
||||
"iconSize": "35,35,center",
|
||||
"iconSize": "35,35",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -338,11 +338,12 @@
|
|||
"then": "circle:#e2783d;./assets/layers/bike_repair_station/pump.svg"
|
||||
}
|
||||
],
|
||||
"iconSize": "50,50,bottom",
|
||||
"iconSize": "50,50",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "bottom"
|
||||
},
|
||||
{
|
||||
"color": "#c00",
|
||||
|
|
|
@ -528,11 +528,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/bicycle_rental/logo.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#3333aa88",
|
||||
|
|
|
@ -1040,11 +1040,12 @@
|
|||
"then": "invalid"
|
||||
}
|
||||
],
|
||||
"iconSize": "50,50,bottom",
|
||||
"iconSize": "50,50",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "bottom"
|
||||
}
|
||||
],
|
||||
"description": {
|
||||
|
|
|
@ -70,11 +70,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/layers/bike_themed_object/other_services.svg",
|
||||
"iconSize": "50,50,bottom",
|
||||
"iconSize": "50,50",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "bottom"
|
||||
},
|
||||
{
|
||||
"color": "#AB76D5",
|
||||
|
|
|
@ -159,10 +159,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:white;./assets/layers/binocular/telescope.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -4016,7 +4016,8 @@
|
|||
"then": "circle:#fff;./assets/themes/charging_stations/car.svg"
|
||||
}
|
||||
],
|
||||
"iconSize": "50,50,bottom"
|
||||
"iconSize": "50,50",
|
||||
"anchor": "bottom"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
|
|
|
@ -299,11 +299,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/climbing/climbing_no_rope.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"dashArray": "8 16",
|
||||
|
|
|
@ -168,7 +168,7 @@
|
|||
"then": "icons.isOpen"
|
||||
}
|
||||
],
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
|
@ -180,7 +180,8 @@
|
|||
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"anchor": "center"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -243,7 +243,7 @@
|
|||
"then": "icons.isOpen"
|
||||
}
|
||||
],
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
|
@ -255,7 +255,8 @@
|
|||
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
|
|
|
@ -219,7 +219,7 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:white;./assets/themes/climbing/climbing_route.svg",
|
||||
"iconSize": "28,28,center",
|
||||
"iconSize": "28,28",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
|
@ -240,7 +240,8 @@
|
|||
"then": "<div class='w-max p-1 rounded-xl' style='background: white;'>{name}</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#0f0",
|
||||
|
|
|
@ -273,10 +273,11 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
|
|
|
@ -156,11 +156,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/hailhydrant/Twemoji12_1f9ef.svg",
|
||||
"iconSize": "20,20,center",
|
||||
"iconSize": "20,20",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -298,11 +298,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/hailhydrant/Twemoji12_1f692.svg",
|
||||
"iconSize": "35,35,center",
|
||||
"iconSize": "35,35",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#c22",
|
||||
|
|
|
@ -334,11 +334,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -493,11 +493,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/hailhydrant/hydrant.svg",
|
||||
"iconSize": "20,20,center",
|
||||
"iconSize": "20,20",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -69,10 +69,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/layers/information_board/board.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f"
|
||||
|
|
|
@ -264,11 +264,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "50,50,center",
|
||||
"iconSize": "50,50",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -130,11 +130,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "32,32,center",
|
||||
"iconSize": "32,32",
|
||||
"location": [
|
||||
"point",
|
||||
"projected_centerpoint"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
|
|
|
@ -528,11 +528,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/layers/nature_reserve/nature_reserve.svg",
|
||||
"iconSize": "50,50,center",
|
||||
"iconSize": "50,50",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#3c3",
|
||||
|
|
|
@ -317,11 +317,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:white;./assets/layers/observation_tower/Tower_observation.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -258,7 +258,7 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/layers/parking/parking.svg",
|
||||
"iconSize": "36,36,center",
|
||||
"iconSize": "36,36",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
|
@ -273,7 +273,8 @@
|
|||
},
|
||||
"then": "circle:white;./assets/layers/toilet/wheelchair.svg"
|
||||
}
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"width": 2,
|
||||
|
|
|
@ -132,11 +132,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:#e6cf39;./assets/layers/picnic_table/picnic_table.svg",
|
||||
"iconSize": "35,35,center",
|
||||
"iconSize": "35,35",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -109,11 +109,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/layers/play_forest/icon.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#007055",
|
||||
|
|
|
@ -80,11 +80,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/layers/postboxes/postbox.svg",
|
||||
"iconSize": "40,40,bottom",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "bottom"
|
||||
},
|
||||
{
|
||||
"color": "#DADADA",
|
||||
|
|
|
@ -388,11 +388,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#fcd862",
|
||||
|
|
|
@ -360,11 +360,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"label": {
|
||||
"mappings": [
|
||||
{
|
||||
|
@ -178,7 +178,8 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"icon": "circle:white;./assets/layers/school/college.svg"
|
||||
"icon": "circle:white;./assets/layers/school/college.svg",
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#22f1f4",
|
||||
|
|
|
@ -222,10 +222,11 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "35,35,center",
|
||||
"iconSize": "35,35",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
|
|
|
@ -846,11 +846,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,bottom",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "bottom"
|
||||
}
|
||||
],
|
||||
"description": {
|
||||
|
|
|
@ -77,11 +77,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/layers/visitor_information_centre/information.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -92,10 +92,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:#ffffff;./assets/themes/buurtnatuur/nature_reserve.svg",
|
||||
"iconSize": "50,50,center",
|
||||
"iconSize": "50,50",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
|
@ -198,10 +199,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:#ffffff;./assets/themes/buurtnatuur/park.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
|
@ -292,10 +294,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:#ffffff;./assets/themes/buurtnatuur/forest.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
|
|
|
@ -872,11 +872,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
@ -1448,10 +1449,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:white;./assets/themes/campersite/sanitary_dump_station.svg",
|
||||
"iconSize": "32,32,center",
|
||||
"iconSize": "32,32",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -600,11 +600,12 @@
|
|||
"then": "circle:white;./assets/themes/facadegardens/bloei.svg"
|
||||
}
|
||||
],
|
||||
"iconSize": "50,50,center",
|
||||
"iconSize": "50,50",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"deletion": true,
|
||||
|
|
|
@ -54,10 +54,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/buurtnatuur/forest.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
@ -157,10 +158,11 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/fruit_trees/fruit_tree.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": "#00f",
|
||||
|
|
|
@ -93,7 +93,8 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,center"
|
||||
"iconSize": "40,40",
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"title": "OSM-gebouw",
|
||||
|
|
|
@ -200,11 +200,12 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/postal_codes/townhall.svg",
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"isShown": "_country=be"
|
||||
|
|
|
@ -182,11 +182,12 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "40,40,center",
|
||||
"iconSize": "40,40",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"description": "Alamat"
|
||||
|
|
Loading…
Reference in a new issue