New feature: max distance constraint

You can now assign a max distance to your vehicles. Just add max_distance (in meters) to your vehicle specification like this:

vehicles": [
    {
      "vehicle_id": "my_vehicle",
      "start_address": {
        "location_id": "berlin",
        "lon": 13.406,
        "lat": 52.537
      },
      "max_distance":100000
    }
]

This means that this vehicle cannot go more than 100km (or 100000m). It is a beta feature, therefore you cannot find it in the official documentation yet.

1 Like

Can we add this to the documentation or still too unstable?

I just add this to the doc.

1 Like