Skip to content

Commit dacbd27

Browse files
authored
Add railway:switch field to railway=switch preset (#1084)
1 parent 075527f commit dacbd27

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

data/fields/railway/switch.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"key": "railway:switch",
3+
"type": "combo",
4+
"label": "Switch Type",
5+
"strings": {
6+
"options": {
7+
"default": "Normal Switch",
8+
"double_slip": "Double-slip Switch",
9+
"single_slip": "Single-slip Switch",
10+
"wye": "Wye Switch",
11+
"three_way": "Three-way Switch",
12+
"abt": "Abt Switch"
13+
}
14+
},
15+
"autoSuggestions": false,
16+
"customValues": true
17+
}

data/presets/railway/switch.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"icon": "temaki-junction",
33
"fields": [
4+
"railway/switch",
45
"ref"
56
],
67
"geometry": [

0 commit comments

Comments
 (0)