Skip to content

[bug] "disableClusteringAtLevel" does not works on first render. #353

@niteshsinha17

Description

@niteshsinha17

Describe the bug

According to the documentation, disableClusteringAtLevel should disable clustering when the zoom level reaches or exceeds the specified value. However, this only takes effect when the zoom level changes, not when nodes are initially rendered.

Steps To Reproduce

  1. Open the clustering example.
  2. Set disableClusteringAtLevel = 0 in the configuration.
  3. Start the server and open the example in the browser.
  4. Notice that clusters are still formed initially. Changing the zoom level updates the behavior correctly.

Expected behavior

Clustering should be disabled from the initial render when disableClusteringAtLevel is set, without requiring a zoom level change. Nodes should appear unclustered as per the provided configuration.

Screenshots

Screen.Recording.2025-03-26.at.11.19.28.PM.mp4

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