summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Lundblad <ml@update.uu.se>2020-02-11 22:20:18 +0100
committerMarcus Lundblad <ml@update.uu.se>2020-02-11 22:20:18 +0100
commitc346bb247de88096144da9b9014e3f541d747783 (patch)
tree5c000c8f7bb088ac3d2a384e2863b08c737bde18
parentabf9dd67d5c28baa1b957760576437e36032e031 (diff)
downloadgnome-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.js2
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: