# Add label to marker on map and cluster markers on zoom out

**URL:** <https://forum.inductiveautomation.com/t/add-label-to-marker-on-map-and-cluster-markers-on-zoom-out/68251>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 5, 2023, 8:14am UTC](https://forum.inductiveautomation.com/t/add-label-to-marker-on-map-and-cluster-markers-on-zoom-out/68251 "2023-01-05T08:14:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theodorska](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@Theodorska](https://forum.inductiveautomation.com/u/Theodorska)\
**Post date:** [January 5, 2023, 8:14am UTC](https://forum.inductiveautomation.com/t/add-label-to-marker-on-map-and-cluster-markers-on-zoom-out/68251/1 "2023-01-05T08:14:19Z")

</div>

Hello,

I have a map with several markers on it. I want to be able to add a label to marker shown under the icon. I don't want a popup as I use popups for a different feature.

I also want to cluster icons/markers to a single icon when I zoom out to avoid a bunch of overlaying icons and labels. I imagine a zoom breakpoint where several markers that are in close proximity becomes one piechart icon.

Is this possible in ignition?

---

<div class="post-metadata">

**Author:** ![Patrick\_Chanthilack](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/patrick_chanthilack/32/42479_2.png) [@Patrick\_Chanthilack](https://forum.inductiveautomation.com/u/Patrick_Chanthilack)\
**Post date:** [January 11, 2023, 10:25pm UTC](https://forum.inductiveautomation.com/t/add-label-to-marker-on-map-and-cluster-markers-on-zoom-out/68251/2 "2023-01-11T22:25:45Z")

</div>

Hello theodor\_skaufel,

To answer your question, you can configure a tooltip to have a custom message shown when hovering over your label. You can configure a custom tooltip by navigating on the Perspective Property Editor for the map component by going to ui \> marker \> tooltip \> context \> text.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/1/9141c16b54ac2fe21ff8f53d3ed592efc65bff4f.jpeg)

For the current configuration of the map component, I have tested the zoom functionality of the component and it does not keep track of how zoomed in the component is. To achieve what you are looking for you can submit a feature request at the link below.

> **[Ignition Features and Ideas | Inductive Automation](https://inductiveautomation.canny.io/ignition-features-and-ideas)**
>
> How can we improve Ignition?

---

<div class="post-metadata">

**Author:** ![Ricardo\_Guillermo\_Re](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@Ricardo\_Guillermo\_Re](https://forum.inductiveautomation.com/u/Ricardo_Guillermo_Re)\
**Post date:** [August 30, 2023, 7:19pm UTC](https://forum.inductiveautomation.com/t/add-label-to-marker-on-map-and-cluster-markers-on-zoom-out/68251/3 "2023-08-30T19:19:07Z")

</div>

Hi Patrick I fount a page where uploaded a script as you can see.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/0/b0b26c74fa702d8c52580cfbdb4188a0f3af6f08.png)  
For this he can increase the account of markers while he is making zoom into the map  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4e460075650b5b55ab00d87bb07078031e436e31.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/6/d64ed7f3f266b68c9edd555c3bae33966bc29c75.jpeg)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/2/c271546aef3a4772da5c28740c7c751304857cbb.jpeg)

this is not especificlly in Ignition but they are using open street maps.

[Markercluster](https://stackoverflow.com/questions/49333263/how-to-use-leaflet-markerclustergroup)

I´m trying to do a similar thing

---

<div class="post-metadata">

**Author:** ![JeremyMills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jeremymills/32/70121_2.png) [@JeremyMills](https://forum.inductiveautomation.com/u/JeremyMills)\
**Post date:** [September 9, 2024, 5:03pm UTC](https://forum.inductiveautomation.com/t/add-label-to-marker-on-map-and-cluster-markers-on-zoom-out/68251/4 "2024-09-09T17:03:04Z")

</div>

@Ricardo_Guillermo_Re Thanks for adding this information in the topic.

Did either of you ever figure out how to do this?

Also, Any functionality for adding a label to your markers?
