Skip to content

Zoom perfomance with symbol layer type #3084

Description

@just-website

I'm trying to draw 2000 points on a type symbol layer and get big performance dips at every zoom step. The"text-allow-overlap" parameter does not cause visible changes.
Now I can see that the findMatches method takes a very long time to complete at each zoom step.

Are such performance dips to be expected with the symbol type layer?
What can be done to fix it on large layers symbol type than 30k points (is it possible?)?

image

https://github.com/maplibre/maplibre-gl-js/blame/18dcac916ccc0b7e7f1160533e5db5c34c28fffe/src/symbol/cross_tile_symbol_index.ts#L102

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions