unitGroup dynamic metric to us.

I am building a web app using Weather API. I want to change unitGroup parameter dynamically from metric to us but the icon variable also change dynamically. 

Example, from Celsius icon= wind to Fahrenheit  icon= partly-cloudy-day. Why icon changes if I only want to change is the unit metric to us or vice versa


1 comment

Please sign in to leave a comment.