How to change color schema of different weather layer?
-
I know all my rgb-values, but don't know how to code it in API4 ;)
-
Pass the color values in the function below.
W.colors.temp.changeColor( [ [xxx, [xxx, xxx, xxx, xxx]], [yyy, [yyy, yyy, yyy, yyy]] ] );
(for temperature)You can place the function inside windyInit() .
-
@arjannv Thanks so much!
Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps