Extra padding or lower zoom value for GeoJSON focussed camera

We're utilizing the mapbox component to draw some markers and a line:
Screenshot 2023-03-24 at 10.51.37

And we checked "Focus Camera on GeoJSON"

This works perfectly, the only downside is that the markers are a bit too close to the edges and are clipped. So the user has to zoom out a little bit to get a bit better view.

Is there anything configuration or scripting wise we can do to improve this?

Hey @UnlockAgency!

Unfortunately, I don't know if this is possible with the current iteration of the Map component. Folks looking for more customizability of their maps often use a custom component with the Mapbox API (see some examples here and here, along with a quickstart guide).

I can let you know here when we update the component, but in the meantime, does that look like something that might be worth exploring?

Yeah I thought that would be the approach.
Thanks for your reply.