Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

The method "fitBounds" works incorrect. #27

@NekrasovSt

Description

@NekrasovSt

if i use bearing = 0 everything is ok.
map.fitBounds(bounds, {
//padding: [500, 50]
paddingTopLeft: [width, 50],
paddingBottomRight: [50, 50],
});
1_1

but bearing <> 0 has a problem.
2_2

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

Could you fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions