Skip to content

[BUG] MapState methods do not support rotation #1283

Closed
@Zverik

Description

While the _rotation field is stored in MapState, and recently we've got rotation support in MapController(#1115), core methods in MapState do not account for rotation anywhere. For example, layerPointToLatLng produces wrong results when the map is rotated.

Looks like fixing project and unproject would be enough.

Flutter_map 1.1.0.

Metadata

Assignees

No one assigned

    Labels

    bugThis issue reports broken functionality or another error

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions