Switch order of from/to fields in route presets (re: #7479)

Add Trolleybus Route preset (re: #7498)
Remove Level field from Stop Position presets (close #7499)
Add Stop Number field to transit platform-as-point presets (close #7492)
Add Distance and Color fields to more route presets
Use field inheritance for several more route presets
This commit is contained in:
Quincy Morgan
2020-04-03 11:00:16 -07:00
parent d16aa01afd
commit 06f487140d
22 changed files with 108 additions and 55 deletions
+1
View File
@@ -209,6 +209,7 @@ export function uiPresetIcon() {
const routeSegments = {
bicycle: ['highway/cycleway', 'highway/cycleway', 'highway/cycleway'],
bus: ['highway/unclassified', 'highway/secondary', 'highway/primary'],
trolleybus: ['highway/unclassified', 'highway/secondary', 'highway/primary'],
detour: ['highway/tertiary', 'highway/residential', 'highway/unclassified'],
ferry: ['route/ferry', 'route/ferry', 'route/ferry'],
foot: ['highway/footway', 'highway/footway', 'highway/footway'],