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

Unable to style line colour/width in Directions

Open maksimumeffort opened this issue 4 years ago • 2 comments

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

maksimumeffort avatar Mar 28 '21 23:03 maksimumeffort

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?

Marius-Adam avatar May 08 '21 20:05 Marius-Adam

Same issue here. Still not resolved.

xiaofanliang avatar May 22 '23 15:05 xiaofanliang