Add support for annotations=distances in MLD
This commit brings feature parity with CH for the `table` pluging.
This commit is contained in:
committed by
Patrick Niklaus
parent
1a1293608d
commit
2a15e6dec8
@@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user