Mapbox Token for Mapbox Studio

Hello,

I created a map in Mapbox studio

# Get climate map object
climate_map = st.pydeck_chart(
    pdk.Deck(
        map_style="mapbox://styles/skrhee/ckbtiaefh0wrr1hp7h4ya3zy4",
        initial_view_state=pdk.ViewState(
            latitude=latitude,
            longitude=longitude,
            zoom=11,
            pitch=0
        ),
        layers=[
            pdk.Layer(
                "ScatterplotLayer",
                data=location,
                get_position="[lon, lat]",
                get_radius=2000,
                get_color='[200, 30, 0, 160]'
            )
            ]
        )
    )

I use the mapbox Style URL in the map_style varaible and I changed the config.toml file to include the token provided. I am getting a blank map. Are there any other steps I need to take?

image

Hi @kurt-rhee -

We just did a patch release, 0.62.1, which modified the behavior of the Mapbox token. Could you try to update your package and retry? Hopefully, that should fix your issue.

Best,
Randy