Project-OSRM/node-osrm

Wrap: Trip with Fixed Start and End points (TFSE)

daniel-j-h opened this issue · 1 comments

TFSE needs to be implemented in the node-osrm plugin.
Re-using the existing Trip function should be possible.

Upstream

API

  • coordinates
  • source {first|any} first implies source = coordinates[0]
  • destination {last|any} last implies destination = coordinates[coordinates.size() - 1]
  • roundtrip {false|true}

Tasks:

  • node_osrm.cpp adapt comments
  • node_osrm_support.hpp parse into TripParameters
  • docs/api.md adapt, add example
  • trip.js tests

This was done in #296.