Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flashing_lights field #449

Merged
merged 2 commits into from
May 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions data/fields/flashing_lights.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"key": "flashing_lights",
"type": "combo",
"label": "Flashing Lights",
"strings": {
"options": {
"button": {
"title": "Button activated",
"description": "Lights activated by pressing a button"
},
"always": {
"title": "Always flashing",
"description": "Lights are always flashing"
},
"sensor": {
"title": "Sensor activated",
"description": "Lights activated by a sensor"
},
"button;sensor": {
"title": "Button and sensor activated",
"description": "Lights activated by a sensor or by pressing a button"
},
"no": "No",
"yes": "Yes"
}
},
"autoSuggestions": false,
"customValues": false
}
3 changes: 3 additions & 0 deletions data/presets/highway/crossing/marked.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"crossing/island",
"crossing_raised"
],
"moreFields": [
"flashing_lights"
],
"geometry": [
"vertex"
],
Expand Down
3 changes: 3 additions & 0 deletions data/presets/highway/crossing/unmarked.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"crossing/island",
"crossing_raised"
],
"moreFields": [
"flashing_lights"
],
"geometry": [
"vertex"
],
Expand Down
3 changes: 3 additions & 0 deletions data/presets/highway/footway/marked.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"crossing/island",
"crossing_raised"
],
"moreFields": [
"flashing_lights"
],
"geometry": [
"line"
],
Expand Down
3 changes: 3 additions & 0 deletions data/presets/highway/footway/unmarked.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"crossing/island",
"crossing_raised"
],
"moreFields": [
"flashing_lights"
],
"geometry": [
"line"
],
Expand Down