maplibre-gl-js version: 5.6.1
browser: Any (tested on Firefox and Chromium)
Steps to Trigger Behavior
- Add a layer with
icon-allow-overlap and add many features to it.
- Zoom out so they overlap.
Link to Demonstration
https://jsbin.com/cixafubugo/edit?html,output
Expected Behavior
Zooming is lag-free.
Actual Behavior
Zooming when many features overlap has heavy lag. The further zoomed out the worse it is. Moving the map or rotating it works good.
Here is a screenshot from the Firefox profiler:
Almost all time is spent in findMatches. Is optimization possible there?
maplibre-gl-js version: 5.6.1
browser: Any (tested on Firefox and Chromium)
Steps to Trigger Behavior
icon-allow-overlapand add many features to it.Link to Demonstration
https://jsbin.com/cixafubugo/edit?html,output
Expected Behavior
Zooming is lag-free.
Actual Behavior
Zooming when many features overlap has heavy lag. The further zoomed out the worse it is. Moving the map or rotating it works good.
Here is a screenshot from the Firefox profiler:
Almost all time is spent in
findMatches. Is optimization possible there?