World Map Icon Bearing.
I have a stationary icon "wind" but I want to change the bearing of it. As I want to indicate the wind direction of a specific location on the map.
Does the bearing field only become "active" once you change the location of the icon?
let bearing = msg.payload.winddirection;
let color = "black";msg.payload = {
"name": "swerfds",
"lat": -29.80654,
"lon": 30.7723,
"Temp":15,
"Wind Speed":234,
"Wind Direction":bearing,
"icon": "wind",
"color":color,
"iconColor": color,
};
return msg;