Skip to content

Tile gaps visible in v2-alpha #9731

@jeffreykog

Description

@jeffreykog

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

I'm using a very basic OSM tile layer. I'm using a 4k monitor with scaling on macOS 15.5, chrome 136.0.7103.93.

Expected behavior

No lines between the tiles

Current behavior

Lines are showing between the tiles of the tile layer. See screenshot. This was not present in Leaflet v1.9.x. When panning around sometimes the lines do not show. Looking at the translations on the tile img elements, there don't seem to be noticeable gaps in the numbers.

Image

Minimal example reproducing the issue

No response

Environment

  • Leaflet version: v2.0.0-Alpha
  • Browser (with version): chrome 136.0.7103.93
  • OS/Platform (with version): macOS 15.5, M1 Max (arm64)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions