Show color scale even if TiTiler PNG images are not available by ac-61 · Pull Request #759 · NASA-AMMOS/MMGIS · GitHub
Skip to content

Show color scale even if TiTiler PNG images are not available#759

Merged
ac-61 merged 4 commits into
developmentfrom
ac-add-jscolormap-fallback
Sep 22, 2025
Merged

Show color scale even if TiTiler PNG images are not available#759
ac-61 merged 4 commits into
developmentfrom
ac-add-jscolormap-fallback

Conversation

@ac-61

@ac-61 ac-61 commented Sep 18, 2025

Copy link
Copy Markdown
Contributor

If the TiTiler server is somehow down, but TiTiler is on according to the env, the color scales will display an error. We should fall back to use js-colormaps in this case for both the layers tab and the configure page.

Screenshot 2025-09-12 at 1 01 33 PM Screenshot 2025-09-15 at 11 08 35 AM Screenshot 2025-09-18 at 1 23 18 PM Screenshot 2025-09-18 at 1 26 51 PM

@sonarqubecloud

Copy link
Copy Markdown

@tariqksoliman tariqksoliman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approving but I do also think if TiTiler is down when it's supposed to be up, that there's a larger issue with the deployment that should be addressed instead.

@ac-61 ac-61 merged commit dcf3fa3 into development Sep 22, 2025
3 of 4 checks passed
@ac-61 ac-61 deleted the ac-add-jscolormap-fallback branch September 22, 2025 16:10
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