Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

[Bug] Zooming in controlled Map is jumping #9

@caspg

Description

@caspg

Description

It looks that sometimes when I want to zoom in, it performs zoom out first.
I noticed that in the Side by Side example.

It behaves the same way with just one map when it's in "control" mode. You can test it here https://mapmatrix.veloplanner.com/ You can select just one panel and you will notice the behaviour.

CleanShot.2024-11-20.at.12.16.36.mp4

Expected Behavior

Smooth zooming

Steps to Reproduce

Open https://visgl.github.io/react-maplibre/examples/side-by-side and zoom in then zoom out.

Environment

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions