Waypoint objects have - name - location - hint fields. The only API adding `distance` to waypoints is the Nearest plugin. And it documents this behavior independently. The docs are wrong here from what I can tell. See: - https://github.com/Project-OSRM/osrm-backend/blob/5.5/src/engine/api/json_factory.cpp#L290-L297 - https://github.com/Project-OSRM/osrm-backend/blob/5.5/include/engine/api/nearest_api.hpp#L37-L44 |
||
---|---|---|
.. | ||
images | ||
src | ||
developing.md | ||
http.md | ||
libosrm.md | ||
profiles.md | ||
releasing.md | ||
routed.md | ||
testing.md |