# Dynamic custom markers

**URL:** <https://community.weweb.io/t/dynamic-custom-markers/5270>\
**Category:** How do I?\
**Created:** [November 7, 2023, 12:18pm UTC](https://community.weweb.io/t/dynamic-custom-markers/5270 "2023-11-07T12:18:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marciano\_antonacci](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@marciano\_antonacci](https://community.weweb.io/u/marciano_antonacci)\
**Post date:** [November 7, 2023, 12:18pm UTC](https://community.weweb.io/t/dynamic-custom-markers/5270/1 "2023-11-07T12:18:52Z")

</div>

Hi,

I just tried the custom marker in the Google Maps component. Very good addition to the component!  
My question is if it’s also possible to dynamically change the icon based on a property of the record I’m showing. In my specific use case, locations get a ranking of gold, silver or bronze and i would like to use the corresponding medal as marker for each location.

I see it is possible to use binding for the icon but I don’t see an option to do the above?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Quentin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/quentin/32/6_2.png) [@Quentin](https://community.weweb.io/u/Quentin)\
**Post date:** [November 7, 2023, 2:06pm UTC](https://community.weweb.io/t/dynamic-custom-markers/5270/2 "2023-11-07T14:06:36Z")

</div>

Hey,

You can use the new custom marker option in the Google Maps element:

 ![CleanShot 2023-11-07 at 15.05.46](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c1aca442c5ce22f9a35d1f0306ce54f79a466ef8.jpeg)

---

<div class="post-metadata">

**Author:** ![marciano\_antonacci](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@marciano\_antonacci](https://community.weweb.io/u/marciano_antonacci)\
**Post date:** [November 7, 2023, 2:21pm UTC](https://community.weweb.io/t/dynamic-custom-markers/5270/3 "2023-11-07T14:21:43Z")

</div>

Hey,

I did find the new custom marker option. Although my question was if these can be dynamically changed for each marker.

---

<div class="post-metadata">

**Author:** ![Quentin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/quentin/32/6_2.png) [@Quentin](https://community.weweb.io/u/Quentin)\
**Post date:** [November 7, 2023, 3:08pm UTC](https://community.weweb.io/t/dynamic-custom-markers/5270/4 "2023-11-07T15:08:35Z")

</div>

You can set it for each marker when binding them by providing the path to the logo to use 😉
