Map: Adjusting viewport by coordinates

Hi there,
im currently working on upgrading our map functionality from leaflet to Vaadin-Map and what i miss is a working solution to set the minX/minY/maxX/maxY values to the map-view, so that the zoom is set accordingly.

Usecase:
I have a bunch of markers and want to show all of these with a proper zoom that is allowing to recognize most detail and also all markers.
Can you help me?