You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the values are negative. Perhaps this is due to floating point errors? I'm trying to create a map legend with 10 stops, so often the label value is 2/9, 4/9, etc.
mapbox-gl-js version: v1.12.0
browser: Node, Chrome
Steps to Trigger Behavior
Create an expression using
interpolate-hcl
betweenred
andwhite
.Sometimes the values are negative. Perhaps this is due to floating point errors? I'm trying to create a map legend with 10 stops, so often the
label
value is 2/9, 4/9, etc.Link to Demonstration
https://jsbin.com/boxanun/edit?html,output
Expected Behavior
Returned RGB values should be positive, in the range of
0..1
.Actual Behavior
RGB values can be negative
The text was updated successfully, but these errors were encountered: