Skip to content

BugFix: Fixing BasemapGallery Sceneview appears blank sometimes. #660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

prathameshnarkhede
Copy link
Contributor

@prathameshnarkhede prathameshnarkhede commented Jun 13, 2025

Introduced a semaphore for thread-safe access to UpdateBasemaps.
This avoids multiple invocations of UpdateBasemaps() and NotifySpatialReferenceChanged() and locks resource when in use by another call.

Did testing by opening SceneView multipel times and did not observed the bug.

Refactor NotifySpatialReferenceChanged method calls for improved
asynchronous handling.
@prathameshnarkhede prathameshnarkhede self-assigned this Jun 13, 2025
@prathameshnarkhede prathameshnarkhede changed the title Fixing BasemapGallery Sceneview appears blank sometimes. BugFix: Fixing BasemapGallery Sceneview appears blank sometimes. Jun 13, 2025
… avoids multiple invocations of UpdateBasemaps() and NotifySpatialReferenceChanged()
Moved Cancellation operation to get semaphopre release earlier
…to make sure collate subsequent update calls and make it a single call.
…oading property to manage the loading state.

This change simplifies and consolidating it into a single property.
@prathameshnarkhede prathameshnarkhede merged commit a9cb4f4 into main Jul 1, 2025
1 check passed
@prathameshnarkhede prathameshnarkhede deleted the pratham/fix-Basemap-Gallery-Scene-View-Appearance-missing-SceneView branch July 2, 2025 00:47
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.

3 participants