mapbox-gl-directions
mapbox-gl-directions copied to clipboard
Show the profile switcher but not the Input field saying Choose starting place, and choose destination.
controls: {
profileSwitcher: true,
inputs: false,
// instructions: false,
},
disables the profile switcher too.
So, I did a bit inspecting and did
.mapbox-directions-origin,
.mapbox-directions-destination {
display: none;
}
he, i am stuck with the similar problem. should I get the classname from the container and then modify the CSS?.
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.