[gnome-maps] opendataCH: Add additional category code for bus



commit c346bb247de88096144da9b9014e3f541d747783
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Feb 11 22:20:18 2020 +0100

    opendataCH: Add additional category code for bus
    
    Category code "B" is also being used for bus.

 src/transitplugins/opendataCH.js | 2 ++
 1 file changed, 2 insertions(+)
---
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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]