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

Error when using provided example #4

Open
Sanafan opened this issue Feb 8, 2019 · 0 comments
Open

Error when using provided example #4

Sanafan opened this issue Feb 8, 2019 · 0 comments

Comments

@Sanafan
Copy link

Sanafan commented Feb 8, 2019

When i use the example you gave, i'm getting an error inside my hmAPI.matrixRouting() function.

{ Error: {"_type":"ns2:RoutingServiceErrorType","type":"ApplicationError","subtype":"InvalidInputData","details":"Input parameter validation failed. Must specify at least two waypoints: (start, dest)","additionalData":[{"key":"waypoint","value":""}],"metaInfo":{"timestamp":"2019-02-08T07:50:54Z","mapVersion":"8.30.92.153","moduleVersion":"7.2.201902-1480","interfaceVersion":"2.6.34","availableMapVersion":["8.30.92.153"]}}

These are my matrixRoutingParams:

let matrixRoutingParams = { start0: "25.6586716,-100.3583278", destination0: "25.6522234,-100.2942806", mode: "fastest;car;traffic:enabled;" // this mode is set by default };

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