Various theme, icon and language fixes

This commit is contained in:
pietervdvn 2022-02-08 18:29:21 +01:00
parent 8016ac2f81
commit 688dcae3b0
17 changed files with 228 additions and 78 deletions

View file

@ -119,9 +119,9 @@ export default class MoreScreen extends Combine {
]).SetClass("flex flex-col border border-gray-300 p-2 rounded-lg")
}
private static createButtonFor(state: UserRelatedState, id: string): BaseUIElement {
private static createUnofficialButtonFor(state: UserRelatedState, id: string): BaseUIElement {
const allPreferences = state.osmConnection.preferencesHandler.preferences.data;
const length = Number(allPreferences[id + "-combined-length"])
const length = Number(allPreferences[id + "-length"])
let str = "";
for (let i = 0; i < length; i++) {
str += allPreferences[id + "-" + i]
@ -136,7 +136,7 @@ export default class MoreScreen extends Combine {
return MoreScreen.createLinkButton(state, value, true)
} catch (e) {
console.debug("Could not parse unofficial theme information for " + id, e)
console.debug("Could not parse unofficial theme information for " + id, "The json is: ", str, e)
return undefined
}
}
@ -157,13 +157,18 @@ export default class MoreScreen extends Combine {
return ids
});
currentIds.addCallback(ids => {
console.log("Current special ids are:", ids)
})
var stableIds = UIEventSource.ListStabilized<string>(currentIds)
currentIds.addCallback(ids => {
console.log("Stabilized special ids are:", ids)
})
return new VariableUiElement(
stableIds.map(ids => {
const allThemes: BaseUIElement[] = []
for (const id of ids) {
const link = this.createButtonFor(state, id)
const link = this.createUnofficialButtonFor(state, id)
if (link !== undefined) {
allThemes.push(link.SetClass(buttonClass))
}

View file

@ -27,20 +27,6 @@
"https://osoc.be/editions/2020/cyclofix"
]
},
{
"path": "broken_pump_2.svg",
"license": "CC-BY-SA",
"authors": [
"Pieter Fiers",
"Thibault Declercq",
"Pierre Barban",
"Joost Schouppe",
"Pieter Vander Vennet"
],
"sources": [
"https://osoc.be/editions/2020/cyclofix"
]
},
{
"path": "pump.svg",
"license": "CC-BY-SA",

View file

@ -1,15 +1,86 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" width="374px" height="260px" viewBox="0 0 374 260" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 77.988281 48.621094 L 77.988281 59.058594 L 69.695312 59.058594 C 64.503906 59.058594 60.796875 59.632812 58.570312 60.78125 C 56.347656 61.933594 55.230469 63.621094 55.230469 65.851562 C 55.230469 67.675781 56.246094 69.160156 58.265625 70.308594 C 60.289062 71.457031 63.695312 72.035156 68.480469 72.035156 C 72.597656 72.035156 76.4375 71.59375 80.007812 70.714844 C 83.585938 69.835938 86.515625 68.855469 88.804688 67.773438 L 88.804688 79.835938 C 86.316406 80.980469 83.246094 81.929688 79.605469 82.671875 C 75.964844 83.347656 71.886719 83.683594 67.371094 83.683594 C 57.863281 83.683594 50.984375 82.203125 46.738281 79.226562 C 42.492188 76.253906 40.367188 72.300781 40.367188 67.371094 C 40.367188 63.316406 41.582031 60.277344 44.007812 58.25 C 46.503906 56.222656 49.773438 54.835938 53.820312 54.097656 L 53.820312 53.589844 C 50.316406 52.777344 47.683594 51.289062 45.933594 49.128906 C 44.179688 46.898438 43.300781 44.128906 43.300781 40.816406 C 43.300781 37.304688 44.378906 34.5 46.539062 32.40625 C 48.695312 30.246094 51.59375 28.6875 55.230469 27.746094 C 58.871094 26.796875 62.921875 26.328125 67.371094 26.328125 C 71.210938 26.328125 75.054688 26.699219 78.898438 27.441406 C 82.738281 28.1875 86.074219 29.195312 88.910156 30.480469 L 84.253906 41.425781 C 81.828125 40.414062 79.300781 39.5 76.671875 38.691406 C 74.113281 37.878906 71.144531 37.472656 67.773438 37.472656 C 60.425781 37.472656 56.75 39.199219 56.75 42.644531 C 56.75 44.804688 57.832031 46.359375 59.984375 47.300781 C 62.214844 48.183594 65.683594 48.621094 70.40625 48.621094 Z M 77.988281 48.621094 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 143.210938 27.339844 L 143.210938 38.691406 L 123.59375 38.691406 L 123.59375 65.34375 C 123.59375 67.4375 124.199219 69.027344 125.414062 70.105469 C 126.625 71.121094 128.210938 71.625 130.167969 71.625 C 131.851562 71.625 133.472656 71.457031 135.019531 71.121094 C 136.574219 70.78125 138.121094 70.378906 139.675781 69.902344 L 139.675781 81.152344 C 138.191406 81.828125 136.300781 82.402344 134.011719 82.878906 C 131.785156 83.417969 129.355469 83.683594 126.730469 83.683594 C 123.289062 83.683594 120.1875 83.144531 117.425781 82.066406 C 114.726562 80.980469 112.570312 79.125 110.957031 76.492188 C 109.335938 73.789062 108.527344 70.074219 108.527344 65.34375 L 108.527344 38.691406 L 94.671875 38.691406 L 94.671875 32.40625 L 103.371094 27.339844 Z M 143.210938 27.339844 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 179.515625 83.585938 C 172.910156 83.585938 167.753906 82.4375 164.042969 80.136719 C 160.402344 77.773438 157.839844 74.632812 156.359375 70.714844 C 154.875 66.726562 154.132812 62.300781 154.132812 57.4375 L 154.132812 27.339844 L 169.203125 27.339844 L 169.203125 57.945312 C 169.203125 62.742188 170.078125 66.21875 171.832031 68.382812 C 173.585938 70.476562 176.3125 71.527344 180.023438 71.527344 C 184 71.527344 186.96875 70.074219 188.921875 67.167969 C 190.875 64.261719 191.855469 59.296875 191.855469 52.269531 C 191.855469 47.878906 191.519531 43.753906 190.84375 39.90625 C 190.238281 35.988281 189.394531 31.800781 188.3125 27.339844 L 203.480469 27.339844 C 204.632812 31.730469 205.472656 35.886719 206.011719 39.804688 C 206.617188 43.65625 206.921875 47.945312 206.921875 52.675781 C 206.921875 63.28125 204.59375 71.085938 199.945312 76.082031 C 195.359375 81.085938 188.546875 83.585938 179.515625 83.585938 Z M 179.515625 83.585938 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 271.136719 27.339844 L 271.136719 82.671875 L 259.707031 82.671875 L 257.585938 75.277344 L 256.878906 75.277344 C 255.527344 78.042969 253.84375 80.136719 251.820312 81.558594 C 249.863281 82.976562 247.4375 83.683594 244.539062 83.683594 C 240.429688 83.683594 237.257812 82.203125 235.035156 79.226562 L 234.730469 79.226562 C 234.867188 79.902344 234.96875 80.980469 235.035156 82.46875 C 235.101562 83.890625 235.136719 85.375 235.136719 86.929688 C 235.203125 88.550781 235.234375 89.972656 235.234375 91.1875 L 235.234375 106.996094 L 220.171875 106.996094 L 220.171875 27.339844 L 235.234375 27.339844 L 235.234375 59.671875 C 235.234375 67.640625 238.238281 71.625 244.234375 71.625 C 248.753906 71.625 251.855469 70.074219 253.539062 66.964844 C 255.226562 63.789062 256.066406 59.261719 256.066406 53.382812 L 256.066406 27.339844 Z M 271.136719 27.339844 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 337.070312 54.902344 C 337.070312 64.09375 334.640625 71.1875 329.789062 76.1875 C 325.003906 81.1875 318.464844 83.683594 310.167969 83.683594 C 305.046875 83.683594 300.460938 82.574219 296.417969 80.34375 C 292.4375 78.109375 289.304688 74.867188 287.015625 70.613281 C 284.71875 66.289062 283.574219 61.054688 283.574219 54.902344 C 283.574219 45.714844 285.96875 38.65625 290.753906 33.722656 C 295.539062 28.792969 302.113281 26.328125 310.472656 26.328125 C 315.667969 26.328125 320.25 27.441406 324.226562 29.667969 C 328.203125 31.898438 331.335938 35.144531 333.632812 39.398438 C 335.921875 43.589844 337.070312 48.757812 337.070312 54.902344 Z M 298.945312 54.902344 C 298.945312 60.378906 299.824219 64.53125 301.574219 67.371094 C 303.394531 70.140625 306.324219 71.527344 310.375 71.527344 C 314.347656 71.527344 317.214844 70.140625 318.96875 67.371094 C 320.789062 64.53125 321.699219 60.378906 321.699219 54.902344 C 321.699219 49.433594 320.789062 45.34375 318.96875 42.644531 C 317.214844 39.875 314.316406 38.484375 310.269531 38.484375 C 306.292969 38.484375 303.394531 39.875 301.574219 42.644531 C 299.824219 45.34375 298.945312 49.433594 298.945312 54.902344 Z M 298.945312 54.902344 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 36.929688 209.351562 L 60.289062 157.058594 L 58.570312 152.5 C 57.15625 148.984375 55.640625 146.753906 54.019531 145.808594 C 52.402344 144.863281 50.246094 144.390625 47.546875 144.390625 C 46.671875 144.390625 45.761719 144.457031 44.816406 144.59375 C 43.941406 144.730469 43.164062 144.863281 42.492188 145 L 42.492188 132.535156 C 43.4375 132.332031 44.71875 132.164062 46.335938 132.027344 C 48.019531 131.824219 49.46875 131.722656 50.683594 131.722656 C 54.996094 131.722656 58.503906 132.429688 61.199219 133.851562 C 63.964844 135.203125 66.222656 137.199219 67.976562 139.828125 C 69.730469 142.464844 71.277344 145.675781 72.628906 149.457031 L 86.484375 187.664062 C 88.03125 191.851562 89.449219 194.589844 90.730469 195.871094 C 92.011719 197.085938 93.355469 197.699219 94.773438 197.699219 C 95.71875 197.699219 96.863281 197.527344 98.214844 197.191406 L 98.214844 208.847656 C 97.402344 209.25 96.054688 209.585938 94.167969 209.859375 C 92.347656 210.195312 90.796875 210.367188 89.515625 210.367188 C 85.40625 210.367188 82.265625 209.351562 80.113281 207.324219 C 78.019531 205.230469 76.367188 202.492188 75.15625 199.113281 L 70.40625 185.636719 C 69.660156 183.476562 68.953125 181.382812 68.28125 179.355469 C 67.605469 177.257812 67.097656 175.472656 66.765625 173.984375 L 66.460938 173.984375 C 65.984375 175.738281 65.414062 177.667969 64.742188 179.757812 C 64.066406 181.851562 63.390625 183.710938 62.714844 185.332031 L 52.5 209.351562 Z M 36.929688 209.351562 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 155.753906 181.585938 C 155.753906 190.773438 153.328125 197.867188 148.472656 202.863281 C 143.6875 207.867188 137.144531 210.367188 128.855469 210.367188 C 123.730469 210.367188 119.144531 209.25 115.097656 207.019531 C 111.125 204.792969 107.988281 201.550781 105.695312 197.292969 C 103.402344 192.96875 102.257812 187.730469 102.257812 181.585938 C 102.257812 172.394531 104.648438 165.335938 109.4375 160.40625 C 114.222656 155.46875 120.796875 153.003906 129.15625 153.003906 C 134.347656 153.003906 138.933594 154.117188 142.910156 156.351562 C 146.886719 158.578125 150.023438 161.820312 152.3125 166.078125 C 154.609375 170.265625 155.753906 175.433594 155.753906 181.585938 Z M 117.628906 181.585938 C 117.628906 187.054688 118.503906 191.210938 120.257812 194.046875 C 122.074219 196.820312 125.011719 198.203125 129.054688 198.203125 C 133.03125 198.203125 135.898438 196.820312 137.652344 194.046875 C 139.472656 191.210938 140.382812 187.054688 140.382812 181.585938 C 140.382812 176.109375 139.472656 172.023438 137.652344 169.320312 C 135.898438 166.550781 133 165.167969 128.953125 165.167969 C 124.976562 165.167969 122.074219 166.550781 120.257812 169.320312 C 118.503906 172.023438 117.628906 176.109375 117.628906 181.585938 Z M 117.628906 181.585938 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 215.71875 154.019531 L 195.289062 208.4375 C 194.28125 211.140625 193.40625 214.011719 192.664062 217.050781 C 191.921875 220.09375 191.347656 223.035156 190.945312 225.867188 C 190.609375 228.777344 190.4375 231.378906 190.4375 233.671875 L 174.460938 233.671875 C 174.460938 231.78125 174.660156 229.417969 175.070312 226.582031 C 175.539062 223.742188 176.148438 220.734375 176.890625 217.558594 C 177.628906 214.453125 178.46875 211.515625 179.414062 208.742188 L 158.378906 154.019531 L 174.054688 154.019531 L 182.144531 178.441406 C 182.753906 180.199219 183.390625 182.328125 184.066406 184.828125 C 184.808594 187.257812 185.453125 189.621094 185.988281 191.921875 C 186.527344 194.148438 186.898438 195.871094 187.101562 197.085938 L 187.402344 197.085938 C 187.539062 196.074219 187.808594 194.589844 188.214844 192.628906 C 188.683594 190.601562 189.222656 188.40625 189.828125 186.042969 C 190.503906 183.613281 191.214844 181.3125 191.953125 179.148438 L 200.042969 154.019531 Z M 215.71875 154.019531 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 238.675781 154.019531 L 238.675781 192.019531 C 238.675781 194.117188 239.28125 195.703125 240.496094 196.785156 C 241.710938 197.800781 243.292969 198.308594 245.25 198.308594 C 246.933594 198.308594 248.550781 198.136719 250.105469 197.800781 C 251.652344 197.460938 253.207031 197.054688 254.753906 196.582031 L 254.753906 207.832031 C 253.269531 208.507812 251.386719 209.082031 249.089844 209.554688 C 246.867188 210.09375 244.441406 210.367188 241.808594 210.367188 C 238.371094 210.367188 235.269531 209.828125 232.503906 208.742188 C 229.808594 207.664062 227.652344 205.804688 226.035156 203.167969 C 224.417969 200.464844 223.605469 196.75 223.605469 192.019531 L 223.605469 154.019531 Z M 226.4375 147.9375 L 226.4375 146.417969 C 226.980469 144.792969 227.484375 142.9375 227.953125 140.84375 C 228.496094 138.75 229 136.621094 229.472656 134.457031 C 229.945312 132.300781 230.28125 130.371094 230.484375 128.683594 L 244.441406 128.683594 L 244.441406 129.898438 C 243.363281 132.535156 242.042969 135.40625 240.496094 138.511719 C 238.941406 141.621094 237.191406 144.761719 235.234375 147.9375 Z M 226.4375 147.9375 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 283.070312 210.367188 C 276.597656 210.367188 271.371094 207.96875 267.394531 203.167969 C 263.414062 198.308594 261.429688 191.210938 261.429688 181.890625 C 261.429688 172.429688 263.484375 165.265625 267.59375 160.40625 C 271.710938 155.539062 277.238281 153.109375 284.179688 153.109375 C 288.09375 153.109375 291.292969 153.816406 293.789062 155.234375 C 296.28125 156.585938 298.375 158.644531 300.058594 161.417969 L 300.765625 161.417969 C 301.105469 160.269531 301.539062 159.015625 302.078125 157.664062 C 302.621094 156.246094 303.292969 155.03125 304.101562 154.019531 L 316.539062 154.019531 C 315.796875 156.179688 315.023438 159.320312 314.21875 163.445312 C 313.40625 167.566406 313.003906 171.886719 313.003906 176.414062 L 313.003906 191.820312 C 313.003906 194.117188 313.40625 195.671875 314.21875 196.480469 C 315.089844 197.292969 316.070312 197.699219 317.148438 197.699219 C 317.617188 197.699219 318.160156 197.632812 318.769531 197.496094 C 319.375 197.359375 319.808594 197.257812 320.082031 197.191406 L 320.082031 209.046875 C 319.609375 209.320312 318.632812 209.585938 317.148438 209.859375 C 315.734375 210.195312 314.453125 210.367188 313.308594 210.367188 C 309.933594 210.367188 307.203125 209.757812 305.113281 208.539062 C 303.023438 207.324219 301.40625 205.164062 300.257812 202.054688 L 299.25 202.054688 C 297.769531 204.351562 295.742188 206.3125 293.179688 207.929688 C 290.617188 209.554688 287.25 210.367188 283.070312 210.367188 Z M 287.621094 198.308594 C 291.800781 198.308594 294.699219 197.054688 296.316406 194.554688 C 298.003906 191.988281 298.878906 187.933594 298.945312 182.394531 L 298.945312 181.785156 C 298.945312 176.382812 298.101562 172.261719 296.417969 169.421875 C 294.796875 166.585938 291.800781 165.167969 287.417969 165.167969 C 283.84375 165.167969 281.183594 166.617188 279.429688 169.527344 C 277.675781 172.359375 276.800781 176.515625 276.800781 181.988281 C 276.800781 192.863281 280.402344 198.308594 287.621094 198.308594 Z M 287.621094 198.308594 "/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="500"
height="500"
viewBox="0 0 500 500"
version="1.1"
id="svg23"
sodipodi:docname="logo.svg"
inkscape:version="1.1.1 (1:1.1+202109281949+c3084ef5ed)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs27" />
<sodipodi:namedview
id="namedview25"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
showgrid="false"
width="500px"
showguides="true"
inkscape:guide-bbox="true"
inkscape:snap-global="false"
inkscape:zoom="0.8765339"
inkscape:cx="95.832004"
inkscape:cy="148.31143"
inkscape:current-layer="svg23">
<sodipodi:guide
position="248.77835,429.24652"
orientation="1,0"
id="guide844" />
<sodipodi:guide
position="-168.89539,252.36283"
orientation="0,-1"
id="guide846" />
</sodipodi:namedview>
<g
id="surface1"
transform="matrix(1.6098689,0,0,1.6098689,-47.96469,64.699761)">
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 77.988281,48.621094 v 10.4375 h -8.292969 c -5.191406,0 -8.898437,0.574218 -11.125,1.722656 -2.222656,1.152344 -3.339843,2.839844 -3.339843,5.070312 0,1.824219 1.015625,3.308594 3.035156,4.457032 2.023437,1.148437 5.429687,1.726562 10.214844,1.726562 4.117187,0 7.957031,-0.441406 11.527343,-1.320312 3.578126,-0.878906 6.507813,-1.859375 8.796876,-2.941406 v 12.0625 c -2.488282,1.144531 -5.558594,2.09375 -9.199219,2.835937 -3.640625,0.675781 -7.71875,1.011719 -12.234375,1.011719 -9.507813,0 -16.386719,-1.480469 -20.632813,-4.457032 -4.246093,-2.972656 -6.371093,-6.925781 -6.371093,-11.855468 0,-4.054688 1.214843,-7.09375 3.640624,-9.121094 2.496094,-2.027344 5.765626,-3.414062 9.8125,-4.152344 v -0.507812 c -3.503906,-0.8125 -6.136718,-2.300782 -7.886718,-4.460938 -1.753906,-2.230468 -2.632813,-5 -2.632813,-8.3125 0,-3.511718 1.078125,-6.316406 3.238281,-8.410156 2.15625,-2.160156 5.054688,-3.71875 8.691407,-4.660156 3.640625,-0.949219 7.691406,-1.417969 12.140625,-1.417969 3.839844,0 7.683594,0.371094 11.527344,1.113281 3.839843,0.746094 7.175781,1.753906 10.011718,3.039063 l -4.65625,10.945312 C 81.828125,40.414062 79.300781,39.5 76.671875,38.691406 c -2.558594,-0.8125 -5.527344,-1.21875 -8.898437,-1.21875 -7.347657,0 -11.023438,1.726563 -11.023438,5.171875 0,2.160157 1.082031,3.714844 3.234375,4.65625 2.230469,0.882813 5.699219,1.320313 10.421875,1.320313 z m 0,0"
id="path2" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 143.21094,27.339844 V 38.691406 H 123.59375 V 65.34375 c 0,2.09375 0.60547,3.683594 1.82031,4.761719 1.21094,1.015625 2.79688,1.519531 4.75391,1.519531 1.68359,0 3.30469,-0.167969 4.85156,-0.503906 1.55469,-0.339844 3.10156,-0.742188 4.65625,-1.21875 v 11.25 c -1.48437,0.675781 -3.375,1.25 -5.66406,1.726562 -2.22656,0.539063 -4.65625,0.804688 -7.28125,0.804688 -3.44141,0 -6.54297,-0.539063 -9.30469,-1.617188 -2.69922,-1.085937 -4.85547,-2.941406 -6.46875,-5.574218 -1.62109,-2.703126 -2.42969,-6.417969 -2.42969,-11.148438 V 38.691406 H 94.671875 V 32.40625 l 8.699215,-5.066406 z m 0,0"
id="path4" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 179.51562,83.585938 c -6.60546,0 -11.76171,-1.148438 -15.47265,-3.449219 -3.64063,-2.363281 -6.20313,-5.503907 -7.6836,-9.421875 C 154.875,66.726562 154.13281,62.300781 154.13281,57.4375 V 27.339844 h 15.07031 v 30.605468 c 0,4.796876 0.875,8.273438 2.62891,10.4375 1.75391,2.09375 4.48047,3.144532 8.19141,3.144532 3.97656,0 6.94531,-1.453125 8.89843,-4.359375 1.95313,-2.90625 2.9336,-7.871094 2.9336,-14.898438 0,-4.390625 -0.33594,-8.515625 -1.01172,-12.363281 -0.60547,-3.917969 -1.44922,-8.105469 -2.53125,-12.566406 h 15.16797 c 1.15234,4.390625 1.99219,8.546875 2.53125,12.464844 0.60547,3.851562 0.91015,8.140624 0.91015,12.871093 0,10.605469 -2.32812,18.410157 -6.97656,23.40625 -4.58594,5.003907 -11.39844,7.503907 -20.42969,7.503907 z m 0,0"
id="path6" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 271.13672,27.339844 v 55.332031 h -11.42969 l -2.12109,-7.394531 h -0.70703 c -1.35157,2.765625 -3.03516,4.859375 -5.0586,6.28125 -1.95703,1.417968 -4.38281,2.125 -7.28125,2.125 -4.10937,0 -7.28125,-1.480469 -9.5039,-4.457032 h -0.30469 c 0.13672,0.675782 0.23828,1.753907 0.30469,3.242188 0.0664,1.421875 0.10156,2.90625 0.10156,4.460938 0.0664,1.621093 0.0977,3.042968 0.0977,4.257812 v 15.80859 h -15.0625 V 27.339844 h 15.0625 v 32.332031 c 0,7.96875 3.00391,11.953125 9,11.953125 4.51954,0 7.6211,-1.550781 9.30469,-4.660156 1.6875,-3.175782 2.52735,-7.703125 2.52735,-13.582032 V 27.339844 Z m 0,0"
id="path8" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 337.07031,54.902344 c 0,9.191406 -2.42969,16.285156 -7.28125,21.285156 -4.78515,5 -11.32422,7.496094 -19.62109,7.496094 -5.1211,0 -9.70703,-1.109375 -13.75,-3.339844 -3.98047,-2.234375 -7.11328,-5.476562 -9.40235,-9.730469 -2.29687,-4.324219 -3.4414,-9.558593 -3.4414,-15.710937 0,-9.1875 2.39453,-16.246094 7.17969,-21.179688 4.78515,-4.929687 11.35937,-7.394531 19.71875,-7.394531 5.19531,0 9.77734,1.113281 13.7539,3.339844 3.97656,2.230469 7.10938,5.476562 9.40625,9.730469 2.28906,4.191406 3.4375,9.359374 3.4375,15.503906 z m -38.125,0 c 0,5.476562 0.87891,9.628906 2.62891,12.46875 1.82031,2.769531 4.75,4.15625 8.80078,4.15625 3.97266,0 6.83984,-1.386719 8.59375,-4.15625 1.82031,-2.839844 2.73047,-6.992188 2.73047,-12.46875 0,-5.46875 -0.91016,-9.558594 -2.73047,-12.257813 -1.75391,-2.769531 -4.65234,-4.160156 -8.69922,-4.160156 -3.97656,0 -6.875,1.390625 -8.69531,4.160156 -1.75,2.699219 -2.62891,6.789063 -2.62891,12.257813 z m 0,0"
id="path10" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 36.929688,209.35156 60.289062,157.05859 58.570312,152.5 c -1.414062,-3.51563 -2.929687,-5.74609 -4.550781,-6.69141 -1.617187,-0.94531 -3.773437,-1.41797 -6.472656,-1.41797 -0.875,0 -1.785156,0.0664 -2.730469,0.20313 -0.875,0.13672 -1.652344,0.26953 -2.324218,0.40625 v -12.46484 c 0.945312,-0.20313 2.226562,-0.3711 3.84375,-0.50782 1.683593,-0.20312 3.132812,-0.30468 4.347656,-0.30468 4.3125,0 7.820312,0.70703 10.515625,2.1289 2.765625,1.35156 5.023437,3.34766 6.777343,5.97656 1.753907,2.63672 3.300782,5.84766 4.652344,9.62891 l 13.855469,38.20703 c 1.546875,4.1875 2.964844,6.92578 4.246094,8.20703 1.28125,1.21485 2.625,1.82813 4.042969,1.82813 0.945312,0 2.089843,-0.17188 3.441406,-0.50781 v 11.65625 c -0.8125,0.40234 -2.160156,0.73828 -4.046875,1.01171 -1.820313,0.33594 -3.371094,0.50782 -4.652344,0.50782 -4.109375,0 -7.25,-1.01563 -9.402344,-3.04297 -2.09375,-2.09375 -3.746093,-4.83203 -4.957031,-8.21094 l -4.75,-13.47656 c -0.746094,-2.16016 -1.453125,-4.25391 -2.125,-6.28125 -0.675781,-2.09766 -1.183594,-3.88281 -1.515625,-5.3711 h -0.304687 c -0.476563,1.75391 -1.046876,3.6836 -1.71875,5.77344 -0.675782,2.09375 -1.351563,3.95313 -2.027344,5.57422 L 52.5,209.35156 Z m 0,0"
id="path12" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 155.75391,181.58594 c 0,9.1875 -2.42579,16.28125 -7.28125,21.27734 -4.78516,5.00391 -11.32813,7.50391 -19.61719,7.50391 -5.125,0 -9.71094,-1.11719 -13.75781,-3.34766 -3.97266,-2.22656 -7.10938,-5.46875 -9.40235,-9.72656 -2.29297,-4.32422 -3.4375,-9.5625 -3.4375,-15.70703 0,-9.19141 2.39063,-16.25 7.17969,-21.17969 4.78516,-4.9375 11.35938,-7.40234 19.71875,-7.40234 5.19141,0 9.77734,1.11328 13.75391,3.34765 3.97656,2.22656 7.11328,5.46875 9.40234,9.72656 2.29687,4.1875 3.44141,9.35547 3.44141,15.50782 z m -38.125,0 c 0,5.46875 0.875,9.625 2.6289,12.46093 1.81641,2.77344 4.75391,4.15625 8.79688,4.15625 3.97656,0 6.84375,-1.38281 8.59765,-4.15625 1.82032,-2.83593 2.73047,-6.99218 2.73047,-12.46093 0,-5.47657 -0.91015,-9.5625 -2.73047,-12.26563 -1.7539,-2.76953 -4.65234,-4.15234 -8.69922,-4.15234 -3.97656,0 -6.8789,1.38281 -8.69531,4.15234 -1.7539,2.70313 -2.6289,6.78906 -2.6289,12.26563 z m 0,0"
id="path14" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 215.71875,154.01953 -20.42969,54.41797 c -1.00781,2.70312 -1.88281,5.57422 -2.625,8.61328 -0.74219,3.04297 -1.3164,5.98438 -1.71875,8.81641 -0.33594,2.91015 -0.50781,5.51172 -0.50781,7.80468 h -15.97656 c 0,-1.89062 0.19922,-4.2539 0.60937,-7.08984 0.46875,-2.83984 1.07813,-5.84766 1.82031,-9.02344 0.73829,-3.10547 1.57813,-6.04297 2.52344,-8.8164 l -21.03515,-54.72266 h 15.67578 l 8.08984,24.42188 c 0.60938,1.75781 1.24609,3.88671 1.92188,6.38671 0.74218,2.42969 1.38671,4.79297 1.92187,7.09375 0.53906,2.22657 0.91016,3.94922 1.11328,5.16407 h 0.30078 c 0.13672,-1.01172 0.40625,-2.4961 0.8125,-4.45703 0.46875,-2.02735 1.00782,-4.22266 1.61328,-6.58594 0.67579,-2.42969 1.38672,-4.73047 2.125,-6.89453 l 8.08985,-25.12891 z m 0,0"
id="path16" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 238.67578,154.01953 v 38 c 0,2.09766 0.60547,3.68359 1.82031,4.76563 1.21485,1.01562 2.79688,1.52343 4.75391,1.52343 1.68359,0 3.30078,-0.17187 4.85547,-0.50781 1.54687,-0.33984 3.10156,-0.74609 4.64844,-1.21875 v 11.25 c -1.48438,0.67578 -3.36719,1.25 -5.66407,1.72266 -2.22265,0.53906 -4.64843,0.8125 -7.28125,0.8125 -3.4375,0 -6.53906,-0.53907 -9.30468,-1.625 -2.69532,-1.07813 -4.85157,-2.9375 -6.46875,-5.57422 -1.61719,-2.70313 -2.42969,-6.41797 -2.42969,-11.14844 v -38 z M 226.4375,147.9375 v -1.51953 c 0.54297,-1.625 1.04687,-3.48047 1.51562,-5.57422 0.54297,-2.09375 1.04688,-4.22266 1.51954,-6.38672 0.47265,-2.15625 0.80859,-4.08594 1.01171,-5.77344 h 13.95704 v 1.21485 c -1.07813,2.63672 -2.39844,5.50781 -3.94532,8.61328 -1.55468,3.10937 -3.30468,6.25 -5.26172,9.42578 z m 0,0"
id="path18" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 283.07031,210.36719 c -6.47265,0 -11.69922,-2.39844 -15.67578,-7.19922 -3.98047,-4.85938 -5.96484,-11.95703 -5.96484,-21.27735 0,-9.46093 2.05468,-16.625 6.16406,-21.48437 4.11719,-4.86719 9.64453,-7.29688 16.58594,-7.29688 3.91406,0 7.11328,0.70704 9.60937,2.125 2.49219,1.35157 4.58594,3.41016 6.26953,6.1836 h 0.70703 c 0.33985,-1.14844 0.77344,-2.40235 1.3125,-3.75391 0.54297,-1.41797 1.21485,-2.63281 2.02344,-3.64453 h 12.4375 c -0.74219,2.16016 -1.51562,5.30078 -2.32031,9.42578 -0.8125,4.1211 -1.21484,8.44141 -1.21484,12.96875 v 15.40625 c 0,2.29688 0.40234,3.85156 1.21484,4.66016 0.87109,0.8125 1.85156,1.21875 2.92969,1.21875 0.46875,0 1.01172,-0.0664 1.62109,-0.20313 0.60547,-0.13672 1.03906,-0.23828 1.3125,-0.30468 v 11.85546 c -0.47266,0.27344 -1.44922,0.53907 -2.93359,0.8125 -1.41407,0.33594 -2.69532,0.50782 -3.83985,0.50782 -3.375,0 -6.10547,-0.60938 -8.19531,-1.82813 -2.08984,-1.21484 -3.70703,-3.375 -4.85547,-6.48437 H 299.25 c -1.48047,2.29687 -3.50781,4.25781 -6.07031,5.875 -2.5625,1.625 -5.92969,2.4375 -10.10938,2.4375 z m 4.55078,-12.0586 c 4.17969,0 7.07813,-1.2539 8.69532,-3.7539 1.6875,-2.56641 2.5625,-6.6211 2.6289,-12.16016 v -0.60937 c 0,-5.40235 -0.84375,-9.52344 -2.52734,-12.36329 -1.6211,-2.83593 -4.61719,-4.2539 -9,-4.2539 -3.57422,0 -6.23438,1.44922 -7.98828,4.35937 -1.75391,2.83203 -2.62891,6.98828 -2.62891,12.46094 0,10.875 3.60156,16.32031 10.82031,16.32031 z m 0,0"
id="path20" />
</g>
</svg>
</svg>

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -1,7 +1,33 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" width="314px" height="374px" viewBox="0 0 314 374" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 176.367188 364.683594 C 170.652344 377.105469 152.957031 377.105469 147.246094 364.683594 L 48.75 150.5 C 43.882812 139.914062 51.636719 127.851562 63.308594 127.851562 L 260.300781 127.851562 C 271.976562 127.851562 279.730469 139.914062 274.859375 150.5 Z M 176.367188 364.683594 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 313.988281 156.621094 C 313.988281 243.117188 243.703125 313.238281 157 313.238281 C 70.296875 313.238281 0.0117188 243.117188 0.0117188 156.621094 C 0.0117188 70.121094 70.296875 0 157 0 C 243.703125 0 313.988281 70.121094 313.988281 156.621094 Z M 313.988281 156.621094 "/>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="314px"
height="374px"
viewBox="0 0 314 374"
version="1.1"
id="svg7"
sodipodi:docname="pin.svg"
inkscape:version="1.1.1 (1:1.1+202109281949+c3084ef5ed)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs11" />
<sodipodi:namedview
id="namedview9"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="1.2453722"
inkscape:cx="172.23766"
inkscape:cy="241.69481"
inkscape:current-layer="svg7" />
<path
id="path2"
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 157 0 C 70.296875 1.8947806e-14 0.01171875 70.121098 0.01171875 156.62109 C 0.01171875 231.01726 52.025471 293.25325 121.74219 309.22266 L 147.24609 364.68359 C 152.95703 377.10547 170.65234 377.10547 176.36719 364.68359 L 203.19922 306.33398 C 267.35183 286.6535 313.98828 227.07489 313.98828 156.62109 C 313.98828 70.121098 243.70312 0 157 0 z " />
</svg>

Before

Width:  |  Height:  |  Size: 935 B

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -5,11 +5,11 @@
"nl": "Fietsverhuur"
},
"shortDescription": {
"en": "A map with biyccle rental stations and bicycle rental shops",
"en": "A map with bicycle rental stations and bicycle rental shops",
"nl": "Een kaart met fietsverhuurpunten en fietsverhuurzaken"
},
"description": {
"en": "On this map, you'll find the many biycle rental stations as they are known by OpenStreetMap",
"en": "On this map, you'll find the many bicycle rental stations as they are known by OpenStreetMap",
"nl": "Op deze kaart vind je verschillende fietsverhuurpunten en fietsverhuurzaken"
},
"maintainer": "",

View file

@ -221,7 +221,7 @@
},
{
"if": "theme=notes",
"then": "./assets/svg/resolved.svg"
"then": "./assets/themes/notes/logo.svg"
},
{
"if": "theme=observation_towers",

View file

@ -13,10 +13,10 @@
"en": "A note is a pin on the map with some text to indicate something wrong.<br/><br/>Make sure to checkout the <a href='#filters'>filter view</a> to search for users and text.",
"hu": "A jegyzet egy gombostű a térképen egy szöveggel, amely azt jelzi, hogy valami nem stimmel.<br/><br/>Felhasználók vagy szövegek kereséséhez nézd meg a <a href='#filters'>szűrő nézetet</a>."
},
"icon": "./assets/svg/resolved.svg",
"icon": "./assets/themes/notes/logo.svg",
"clustering": false,
"enableDownload": true,
"layers": [
"note"
]
}
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -0,0 +1 @@
<svg id="Laag_1" data-name="Laag 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 141.73 141.73"><defs><style>.cls-1{fill:#3c3d3c;}.cls-2{fill:#fff;}</style></defs><circle class="cls-1" cx="70.87" cy="70.87" r="70.87"/><path class="cls-2" d="M70.05,66.16a1.74,1.74,0,0,0-1.74,1.74v4.17a1.74,1.74,0,0,0,3.48,0V67.9A1.74,1.74,0,0,0,70.05,66.16Z"/><path class="cls-2" d="M99.7,67.5c-5.91-1.63-10.29-.45-12.33,3.33-3.8,7,1.65,14,6.46,20.21,2.74,3.5,5.32,6.82,5.76,9.54a4.54,4.54,0,0,1-.84,3.94c-2.27,2.59-8.36,2.43-11,2.36l-.73,0-1.84,0H85c-.71,0-1.31,0-3.1-.06l-4.66-.06v-27l.12-.12a10.46,10.46,0,0,0,0-15.06l-.12-.12V56.24a7,7,0,0,0-5.57-6.86l-.32-.07V23h13V20.29H55.73V23h13V49.21H62.82V64.42l-.13.12a10.48,10.48,0,0,0,0,15.06l.13.12V116H54.66v2.69H85.44V116H77.28v-6.59h.15l4.48.05c1.88,0,2.47,0,3.09.07l2,0,.89,0c.58,0,1.2,0,1.89,0,5.44,0,9-1.08,11-3.31a7.13,7.13,0,0,0,1.47-6.14c-.55-3.39-3.34-7-6.29-10.76-4.51-5.8-9.19-11.79-6.22-17.29,1.39-2.57,4.5-3.3,9-2.11l.43.11-.36,1,5.57,2,1.14-4.48-5.15-1.86-.3.83ZM65.5,51.89h4.75a4.35,4.35,0,0,1,4.35,4.35v6.32L74,62.33a10.26,10.26,0,0,0-8,0l-.55.23ZM74.6,116H65.5V81.58l.55.23a10.35,10.35,0,0,0,8,0l.56-.23Zm-4.55-36a7.87,7.87,0,1,1,7.87-7.87A7.88,7.88,0,0,1,70.05,79.94Z"/><path class="cls-2" d="M40.74,112.55a14.49,14.49,0,0,1-5.77-1.2,1.25,1.25,0,0,1-.73-.92,1.26,1.26,0,0,1,.34-1.12l6.69-6.69-5.18-5.18-6.69,6.69a1.23,1.23,0,0,1-1.12.35,1.25,1.25,0,0,1-.91-.74A14.25,14.25,0,0,1,46.19,85l9.11-9.1a1.25,1.25,0,0,1,1.76,1.77l-9.72,9.72a1.25,1.25,0,0,1-1.46.23A11.75,11.75,0,0,0,29,101l6.17-6.16a1.24,1.24,0,0,1,1.76,0l7,6.95a1.25,1.25,0,0,1,0,1.77l-6.16,6.16A11.74,11.74,0,0,0,51.11,92.83a1.25,1.25,0,0,1,.23-1.45l6.74-6.74a1.25,1.25,0,0,1,1.76,1.77l-6.11,6.11a14.25,14.25,0,0,1-13,20Z"/><path class="cls-2" d="M81.76,64a1.21,1.21,0,0,1-.88-.37,1.24,1.24,0,0,1,0-1.76l8.63-8.63A1.23,1.23,0,0,1,91,53a11.81,11.81,0,0,0,13.79-2.1,11.68,11.68,0,0,0,3-11.25l-6.16,6.16a1.25,1.25,0,0,1-1.77,0l-7-6.95a1.25,1.25,0,0,1,0-1.77l6.16-6.16A11.75,11.75,0,0,0,85.73,47.75a1.24,1.24,0,0,1-.22,1.45l-3.87,3.87a1.25,1.25,0,1,1-1.77-1.77l3.24-3.24a14.26,14.26,0,0,1,18.77-18.83,1.27,1.27,0,0,1,.73.92,1.22,1.22,0,0,1-.35,1.11L95.57,38l5.19,5.18,6.69-6.69a1.23,1.23,0,0,1,1.12-.35,1.28,1.28,0,0,1,.91.74A14.25,14.25,0,0,1,90.65,55.6l-8,8A1.25,1.25,0,0,1,81.76,64Z"/></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -7,7 +7,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -18,7 +18,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -29,7 +29,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -40,7 +40,29 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
"path": "cycle_repair.svg",
"license": "CC0",
"authors": [
"Toerisme Vlaanderen"
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
"path": "cycle_repair_and_pump.svg",
"license": "CC0",
"authors": [
"Toerisme Vlaanderen"
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -51,7 +73,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -62,7 +84,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -73,7 +95,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -84,7 +106,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -95,7 +117,7 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
@ -106,7 +128,18 @@
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderenn"
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
"path": "toilets_wheelchair.svg",
"license": "CC0",
"authors": [
"Toerisme Vlaanderen"
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
}
]

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.5 KiB

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 141.73 141.73"><defs><style>.cls-1{fill:#fff;}.cls-2{fill:#3c3d3c;}</style></defs><g id="Laag_2" data-name="Laag 2"><circle class="cls-1" cx="70.87" cy="70.87" r="70.87"/><path class="cls-2" d="M70.05,66.16a1.74,1.74,0,0,0-1.74,1.74v4.17a1.74,1.74,0,0,0,3.48,0V67.9A1.74,1.74,0,0,0,70.05,66.16Z"/><path class="cls-2" d="M99.7,67.5c-5.91-1.63-10.29-.45-12.33,3.33-3.8,7,1.65,14,6.46,20.21,2.74,3.5,5.32,6.82,5.76,9.54a4.54,4.54,0,0,1-.84,3.94c-2.27,2.59-8.36,2.43-11,2.37l-.73,0-1.84,0H85c-.71,0-1.31,0-3.1-.06l-4.66-.06v-27l.12-.12a10.46,10.46,0,0,0,0-15.06l-.12-.12V56.24a7,7,0,0,0-5.57-6.86l-.32-.07V23h13V20.29H55.73V23h13V49.21H62.82V64.42l-.13.12a10.48,10.48,0,0,0,0,15.06l.13.12V116H54.66v2.69H85.44V116H77.28v-6.59h.15l4.48.05c1.88,0,2.47,0,3.09.07l2,0,.89,0c.58,0,1.2,0,1.89,0,5.44,0,9-1.08,11-3.31a7.13,7.13,0,0,0,1.47-6.14c-.55-3.39-3.34-7-6.29-10.76-4.51-5.8-9.18-11.79-6.22-17.29,1.39-2.57,4.5-3.3,9-2.11l.43.11-.36,1,5.57,2,1.14-4.48-5.15-1.86-.3.83ZM65.5,51.89h4.75a4.35,4.35,0,0,1,4.35,4.35v6.32L74,62.33a10.26,10.26,0,0,0-8,0l-.55.23ZM74.6,116H65.5V81.58l.55.23a10.35,10.35,0,0,0,8,0l.56-.23Zm-4.55-36a7.87,7.87,0,1,1,7.87-7.87A7.88,7.88,0,0,1,70.05,79.94Z"/><path class="cls-2" d="M40.74,112.55a14.53,14.53,0,0,1-5.77-1.2,1.25,1.25,0,0,1-.73-.92,1.26,1.26,0,0,1,.34-1.12l6.69-6.69-5.18-5.18-6.69,6.69a1.23,1.23,0,0,1-1.12.35,1.25,1.25,0,0,1-.91-.74A14.25,14.25,0,0,1,46.19,85l9.11-9.1a1.25,1.25,0,0,1,1.76,1.77l-9.72,9.72a1.25,1.25,0,0,1-1.46.23A11.75,11.75,0,0,0,29,101l6.17-6.16a1.24,1.24,0,0,1,1.76,0l7,6.95a1.25,1.25,0,0,1,0,1.77l-6.16,6.16A11.74,11.74,0,0,0,51.11,92.83a1.25,1.25,0,0,1,.23-1.45l6.74-6.74a1.25,1.25,0,0,1,1.76,1.77l-6.11,6.11a14.25,14.25,0,0,1-13,20Z"/><path class="cls-2" d="M81.76,64a1.21,1.21,0,0,1-.88-.37,1.24,1.24,0,0,1,0-1.76l8.63-8.63A1.23,1.23,0,0,1,91,53a11.81,11.81,0,0,0,13.79-2.1,11.68,11.68,0,0,0,3-11.25l-6.16,6.16a1.25,1.25,0,0,1-1.77,0l-7-6.95a1.25,1.25,0,0,1,0-1.77l6.16-6.16A11.75,11.75,0,0,0,85.73,47.75a1.24,1.24,0,0,1-.22,1.45l-3.87,3.87a1.25,1.25,0,0,1-1.77,0,1.27,1.27,0,0,1,0-1.77l3.24-3.24a14.26,14.26,0,0,1,18.77-18.83,1.27,1.27,0,0,1,.73.92,1.24,1.24,0,0,1-.34,1.11L95.57,38l5.19,5.18,6.69-6.69a1.23,1.23,0,0,1,1.12-.35,1.28,1.28,0,0,1,.91.74A14.25,14.25,0,0,1,90.65,55.6l-8,8A1.25,1.25,0,0,1,81.76,64Z"/></g></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -73,6 +73,28 @@
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
"path": "cycle_repair.svg",
"license": "CC0",
"authors": [
"Toerisme Vlaanderen"
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
"path": "cycle_repair_and_pump.svg",
"license": "CC0",
"authors": [
"Toerisme Vlaanderen"
],
"sources": [
"https://toerismevlaanderen.be/pinjepunt",
"https://mapcomplete.osm.be/toerisme_vlaanderen"
]
},
{
"path": "logo.png",
"license": "Logo (all rights reserved)",

View file

@ -2,9 +2,8 @@
"id": "toerisme_vlaanderen",
"credits": "Commissioned theme for <a href='https://www.toerismevlaanderen.be/'>Toerisme Vlaandere</a>",
"maintainer": "MapComplete",
"version": "0.0.2",
"version": "0.0.3",
"customCss": "./assets/themes/toerisme_vlaanderen/custom.css",
"defaultBackgroundId": "CartoDB.Voyager",
"mustHaveLanguage": [
"nl"
],
@ -109,7 +108,21 @@
"centroid"
],
"icon": {
"render": "./assets/themes/toerisme_vlaanderen/cycle_pump.svg"
"render": "./assets/themes/toerisme_vlaanderen/cycle_pump.svg",
"mappings":[
{
"if": {"and":
["service:bicycle:tools=yes","service:bicycle:pump=yes"]
},
"then": "./assets/themes/toerisme_vlaanderen/cycle_repair_and_pump.svg"
},
{
"if": {"and":
["service:bicycle:tools=yes","service:bicycle:pump=no"]
},
"then": "./assets/themes/toerisme_vlaanderen/cycle_repair.svg"
}
]
},
"badges": [
{

View file

@ -3448,29 +3448,29 @@
}
},
"picnic_table": {
"description": "Deze laag toont picknicktafels",
"name": "Picknicktafels",
"description": "Deze laag toont picnictafels",
"name": "Picnictafels",
"presets": {
"0": {
"title": "picknicktafel"
"title": "picnic-tafel"
}
},
"tagRenderings": {
"picnic_table-material": {
"mappings": {
"0": {
"then": "Deze picknicktafel is gemaakt uit hout"
"then": "Deze picnictafel is gemaakt uit hout"
},
"1": {
"then": "Deze picknicktafel is gemaakt uit beton"
"then": "Deze picnictafel is gemaakt uit beton"
}
},
"question": "Van welk materiaal is deze picknicktafel gemaakt?",
"render": "Deze picknicktafel is gemaakt van {material}"
"question": "Van welk materiaal is deze picnictafel gemaakt?",
"render": "Deze picnictafel is gemaakt van {material}"
}
},
"title": {
"render": "Picknicktafel"
"render": "Picnictafel"
}
},
"play_forest": {

View file

@ -13,8 +13,8 @@
"title": "Benches"
},
"bicycle_rental": {
"description": "On this map, you'll find the many biycle rental stations as they are known by OpenStreetMap",
"shortDescription": "A map with biyccle rental stations and bicycle rental shops",
"description": "On this map, you'll find the many bicycle rental stations as they are known by OpenStreetMap",
"shortDescription": "A map with bicycle rental stations and bicycle rental shops",
"title": "Bicycle rental"
},
"bicyclelib": {

View file

@ -70,16 +70,6 @@ async function createManifest(layout: LayoutConfig, alreadyWritten: string[]) {
const height: string = svg.$.height;
if(width !== height){
console.warn("WARNING: the icon for theme "+layout.id+" is not square. Please square the icon at "+icon+"\n Width = "+width, "height =", height)
/* const process = exec("inkscape " + icon, ((error, stdout, stderr) => {
console.log("Inkscape: ", stdout)
if (error !== null) {
console.error(error)
}
if (stderr !== "") {
console.error(stderr)
}
}))//*/
}
const builder = new xml2js.Builder();