You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moving the cursor inside an area that contains LineStrings (but NOT touching them) should NOT cause a performance drop.
Mapbox should not trigger hit detection or rendering computations unless a feature is actually hovered over.
Frame rate should remain stable at ~60 FPS.
Actual Behavior
FPS drops drastically (to ~10 FPS) when moving the cursor inside an area with many overlapping LineStrings—even when NOT hovering over them.
CPU usage spikes to 100%.
The issue happens only in areas with a high density of LineStrings.
Zooming in resolves the issue, suggesting a problem with hit detection at lower zoom levels.
The text was updated successfully, but these errors were encountered:
mapbox-gl-js version: v3.9.4
browser: Chrome Version 132.0.6834.160 (Official Build) (arm64)
Steps to Trigger Behavior
Link to Demonstration
https://codepen.io/Lukas-Grubis/pen/qEWzJpj
https://codepen.io/Lukas-Grubis/fullpage/qEWzJpj?nocache=true&view=
Expected Behavior
Moving the cursor inside an area that contains LineStrings (but NOT touching them) should NOT cause a performance drop.
Mapbox should not trigger hit detection or rendering computations unless a feature is actually hovered over.
Frame rate should remain stable at ~60 FPS.
Actual Behavior
FPS drops drastically (to ~10 FPS) when moving the cursor inside an area with many overlapping LineStrings—even when NOT hovering over them.
CPU usage spikes to 100%.
The issue happens only in areas with a high density of LineStrings.
Zooming in resolves the issue, suggesting a problem with hit detection at lower zoom levels.
The text was updated successfully, but these errors were encountered: