How to change line shape in mapbox maps?

Hi all,

Is it possible to add lines of different shapes (bold, dotted, dashed) using line_mapbox or scattermapbox? We can easily do this with regular line charts, but I could not find any reference with maps.

Any help is appreciated, thanks!

Hi @dataturnsmeon

bold lines could be generated by changing the width of the lines:

Concerning dashed/dotted I am not sure.

EDIT: see also

1 Like

I agree. It’s so basic I have no idea why it hasn’t been implemented yet.

I have been looking for this for quite a while now, but I haven’t stumbled upon anything - unfortunately.

1 Like