Mapbox fitBounds

Hi Jgaro!

I don't think the mapbox component has any direct controls for this, so the feature request here could be good!

The best workaround I can think of is using a temporary state and referencing the value in the Zoom setting of the map. You can then use a Run JS Code query to directly modify that value and change the zoom level of the map:

1 Like