Fix way rendering in themes

This commit is contained in:
pietervdvn 2021-11-09 18:22:26 +01:00
parent 43e63fac3b
commit c1220da879
22 changed files with 23 additions and 27 deletions

View file

@ -660,7 +660,7 @@
"render": "35,35,center" "render": "35,35,center"
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -160,7 +160,7 @@
], ],
"iconSize": "50,50,bottom", "iconSize": "50,50,bottom",
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -307,7 +307,7 @@
] ]
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -206,7 +206,7 @@
] ]
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

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

View file

@ -205,7 +205,7 @@
"icon": "./assets/layers/ghost_bike/ghost_bike.svg", "icon": "./assets/layers/ghost_bike/ghost_bike.svg",
"iconSize": "40,40,bottom", "iconSize": "40,40,bottom",
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -10,7 +10,7 @@
{ {
"icon": "crosshair:#00f", "icon": "crosshair:#00f",
"iconSize": "40,40,center", "iconSize": "40,40,center",
"location": "point" "location": ["point","centroid"]
} }
] ]
} }

View file

@ -20,11 +20,6 @@
], ],
"name": "Your track", "name": "Your track",
"mapRendering": [ "mapRendering": [
{
"icon": "circle:#f00",
"iconSize": "2,2,center",
"location": "point"
},
{ {
"width": 3, "width": 3,
"color": "#bb000077" "color": "#bb000077"

View file

@ -14,7 +14,7 @@
"iconSize": { "iconSize": {
"render": "20,20,center" "render": "20,20,center"
}, },
"location": "point" "location": ["point","centroid"]
} }
] ]
} }

View file

@ -115,7 +115,7 @@
"render": "35,35,center" "render": "35,35,center"
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -25,7 +25,7 @@
}, },
"mapRendering": [ "mapRendering": [
{ {
"location": "point", "location": ["point","centroid"],
"icon": "./assets/layers/street_lamps/street_lamp.svg", "icon": "./assets/layers/street_lamps/street_lamp.svg",
"iconBadges": [ "iconBadges": [
{ {

View file

@ -575,7 +575,7 @@
} }
], ],
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -616,7 +616,7 @@
"render": "40,40,bottom" "render": "40,40,bottom"
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -5,7 +5,7 @@
"source": { "source": {
"osmTags": "id~node/.*" "osmTags": "id~node/.*"
}, },
"mapRendering": [], "mapRendering": null,
"name": "All OSM Nodes", "name": "All OSM Nodes",
"title": "OSM node {id}", "title": "OSM node {id}",
"tagRendering": [] "tagRendering": []

View file

@ -69,7 +69,7 @@
"render": "40,40,center" "render": "40,40,center"
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -172,7 +172,7 @@
"render": "50,50,center" "render": "50,50,center"
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -455,7 +455,7 @@
"render": "50,50,center" "render": "50,50,center"
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

@ -396,7 +396,8 @@
"mapRendering": [ "mapRendering": [
{ {
"location": [ "location": [
"point" "point",
"centroid"
], ],
"icon": "circle:#bb3322", "icon": "circle:#bb3322",
"iconSize": "15,15,center" "iconSize": "15,15,center"

View file

@ -506,7 +506,7 @@
"render": "20,20,center" "render": "20,20,center"
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
] ]

View file

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

View file

@ -36,7 +36,7 @@
"title": "Straatlantaarn in dataset", "title": "Straatlantaarn in dataset",
"mapRendering": [ "mapRendering": [
{ {
"location": "point", "location": ["point","centroid"],
"icon": { "icon": {
"render": "circle:red", "render": "circle:red",
"mappings": [ "mappings": [

View file

@ -79,7 +79,7 @@
} }
} }
], ],
"mapRendering": [] "mapRendering": null
}, },
{ {
"id": "to_import", "id": "to_import",
@ -180,7 +180,7 @@
"render": "40,40,center" "render": "40,40,center"
}, },
"location": [ "location": [
"point" "point","centroid"
] ]
} }
], ],