Replace tunnel_waterway combo with structure_water radio

(closes #4384)

- adds the `layer` field so it works like the structure field on highways
- also defaults the tunnel type to `culvert` for waterways
- also fixed so that `layer` gets removed if user changes types or clicks delete
This commit is contained in:
Bryan Housel
2017-10-02 11:24:59 -04:00
parent 7376787c44
commit 2b47ac4b3e
12 changed files with 70 additions and 32 deletions
@@ -0,0 +1,13 @@
{
"type": "structureRadio",
"keys": [
"tunnel"
],
"label": "Structure",
"placeholder": "Unknown",
"strings": {
"options": {
"tunnel": "Tunnel"
}
}
}
-5
View File
@@ -1,5 +0,0 @@
{
"key": "tunnel",
"type": "combo",
"label": "Tunnel"
}