This PR adds a linear interpolation function that allows a value in the range [0, 1] to be mapped to a color [lowerColor, higherColor] respectively. Thus, allowing multiple colors (right now, only 2) to be used while aggregating indexes, also setting the general layer opacity to 0.5, allowing the user to read the region's name independently of the aggregation value.
Images are shown as example, not representing the current values set for colors.
Summary
This PR adds a linear interpolation function that allows a value in the range [0, 1] to be mapped to a color [lowerColor, higherColor] respectively. Thus, allowing multiple colors (right now, only 2) to be used while aggregating indexes, also setting the general layer opacity to 0.5, allowing the user to read the region's name independently of the aggregation value.
Images are shown as example, not representing the current values set for colors.