Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    How to change color schema of different weather layer?

    Scheduled Pinned Locked Moved Windy API v4
    3 Posts 2 Posters 1.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • saaneuvosS Offline
      saaneuvos | Premium
      last edited by

      I know all my rgb-values, but don't know how to code it in API4 ;)

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        arjannv @saaneuvos
        last edited by

        @saaneuvos

        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() .

        saaneuvosS 1 Reply Last reply Reply Quote 0
        • saaneuvosS Offline
          saaneuvos @arjannv | Premium
          last edited by

          @arjannv Thanks so much!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Windy Community  |  Powered by excellent NodeBB
          Terms of Use     Privacy Policy     Windy.com