# Blink Map marker

**URL:** <https://discourse.nodered.org/t/blink-map-marker/736>\
**Category:** General\
**Created:** [11 June 2018 10:26 UTC](https://discourse.nodered.org/t/blink-map-marker/736 "2018-06-11T10:26:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mshaz](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mshaz/32/2294_2.png) [@mshaz](https://discourse.nodered.org/u/mshaz)\
**Post date:** [11 June 2018 10:26 UTC](https://discourse.nodered.org/t/blink-map-marker/736/1 "2018-06-11T10:26:54Z")

</div>

![map%20marker](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/16c98ea3cbbcb870529f7cf9eb71ec76a68e91a4.jpg)

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

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [11 June 2018 13:03 UTC](https://discourse.nodered.org/t/blink-map-marker/736/2 "2018-06-11T13:03:49Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/353f564a769a47e26cc01490b84d830b2a0b5278.png)

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