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

Update allowed annotations for getDirections() method #435

Open
niekvb opened this issue Apr 14, 2022 · 0 comments
Open

Update allowed annotations for getDirections() method #435

niekvb opened this issue Apr 14, 2022 · 0 comments

Comments

@niekvb
Copy link

niekvb commented Apr 14, 2022

According to the API specification the getDirections() request should allow the following, additional, annotations:

  • congestion_numeric
  • maxspeed (beta)
  • closure

Doing so will currently throw the following exception in SDK version 0.13.3:

Uncaught (in promise) Error: Item at position annotations.0 must be "duration", "distance", "speed", or "congestion".
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

1 participant