-
Notifications
You must be signed in to change notification settings - Fork 130
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
cannot hide instructions #101
Comments
Hi @rolandoldengarm - you're correct. This was my fault in the recent 3.x updates. I'll try and get a fix out soon! |
|
@rolandoldengarm |
Is it possible to hide/show the instructions after the directions control has been added to the map? |
Btw, I solved the dynamic hide/show of instructions with the following;
|
As per the instructions, I want to hide the inputs and instructions:
However, the instructions are not hidden.
An if statement is missing here: https://github.com/mapbox/mapbox-gl-directions/blob/master/src/directions.js#L54
The text was updated successfully, but these errors were encountered: