# Worldmap: Change Color and Size of Icon Name

**URL:** <https://discourse.nodered.org/t/worldmap-change-color-and-size-of-icon-name/44703>\
**Category:** General\
**Created:** [25 April 2021 16:14 UTC](https://discourse.nodered.org/t/worldmap-change-color-and-size-of-icon-name/44703 "2021-04-25T16:14:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koloblix](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Koloblix](https://discourse.nodered.org/u/Koloblix)\
**Post date:** [25 April 2021 16:14 UTC](https://discourse.nodered.org/t/worldmap-change-color-and-size-of-icon-name/44703/1 "2021-04-25T16:14:39Z")

</div>

hi, im new to Node-Red and Worldmap and playing around with NATO Symbols and some GPS Tracking. Just set al this up and mak an small flow. dLooks pretty good right now:

![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/2/62ad9eb371e584862b0a195bc10b00848094a5f8.png)

But can I change the color of the Icon Name? Black on dark satelite Image ist not so good to see. Is ist possible to change color and size? Used "Color" in payload, but this just changes color of trackes and direction indicators. And as you can see the name is not complete at first Letter.

This is my function which creats payload:

```auto
var newMsg = { payload: {
        "name" : msg.payload.deviceName,
        "lat": msg.payload.object.Lat, 
        "lon" : msg.payload.object.Lon,
        "SIDC": "SFGPUCII----",
        "color": "#FF0000",
        "options": { "fillOpacity":0.8 },
    }
};
return newMsg;

```

---

<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:** [25 April 2021 16:38 UTC](https://discourse.nodered.org/t/worldmap-change-color-and-size-of-icon-name/44703/2 "2021-04-25T16:38:22Z")

</div>

Hi,

you should be able to use just about all of the options under the style section here - [milsymbol/docs at master · spatialillusions/milsymbol · GitHub](https://github.com/spatialillusions/milsymbol/tree/master/docs#mssymbolarg1-arg2--argn) - so `options: { infoColor: "white" }` ought to do it - or maybe just add a solid border - `outlineWidth:15`  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/2/b29548cb5ee6eee51c562098cac6d2d2c77fe489.jpeg)

---

<div class="post-metadata">

**Author:** ![Koloblix](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Koloblix](https://discourse.nodered.org/u/Koloblix)\
**Post date:** [25 April 2021 17:09 UTC](https://discourse.nodered.org/t/worldmap-change-color-and-size-of-icon-name/44703/3 "2021-04-25T17:09:52Z")

</div>

Ok, thanks this works fine

![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/6/06b292ee6356408900472f17f8d6cbd8550b891f.png)

some idea to show first letter komplete? should be an "M", missing first vertical line.

Just setting an small outlineWidth in an dark color?

edit: Ok just find out how 🙂

using infoSize

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 June 2021 17:10 UTC](https://discourse.nodered.org/t/worldmap-change-color-and-size-of-icon-name/44703/4 "2021-06-24T17:10:12Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
