Skip to content

Commit

Permalink
Add railway:switch field to railway=switch preset (#1084)
Browse files Browse the repository at this point in the history
  • Loading branch information
gy-mate authored Jan 31, 2024
1 parent 075527f commit dacbd27
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions data/fields/railway/switch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"key": "railway:switch",
"type": "combo",
"label": "Switch Type",
"strings": {
"options": {
"default": "Normal Switch",
"double_slip": "Double-slip Switch",
"single_slip": "Single-slip Switch",
"wye": "Wye Switch",
"three_way": "Three-way Switch",
"abt": "Abt Switch"
}
},
"autoSuggestions": false,
"customValues": true
}
1 change: 1 addition & 0 deletions data/presets/railway/switch.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"icon": "temaki-junction",
"fields": [
"railway/switch",
"ref"
],
"geometry": [
Expand Down

0 comments on commit dacbd27

Please sign in to comment.