# Map Marker Color change depending on dataset status

**URL:** <https://forum.inductiveautomation.com/t/map-marker-color-change-depending-on-dataset-status/90358>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 14, 2024, 12:15pm UTC](https://forum.inductiveautomation.com/t/map-marker-color-change-depending-on-dataset-status/90358 "2024-05-14T12:15:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [May 14, 2024, 12:15pm UTC](https://forum.inductiveautomation.com/t/map-marker-color-change-depending-on-dataset-status/90358/1 "2024-05-14T12:15:43Z")

</div>

I have a map with markers,

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/6/76dd672c7e5f4a75e76557df6f918fff266849e0.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/8/68b4b1e64148aead03367e7f5b79f9bef9a74109.png)

each marker have a name, example: "AND-ATARF"

on the dataset I have a column with the same names: "AND-ATARF" and it status, for example "5", when status 5 I want the color of the marker to be red.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/7/6789e6196e4c57dfcb25098669892e2d3b90a3ff.png)

what could be a way to do this?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 14, 2024, 12:18pm UTC](https://forum.inductiveautomation.com/t/map-marker-color-change-depending-on-dataset-status/90358/2 "2024-05-14T12:18:15Z")

</div>

See [Map marker in perspective - #8 by Transistor](https://forum.inductiveautomation.com/t/map-marker-in-perspective/90276/8) from a few days ago. You should be able to adapt it.
