return speed annotations

This commit is contained in:
karenzshea
2017-02-09 19:37:56 +01:00
committed by Patrick Niklaus
parent 1ed1bae249
commit 921ff43acf
6 changed files with 34 additions and 9 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ module.exports = function () {
// if header matches 'a:*', parse out the values for *
// and return in that header
headers.forEach((k) => {
let whitelist = ['duration', 'distance', 'datasources', 'nodes', 'weight'];
let whitelist = ['duration', 'distance', 'datasources', 'nodes', 'weight', 'speed'];
if (k.match(/^a:/)) {
let a_type = k.slice(2);
if (whitelist.indexOf(a_type) == -1)