Feature(distancePicker): revive geographical distance picker

This commit is contained in:
Pieter Vander Vennet 2025-04-08 02:42:30 +02:00
parent e997653284
commit 5095bffc50
16 changed files with 245 additions and 107 deletions

View file

@ -494,6 +494,7 @@
"id": "Cycle barrier type"
},
{
"id": "MaxWidth",
"render": {
"en": "Maximum width: {maxwidth:physical} m",
"nl": "Maximumbreedte: {maxwidth:physical} m",
@ -532,12 +533,11 @@
"freeform": {
"key": "maxwidth:physical",
"type": "distance",
"helperArgs": [
"20",
"map"
]
},
"id": "MaxWidth"
"helperArgs": {
"zoom": 20,
"background": "map"
}
}
},
{
"render": {
@ -575,10 +575,10 @@
"freeform": {
"key": "width:separation",
"type": "distance",
"helperArgs": [
"21",
"map"
]
"helperArgs": {
"zoom": 21,
"background": "map"
}
},
"id": "Space between barrier (cyclebarrier)"
},
@ -618,10 +618,10 @@
"freeform": {
"key": "width:opening",
"type": "distance",
"helperArgs": [
"21",
"map"
]
"helperArgs": {
"zoom": 21,
"background": "map"
}
},
"id": "Width of opening (cyclebarrier)"
},
@ -661,10 +661,10 @@
"freeform": {
"key": "overlap",
"type": "distance",
"helperArgs": [
"21",
"map"
]
"helperArgs": {
"zoom": 21,
"background": "map"
}
},
"id": "Overlap (cyclebarrier)"
}

View file

@ -1283,10 +1283,10 @@
"freeform": {
"key": "width",
"type": "distance",
"helperArgs": [
"20",
"map"
]
"helperArgs": {
"zoom": 20,
"background": "map"
}
},
"question": {
"en": "What is the carriage width of this road (in meters)?",
@ -1808,10 +1808,10 @@
"freeform": {
"key": "cycleway:buffer",
"type": "distance",
"helperArgs": [
"20",
"map"
]
"helperArgs": {
"background": "map",
"zoom": 20
}
},
"id": "cycleways_and_roads-cycleway:buffer"
},

View file

@ -69,10 +69,10 @@
"freeform": {
"key": "width:carriageway",
"type": "distance",
"helperArgs": [
21,
"map"
]
"helperArgs": {
"zoom": 21,
"background": "map"
}
}
},
{