I have a website that's getting a set of points from the server side, and then rendering a map using the azure-maps-control npm package.
I want the map to be centered and zoomed in such a way that would fit all the points on the screen.
What's the best way to achieve this?