Skip to content

Mouse events are not triggering for layers with line-offset at a high zoom level #5431

@bart-1990

Description

@bart-1990

maplibre-gl-js version: 5.1.0

browser: Chrome 131.0.6778.205

Steps to Trigger Behavior

  1. Zoom in to a very high zoom level
  2. Hover with the mouse over one of the line features
  3. Zoom in at a high zoom level, hover again. At a certain zoom level the mousemove event is not triggered any more. Note: this only seems to happend for lineString features with more than 2 coordinates. In the demo there wil be one feature with 2 coordinates, the bug will not occur for that feature.

Link to Demonstration

JS Bin

Expected Behavior

The mousemove event is triggered.

Actual Behavior

The mousemove event is not triggered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions