Skip to content

Slight movement cause a flyto bug #9438

@zylynnlin

Description

@zylynnlin

Checklist

  • I've looked at the documentation to make sure the behavior isn't documented and expected.
  • I'm sure this is an issue with Leaflet, not with my app or other dependencies (Angular, Cordova, React, etc.).
  • I've searched through the current issues to make sure this hasn't been reported yet.
  • I agree to follow the Code of Conduct that this project adheres to.

Steps to reproduce

  1. Create a marker and a polyline;
  2. Flyto the marker;
  3. Slightly move the map;
  4. Flyto the marker again;
  5. You will see that the polyline has shifted.
leaflet.tiny.movement.-.Trim.mp4

Expected behavior

Flyto a marker should not cause other elements move

Current behavior

Flyto a marker cause other elements move

Minimal example reproducing the issue

No response

Environment

  • Leaflet version: 1.9.4
  • Browser (with version): chrome 127.0.6533.100
  • OS/Platform (with version): windows 11

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions