Dash with Mapbox


I am able to use Dash with Mapbox Default Styles. When changing the style url to my own, Dash doesn’t work. I can only see a black background. I test that style on Leaflet, which works. The token is correct.

I did another test. When I create a new style from scratch, I can see ‘Le Shne’ but not ‘Light’. Looks like some layers in ‘Light’ cannot render properly under Dash.

Here is the reply from Mapbox team:

It’s possible that the specific demo you are following or the third party application or library you’re using (like Dash) doesn’t support expressions. Expressions are used in styling rules for more recent Mapboxstyles that use Mapbox Streets v8 (can be seen in the Style Reference section at the top right in your Studio style editor). It’s possible the particular demo needs to be updated to be compatible with our latest styles.