NASA-IMPACT / veda-ui

Frontend for the Dashboard Evolution project
Other
19 stars 4 forks source link

[E & A] Add range slider for rescaling the min & max range of the color maps #1102

Open dzole0311 opened 1 month ago

dzole0311 commented 1 month ago

Context

This is the second part of the configurable color map options: https://github.com/NASA-IMPACT/veda-ui/issues/994

The goal is to provide users with more control over how data is visualized by allowing them to adjust the range of values that the color map uses

Screenshot 2024-08-13 at 15 32 47

Acceptance Criteria

Related Tickets

https://github.com/NASA-IMPACT/veda-ui/issues/994

j08lue commented 1 month ago

Btw, this feature will only work for certain endpoints / services (e.g. TiTiler-based).

I guess we currently distinguish between three layer types: raster|vector|zarr.

https://github.com/NASA-IMPACT/veda-ui/blob/main/docs/content/frontmatter/layer.md

Will we need some more fine-grained distinction between server capabilities?

https://github.com/NASA-IMPACT/veda-config/blob/1250da71d5c09227938bcd614875ae85e54a1c58/datasets/cmip6-tas.data.mdx?plain=1#L30