# Worldmap Tracks

**URL:** <https://discourse.nodered.org/t/worldmap-tracks/12150>\
**Category:** General\
**Created:** [12 June 2019 22:58 UTC](https://discourse.nodered.org/t/worldmap-tracks/12150 "2019-06-12T22:58:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JhazMedina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhazmedina/32/9312_2.png) [@JhazMedina](https://discourse.nodered.org/u/JhazMedina)\
**Post date:** [12 June 2019 22:58 UTC](https://discourse.nodered.org/t/worldmap-tracks/12150/1 "2019-06-12T22:58:07Z")

</div>

Hi, i'm working with worldmap-tracks and i need to change the color of the lines of every marker, I've read that it is possible to change the color, width and other options, but until now i can't find one example of how can i change those propertys, I've changed the color of the icon but lines still printing in red, every help is welcome, thanks

---

<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:** [13 June 2019 04:25 UTC](https://discourse.nodered.org/t/worldmap-tracks/12150/2 "2019-06-13T04:25:26Z")

</div>

I think you just need to set `msg.payload.lineColor` to the #rrggbb color you want.

---

<div class="post-metadata">

**Author:** ![JhazMedina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhazmedina/32/9312_2.png) [@JhazMedina](https://discourse.nodered.org/u/JhazMedina)\
**Post date:** [13 June 2019 16:17 UTC](https://discourse.nodered.org/t/worldmap-tracks/12150/3 "2019-06-13T16:17:34Z")

</div>

Hi, thanks for the reply, I already did it, or kind of

```auto
msg.payload = {
  "name": "Jason",
  "iconColor": "Blue",
  "lineColor": "#000", //"rgb(4, 106, 255)" or "Blue"
  "icon": "globe",
  "lat": latitud,
  "lon": longitud,
  "layer": "GPS",
  "draggable": true
}

```

And the line still printing in red, I don't know if is the correct way

---

<div class="post-metadata">

**Author:** ![Agratam](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/agratam/32/9293_2.png) [@Agratam](https://discourse.nodered.org/u/Agratam)\
**Post date:** [13 June 2019 16:42 UTC](https://discourse.nodered.org/t/worldmap-tracks/12150/4 "2019-06-13T16:42:47Z")

</div>

@JhazMedina I have the same issue, similar code, red lines.

---

<div class="post-metadata">

**Author:** ![JhazMedina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhazmedina/32/9312_2.png) [@JhazMedina](https://discourse.nodered.org/u/JhazMedina)\
**Post date:** [13 June 2019 16:52 UTC](https://discourse.nodered.org/t/worldmap-tracks/12150/5 "2019-06-13T16:52:24Z")

</div>

I have tried different ways and still red lines printing, I don't know what to do, i have to show it tomorrow

---

<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:** [13 June 2019 20:20 UTC](https://discourse.nodered.org/t/worldmap-tracks/12150/6 "2019-06-13T20:20:26Z")

</div>

Apologies to all - the property you need is just `color:"#000"`;  
I'll fix the docs

---

<div class="post-metadata">

**Author:** ![JhazMedina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jhazmedina/32/9312_2.png) [@JhazMedina](https://discourse.nodered.org/u/JhazMedina)\
**Post date:** [13 June 2019 20:44 UTC](https://discourse.nodered.org/t/worldmap-tracks/12150/7 "2019-06-13T20:44:48Z")

</div>

Thank you so much, it works perfectly!
