# Having trouble setting custom icons for markers in Map component

**URL:** <https://forum.inductiveautomation.com/t/having-trouble-setting-custom-icons-for-markers-in-map-component/100335>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 31, 2024, 9:53am UTC](https://forum.inductiveautomation.com/t/having-trouble-setting-custom-icons-for-markers-in-map-component/100335 "2024-12-31T09:53:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali\_Paridari](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Ali\_Paridari](https://forum.inductiveautomation.com/u/Ali_Paridari)\
**Post date:** [December 31, 2024, 9:53am UTC](https://forum.inductiveautomation.com/t/having-trouble-setting-custom-icons-for-markers-in-map-component/100335/1 "2024-12-31T09:53:43Z")

</div>

I have designed a set of SVG icons with text titles inside them. I added text to the icon SVG because there is no way to set a text label for markers in maps.

I have added my SVG files under this folder:  
`$IGNITION_HOME$/data/modules/perspective/icons`

My problem is when i try to set the marker icon with one of my SVGs, nothing appears in the Map.

a. Why don't my SVGs show in the map?  
b. How else can i set text labels for markers in the Map component?

Here is the link to one of my SVGs:

```python
https://filebin.net/20oawr1oxtiqnt3d

```

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [December 31, 2024, 11:50am UTC](https://forum.inductiveautomation.com/t/having-trouble-setting-custom-icons-for-markers-in-map-component/100335/2 "2024-12-31T11:50:45Z")

</div>

I believe you need to configure your icons to match the design/formatting of the existing icons. I'm on mobile at the moment, but I just dissected the format of the existing files and made mine match it to pull in custom icons. Once this is done, the icons should show up when using the icon component to let you manually select them as a test. Once you have that working, you should be able to use them on the map.

Edit: I just looked at your SVG and I don't believe you can have colors like you have for icons. I think they have to be monochromatic, but someone else may be able to verify this.
