Skip to content

Symbol layer misaligned with line layer for the same source #13585

@vcoppe

Description

@vcoppe

mapbox-gl-js version

v3.16.0

Browser and version

Firefox 145.0

Expected behavior

The symbol layer should appear exactly on top of the line layer with 'symbol-placement': 'line'.

Actual behavior

There is an offset in some cases.

Image

Link to the demonstration

https://jsbin.com/ropawepuni/edit?output

Steps to trigger the unexpected behavior

Move the map around if you cannot see the issue after loading the map

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions