-
Notifications
You must be signed in to change notification settings - Fork 148
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
Problem with buildUrl function and waypoints #49
Comments
I dig more and the problem is with querystring.stringify(). This is the google maps url example with waypoints: |
I saw the new version file and has the same problem, anyone? |
@leandroz I am working on a new branch where I tried to add a simple sanity check (not completed) that checks what happens passing waypoints to this is the There is nothing bad with that URI as HTTP encoding is a standard well understood by web servers. The sanity check passes in the branch. Please feel free to extend that check to make it fail. |
@leandroz The v1.0.0 of the library is published on npm and merged into master, feel free to check if this is still an issue and update this page |
The buildUrl function is not working well when the direction service is called with the waypoints parameter, the path after calling 'path = buildUrl(path, args)' is like this:
/maps/api/directions/json?origin=Vuelta%20de%20Haedo%20-%20Avenida%20Rivadavia%2C%20Haedo%2C%20Buenos%20Aires%2C%20Argentina&destination=Vuelta%20de%20Haedo%20-%20Avenida%20Rivadavia%2C%20Haedo%2C%20Buenos%20Aires%2C%20Argentina&waypoints=&waypoints=&language=es&sensor=false
The text was updated successfully, but these errors were encountered: