1. A concise explanation of the problem you’re experiencing.
At first, I load a imagery in WMS server.
Second, suppose the value of this image is just 0 and 1 and the 0 is shown as black and the 1 is shown as red.
Third, I want change the colorTable of my imagery, such as change the color of value 1 to blue, how can I do to get it.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
let imageryLayers = viewer.imageryLayers;
let provider = new Cesium.WebMapServiceImageryProvider({
url: myURL,
layers: myName,
parameters: {
service: 'WMS',
format: 'image/png',
transparent: true,
},
});
imageryLayers.addImageryProvider(provider);
``
**3. Context. Why do you need to do this? We might know a better way to accomplish your goal.**
**4. The Cesium version you're using, your operating system and browser.**