Skip to content
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

fix: change imageryProvider to readonly #665

Merged

Conversation

TheMrCam
Copy link
Contributor

@TheMrCam TheMrCam commented Jun 21, 2024

Fixes lack of ImageryLayer recreation on imageryProvider prop update by adding it to the cesiumReadonlyProps array, which is where it belongs according to the Cesium and Resium documentation.

Resolves #664

One additional note: My local yarn.lock was full of "changes", but running yarn told me "Migrated your project to the latest Yarn version 🚀", so I didn't commit it. I can add those changes to the PR if necessary.

TheMrCam and others added 2 commits June 21, 2024 12:02
Fixes lack of recreation on imageryProvider prop update by adding it to
the cesiumReadonlyProps array, which is where it belongs according to
the Cesium and Resium documentation.

Addresses reearth#664
Copy link
Member

@keiya01 keiya01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR. I'll merge this PR and release it soon.

@keiya01 keiya01 changed the title Fix ImageryLayer readonly imageryProvider prop fix: change imageryProvider to readonly Jul 9, 2024
@keiya01 keiya01 merged commit 3f790ea into reearth:main Jul 9, 2024
2 checks passed
@keiya01
Copy link
Member

keiya01 commented Jul 24, 2024

@TheMrCam We've released your change in v1.18.0. Thank you!

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.

ImageryLayer readonly imageryProvider prop
2 participants