Skip to content

Conversation

@ludovic-cheval-bentley-systems

By calling getSnapshot on a CreditSystem, clients can retrieve the current set of active credits. However, this snapshot represents credits across all TilesetViewGroups.

Some clients need to display credits separately for each viewport. To support this, new isCreditReferenced methods have been added to both CreditReferencer and TilesetViewGroup. These allow clients to check whether credits obtained from the CreditSystem apply to a specific TilesetViewGroup.

Similarly, certain clients must distinguish credits originating from raster overlays from other credits. To enable this, a dedicated CreditReferencer has been introduced within TilesetViewGroup to reference raster overlay credits. The existing CreditReferencer continues to reference all credits associated with the TilesetViewGroup.

@j9liu j9liu added this to the December 2025 Release milestone Nov 10, 2025
@j9liu j9liu linked an issue Nov 10, 2025 that may be closed by this pull request
@j9liu j9liu requested a review from kring November 10, 2025 16:57
@j9liu
Copy link
Contributor

j9liu commented Nov 10, 2025

Thanks @ludovic-cheval-bentley-systems for opening this PR! @kring do you mind taking a look?

@j9liu j9liu removed the request for review from kring November 10, 2025 16:58
@j9liu
Copy link
Contributor

j9liu commented Nov 10, 2025

Just realized this PR is still marked as draft; @ludovic-cheval-bentley-systems let us know when it's officially ready for review.

@kring kring marked this pull request as ready for review November 10, 2025 21:57
@kring kring marked this pull request as draft November 10, 2025 21:57
@kring
Copy link
Member

kring commented Nov 14, 2025

@ludovic-cheval-bentley-systems now that this is passing CI, go ahead and hit that "Ready for review" button and we'll take a look. Unless there is more you want to do with it first?
Thanks again for working on this and for opening a PR!

@ludovic-cheval-bentley-systems ludovic-cheval-bentley-systems marked this pull request as ready for review November 14, 2025 02:28
@j9liu j9liu requested a review from kring November 14, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for reporting credits per TilesetViewGroup

3 participants