Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add maxTransfers to configuration #47

Open
gerbsen opened this issue Feb 8, 2018 · 2 comments
Open

Add maxTransfers to configuration #47

gerbsen opened this issue Feb 8, 2018 · 2 comments
Assignees

Comments

@gerbsen
Copy link
Contributor

gerbsen commented Feb 8, 2018

Short summary:
The new option is maxTransfers in the transit travel options. If the option is not present, the amount of transfers is unlimited. The option is ignored for other travel modes.

Valid values: [0..127]

Example:

...
  "sources": [
    {
      "lng": -73.976636,
      "id": "id1",
      "lat": 40.608155,
      "tm": {
        "transit": {
          "recommendations": 0,
          "frame": {
            "date": 20161020,
            "duration": 18000,
            "time": 55852
          },
          "maxTransfers": 2
        }
      }
    }
...
@abenrob
Copy link
Contributor

abenrob commented Feb 9, 2018

@gerbsen this is for all requests (polygon, route and time)?

@gerbsen
Copy link
Contributor Author

gerbsen commented Feb 9, 2018

Oui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants