feat: add getClusterOptions getter to GeoJSONSource#7948
Merged
Conversation
lazerg
force-pushed
the
feat/7788-get-cluster-options
branch
from
July 15, 2026 10:58
cf3f260 to
dbd44fb
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7948 +/- ##
==========================================
- Coverage 93.38% 93.36% -0.02%
==========================================
Files 288 288
Lines 24441 24446 +5
Branches 6461 6461
==========================================
+ Hits 22824 22825 +1
- Misses 1617 1621 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
CommanderStorm
approved these changes
Jul 18, 2026
CommanderStorm
left a comment
Member
There was a problem hiding this comment.
makes sense to me and LGTM
HarelM
reviewed
Jul 23, 2026
Collaborator
|
Added a small comment on the test, once fixed this can be merged. |
HarelM
approved these changes
Jul 23, 2026
HarelM
enabled auto-merge (squash)
July 23, 2026 11:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7788
Adds a
getClusterOptionsgetter toGeoJSONSourcethat returns the source's current cluster configuration (cluster,clusterMaxZoomandclusterRadius), mirroring the options accepted bysetClusterOptions. This lets callers check whether a source is clustered and read itsclusterMaxZoomthrough the public API instead of reaching into worker internals.Launch Checklist
CHANGELOG.mdunder the## mainsection.