St.pydeck_chart zoom limit breaks with new zoom buttons

I have an app with pydeck_chart map.
In Streamlit 1.13.0 a new feature was added, zoom buttons (+, -) on the map.

My app has min and max zoom limits set on the map.
When I load the app those limits are enforced using classic zooming but not by the buttons.
After using the buttons to zoom out past the limits, the classic zoom is no longer limited by the coded definitions either.

pdk.Deck(
            map_style='mapbox://styles/mapbox/satellite-v9',
            #map_provider = "google_maps",
            initial_view_state=pdk.ViewState(

             latitude=32.10190607548036, 

             longitude=35.39627692336513,

             zoom=16,

             min_zoom=15,
             
             max_zoom=18,                

             pitch=st.session_state.pitch,
             
             bearing=st.session_state.bearing,
             
             height = st.session_state.ht, 


         )

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.