diff options
author | Marcus Lundblad <ml@update.uu.se> | 2020-03-21 14:36:00 +0100 |
---|---|---|
committer | Marcus Lundblad <ml@update.uu.se> | 2020-03-21 14:36:00 +0100 |
commit | 9b610c2d114c929fc2da5a7d0cd4500b51150737 (patch) | |
tree | 8c988ca5d9bbc44a628ffe41fa4e61f5c91e2c16 /src | |
parent | 94d9098cfd69e516e648b6f7500106bdb411b844 (diff) | |
download | gnome-maps-9b610c2d114c929fc2da5a7d0cd4500b51150737.tar.gz |
transitPlan: Add additional transit types
There's a couple of additional types defined
for the "basic" route types that we are missing.
See: https://developers.google.com/transit/gtfs/reference/#routestxt
Diffstat (limited to 'src')
-rw-r--r-- | src/transitPlan.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/transitPlan.js b/src/transitPlan.js index a63c07eb..d4331a9f 100644 --- a/src/transitPlan.js +++ b/src/transitPlan.js @@ -63,7 +63,11 @@ var RouteType = { /* Funicular referres to a railway system designed for steep inclines, * https://en.wikipedia.org/wiki/Funicular */ - FUNICULAR: 7 + FUNICULAR: 7, + /* Electric buses that draw power from overhead wires using poles. */ + TROLLEYBUS: 11, + /* Railway in which the track consists of a single rail or a beam. */ + MONORAIL: 12 }; /* extra time to add to the first itinerary leg when it's a walking leg */ |