Skip to content

Add clustering sample with ClusteringProvider - #3342

Merged
pauldendulk merged 2 commits into
mainfrom
add_clustering_sample
May 1, 2026
Merged

pauldendulk merged 2 commits into
mainfrom
add_clustering_sample

Conversation

@pauldendulk

Copy link
Copy Markdown
Member

Adds a new ClusteringSample demonstrating grid-based feature clustering on a map.

Changes:

  • ClusteringSample.cs — new sample in the Special category with an embedded ClusteringProvider (decorator over IProvider) that clusters features per zoom level using a grid algorithm. Cache is per zoom level, correctly invalidated on data change, releases lock before awaiting builds (parallel zoom levels), and evicts faulted tasks so they are retried.
  • docs/general/markdown/working-with-samples.md — new documentation page explaining how the sample system works and how to add a new sample.
  • docs/general/mkdocs.yml — wires the new page into the Contributing nav section.

pauldendulk and others added 2 commits April 30, 2026 20:52
Co-authored-by: Copilot <copilot@github.com>
@pauldendulk pauldendulk added the PR type: 🧪 Sample Add or update a sample. label Apr 30, 2026
@pauldendulk
pauldendulk merged commit 9fb760d into main May 1, 2026
6 checks passed
@pauldendulk
pauldendulk deleted the add_clustering_sample branch May 1, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR type: 🧪 Sample Add or update a sample.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant