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

Allow order of values in Cesium map legends to be switched #2574

Open
justinkadi opened this issue Dec 3, 2024 · 1 comment
Open

Allow order of values in Cesium map legends to be switched #2574

justinkadi opened this issue Dec 3, 2024 · 1 comment
Labels
cesium enhancement pdg Permafrost Discovery Gateway

Comments

@justinkadi
Copy link

Describe the feature you'd like
We should be able to switch the order of the values in a map's legend in a data portal.

Is your feature request related to a problem? Please describe.
Currently, we cannot configure the order of the values in a legend's color map to be switched. We can switch the order in the portal config, but it seems like the element is developed so that it is from min <-> max.

Additional context
Screenshot 2024-12-03 at 14 26 12

In this screenshot example, Rushiraj tried to switch the order so that positive values were on top and negative values were on the bottom, but it could not be done through the config.

@justinkadi justinkadi added enhancement pdg Permafrost Discovery Gateway labels Dec 3, 2024
@robyngit robyngit added the cesium label Dec 4, 2024
@robyngit
Copy link
Member

robyngit commented Dec 4, 2024

That's true, they are automatically displayed from min to max. @justinkadi could you add a little context as to why it's preferred to show the scale in the opposite direction in this case? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cesium enhancement pdg Permafrost Discovery Gateway
Projects
None yet
Development

No branches or pull requests

2 participants