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

Show the profile switcher but not the Input field saying Choose starting place, and choose destination. #263

Open
aasutossh opened this issue Sep 6, 2020 · 3 comments

Comments

@aasutossh
Copy link

aasutossh commented Sep 6, 2020

controls: {
          profileSwitcher: true,
          inputs: false,
          // instructions: false,
        },

disables the profile switcher too.

@aasutossh
Copy link
Author

So, I did a bit inspecting and did

.mapbox-directions-origin,
.mapbox-directions-destination {
  display: none;
}

@sanathkumar350
Copy link

he, i am stuck with the similar problem. should I get the classname from the container and then modify the CSS?.

@aasutossh
Copy link
Author

he, i am stuck with the similar problem. should I get the classname from the container and then modify the CSS?.

Try it.
BTW, after trying all these modules and kept getting into issues. I used plain mapbox gl js. It solved most of my problems.

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

2 participants