Add support for annotations=distances in MLD

This commit brings feature parity with CH for the `table` pluging.
This commit is contained in:
Kajari Ghosh
2018-04-07 22:20:59 -04:00
committed by Patrick Niklaus
parent 1a1293608d
commit 2a15e6dec8
13 changed files with 793 additions and 115 deletions
+1 -2
View File
@@ -225,8 +225,7 @@ tables.forEach(function(annotation) {
annotations: [annotation.slice(0,-1)]
};
osrm.table(options, function(err, response) {
if (annotation === 'durations') assert.equal(response[annotation].length, 2);
else assert.error(response, 'NotImplemented');
assert.equal(response[annotation].length, 2);
});
});
});