I have a NVDI WMS layer configured to show NDVI index, and I need to let the user choose the color ramp.
Is there a way to send parameters from the client and get then inside the evaluatePixel function?
According to reference this is the signature of the method, but I can’t find an example that uses inputMetadata or customData or a reference about their content.
function evaluatePixel(samples, scene, inputMetadata, customData, outputMetadata) {
}
Thank you