
User should be able to design custom color palette, they should be able to
using custom color palette to toggle color palette editorUser should be able to import values next to each color, using dropdown for ordinal values and input box for numeric values. There will be a distribution graph for numeric values, user can drag the slider handle to adjust value range of each bin

Implementation Step:
layer.config.colorUI.colorRange.customPalette, create a new prop colorMap and save it as a JS Mapconst colorMap = new Map([["foo", "#FFFFFF"], ["bar", "#000000"], ["foo1", "#FF0000"]]);
only store values manually selected by user. if user is using the "assign rest to one color" option, don't store all the rest of the values to the map, later when create color scale, use the .unknown() method to assign color to the rest of values.
layer.getVisChannelScale(base-layer.js). Use D3.ordinalScale and pass in the colorMap and a value for unknownm = d3.scaleOrdinal()
.domain(colorMap.keys())
.range(colorMap.values())
.unknown('#fff000') // assign rest value to a color value

[Numeric values]
I would love this!
I鈥檇 like to recommend react-color as a nice picker component :)
Hi,
Will this also include manual color range specification? It would be very useful not only to have automatic color range determination such as by quantile or quantize but manual range specification like in QGIS. E. g. color "#FFC300" for values between 0 and 50, "#F1920E" for values between 51 and ...
Thx,
David
@heshan0131 Do we have actions/helpers to change layer's color programmatically?
landed
Hi,
First of all, the new color palette feature is awesome!!! Thanks for constantly improving kepler. I assumed there was also going to be a function to change the color scale, e. g. based on fixed custom intervals. Is such a function planned/ coming soon?
Thanks for your answer.
Best,
David
Adding value customization is in progress:


Hi,
I've found this value customization feature important for me. Are you still working on it? Maybe I could help?
Cheers
Bartek
Is the value customization still in progress?
This got put away for a little while, we just resumed the work. Should come out in the next month or so
Hi,
sorry to bother you, but I would like to ask you - are there any updates regarding to this function?
Thank you very much in advance
This got put away for a little while, we just resumed the work. Should come out in the next month or so
Hi heshan0131, sorry to bother you on this. Is the value customization still in the pipeline?
Is the value customization ready to use?
me too, I would love to use the value customization.
Im waiting for this. it will be awesome...
do we have any updates on this?
I'm waiting for the opportunity to set the palette statically from min to max, and not relatively as now.
do we have any updates on this?
Most helpful comment
Hi heshan0131, sorry to bother you on this. Is the value customization still in the pipeline?