Calculates the center point in lng-lat coordinates of the visible map area that does not overlap with the given UI HTML elements.
The center as [lng, lat], or null if the visible area is too small
Use it to offset the map center so it looks harmonious with surrounding UI components. It is equivalent to the center of calculatePaddedBBox.
calculatePaddedBBox
Calculates the center point in lng-lat coordinates of the visible map area that does not overlap with the given UI HTML elements.