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

DirectionsRequest "optimizeWaypoints" always true #167

Open
MauriFont opened this issue Aug 6, 2018 · 0 comments
Open

DirectionsRequest "optimizeWaypoints" always true #167

MauriFont opened this issue Aug 6, 2018 · 0 comments

Comments

@MauriFont
Copy link
Contributor

In DirectionsRequest the method setOpt() is useless since the string is generated when the object is created thus calling setOpt(false) does nothing and "optimizeWaypoints" will always be true since is the default value.

Solution would be to overload the constructor, even more. I don't pull a request because It would bother some users or there would be too much constructors.

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