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

Unable to style line colour/width in Directions #274

Open
maksimumeffort opened this issue Mar 28, 2021 · 2 comments
Open

Unable to style line colour/width in Directions #274

maksimumeffort opened this issue Mar 28, 2021 · 2 comments

Comments

@maksimumeffort
Copy link

Hey everyone,

I have tried to use this directions plugin for a project and after following all available documentation/ instructions and tutorials to a T I am still unable to change the style of the directions layer applied on the map.

I also tried to import the hardcoded directions style (available at https://github.com/mapbox/mapbox-gl-directions/blob/master/src/directions_style.js) into my project as a separate document and change it there, but that didn't work either.
Any help or suggestions would be very much appreciated

@Marius-Adam
Copy link

I am also trying to change the styles of the line colour/width + the point A & point B markers.
Have you managed to solve this in any way?

@xiaofanliang
Copy link

Same issue here. Still not resolved.

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

3 participants