From Sisense Support site
The following article will explain how to dynamically center and zoom a scatter map, based on the data points. So if your map defaults to a view of the US and then changes to Europe, the map will automatically adjust.
https://support.sisense.com/kb/en/article/auto-zoom-scatter-map
This script allows you to center and zoom a map according to a given the visible data points.