Can I change Mapbox color style in Dash?

@Krulvis I don’t see that menu option either

image

Loading the default styles externally seems to work,

  • style = ‘mapbox://styles/mapbox/light-v9’
  • style = ‘mapbox://styles/mapbox/dark-v9’

But if I try loading my own custom mapbox style, the tiles won’t load.

It appears a few other have had this challenge too
Custom Mapbox Studio style in Dash
Hide specific layer from generic mapbox map

Maybe it’s linked to plotly in general. I get similar results when I use the plotly.graph_objs library.

Any thoughts @chriddyp @bcd?

1 Like