diff options
| author | Teddy Wing | 2018-03-09 17:04:44 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-03-14 16:38:39 +0100 |
| commit | 8f659c096470d97cc4a41596b37d1f629c96e25b (patch) | |
| tree | 0748eb1405dc2fd4cdb9a3f23605f81b122bf97d | |
| parent | 35e6d2691ddd06041ad8c55a850651a895dcbe0f (diff) | |
| download | chouette-core-8f659c096470d97cc4a41596b37d1f629c96e25b.tar.bz2 | |
TomTom: Use travelMode='bus'
For now, hard-code 'bus' as the travel mode. This feature is currently
only going to be used for Ouibus, so we want to be able to request in
'bus' mode, but for now don't have time to think about how to make it
more extensible to other travel modes and operators.
Refs #6095
| -rw-r--r-- | lib/tom_tom.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tom_tom.rb b/lib/tom_tom.rb index d5cdb15a4..60472c3be 100644 --- a/lib/tom_tom.rb +++ b/lib/tom_tom.rb @@ -16,7 +16,7 @@ class TomTom def batch(way_costs) params = URI.encode_www_form({ - travelMode: 'car', + travelMode: 'bus', routeType: 'shortest', traffic: 'true', departAt: 'now', |
