diff options
author | Marcus Lundblad <ml@update.uu.se> | 2020-02-11 22:20:18 +0100 |
---|---|---|
committer | Marcus Lundblad <ml@update.uu.se> | 2020-02-11 22:20:18 +0100 |
commit | c346bb247de88096144da9b9014e3f541d747783 (patch) | |
tree | 5c000c8f7bb088ac3d2a384e2863b08c737bde18 | |
parent | abf9dd67d5c28baa1b957760576437e36032e031 (diff) | |
download | gnome-maps-c346bb247de88096144da9b9014e3f541d747783.tar.gz |
opendataCH: Add additional category code for bus
Category code "B" is also being used for bus.
-rw-r--r-- | src/transitplugins/opendataCH.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transitplugins/opendataCH.js b/src/transitplugins/opendataCH.js index 501a47f7..62fb972f 100644 --- a/src/transitplugins/opendataCH.js +++ b/src/transitplugins/opendataCH.js @@ -55,6 +55,7 @@ const Transportations = { */ const Category = { // bus + B: 'B', NFB: 'NFB', NFO: 'NFO', BUS: 'BUS', @@ -320,6 +321,7 @@ var OpendataCH = class OpendataCH { _getHVTCodeFromCategory(category) { switch (category) { + case Category.B: case Category.BUS: case Category.NFB: case Category.NFO: |