Open gabimoncha opened 5 years ago
Mapbox already asigns the colour black as a fallback output for out-of-range inputs, so why not leave the use decide which colour should that be?
["interpolate" | "interpolate-hcl" | "interpolate-lab" | "step", interpolation: ["linear"] | ["exponential", base] | ["cubic-bezier", x1, y1, x2, y2 ], // if not discrete input: number, stop_output_0: OutputType, stop_input_1: number, stop_output_1: OutputType, stop_input_n: number, stop_output_n: OutputType, ..., fallback: OutputType ]: OutputType
not only out of range, also null
...given that it would have to be cross platform, I can understand this wouldn't get pushed to the top right away. If we have a work-around for this, I would like to see it.
Motivation
Mapbox already asigns the colour black as a fallback output for out-of-range inputs, so why not leave the use decide which colour should that be?
Implementation