Open NekrasovSt opened 7 years ago
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?
I'm facing the same problem. Has anyone fixed it?
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?