diff options
| author | Teddy Wing | 2018-03-12 12:28:19 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-03-23 17:16:43 +0100 |
| commit | 8361cf53afc52da76377a00c90854ae95eeaed03 (patch) | |
| tree | 6df27cf18b20eef191b5574707566fd004214b5b /spec/javascript/time_table | |
| parent | f1594a97c37509eb218a0336ae6d0ddaef9ddd71 (diff) | |
| download | chouette-core-8361cf53afc52da76377a00c90854ae95eeaed03.tar.bz2 | |
TomTom#batch: Populate WayCosts with distance & time from API
Look through the API response from `/batch` and extract the distance &
time values given to us by TomTom. These are inserted in the `WayCost`s
given to use in the argument to `#batch`.
At the end, we get a list of `WayCost`s that are completely filled with
distance & time values.
We need to split up this code a bit to make it more testable, but
already this seems to function correctly.
Refs #6095
Diffstat (limited to 'spec/javascript/time_table')
0 files changed, 0 insertions, 0 deletions
