You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
if i use bearing = 0 everything is ok.

map.fitBounds(bounds, {
//padding: [500, 50]
paddingTopLeft: [width, 50],
paddingBottomRight: [50, 50],
});
but bearing <> 0 has a problem.

It seems to me this method does not take into account the rotation of the coordinate system.

Must be.
Could you fix it?