mapbox-gl-directions icon indicating copy to clipboard operation
mapbox-gl-directions copied to clipboard

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

Open aasutossh opened this issue 4 years ago • 3 comments

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

disables the profile switcher too.

aasutossh avatar Sep 06 '20 03:09 aasutossh

So, I did a bit inspecting and did

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

aasutossh avatar Sep 06 '20 03:09 aasutossh

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

sanathkumar350 avatar Oct 20 '20 09:10 sanathkumar350

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.

aasutossh avatar Dec 02 '20 09:12 aasutossh