Blink Map marker

#1

Hi i have these flows. Top will get input from I/O pin and i want to blink the marker when there's trigger else it should be grey color.
The bottom flow i would want the grey marker to be there when i start the node-red. For now i have to use inject node. How do i do this? Both are same location.

If its easier to have only single flow i would wish to know how to do it?

Thank you

0 Likes

#2

You only need one worldmap node.
There is no blink attribute per se - so either you would need to create something that did that.
But for a simple - red then grey I would just add a delay node by a change node - with the change node set to set msg.payload.iconColor to "grey". Sort of like this

That would flash it "once" - ie go red on first update then revert to grey.

0 Likes