# Custom Google Maps Marker Icons

**URL:** <https://forum.adalo.com/t/custom-google-maps-marker-icons/3104>\
**Category:** Get Help\
**Created:** [August 7, 2020, 10:38pm UTC](https://forum.adalo.com/t/custom-google-maps-marker-icons/3104 "2020-08-07T22:38:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iron49man](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/iron49man/32/2474_2.png) [@iron49man](https://forum.adalo.com/u/iron49man)\
**Post date:** [August 7, 2020, 10:38pm UTC](https://forum.adalo.com/t/custom-google-maps-marker-icons/3104/1 "2020-08-07T22:38:39Z")

</div>

So here’s what I’m trying to do in the most basic sense. I’ll leave out the fluff around this to simplify the problem.

I have a Google Marker on my maps that looks like this:

![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/9/9faf3117918d48a96c0dc53d671f23efdf896008.png)

This is the default marker.

I need to change the marker icon to a custom one. For purposes of this example, I am using this one:

![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/1/12fbdf9bb4b50003c44106a2436f242b1b58518c.png)

I tried adding this bit of JSON code to the Maps custom JSON field but it causes the maps element to not even load so it can’t be right:

```
 [
{      
"elementType": "marker",
"stylers": [
        {
            "icon": 'https://developers.google.com/maps/documentation/javascript/examples/full/images/beachflag.png',
        }
    ]
},
]

```

My question is: What is the proper JSON code to change the marker icon? OR If there is a different way to do this I would love to hear it.

Thank you in advance for your help

---

<div class="post-metadata">

**Author:** ![ben1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ben1/32/1040_2.png) [@ben1](https://forum.adalo.com/u/ben1)\
**Post date:** [August 8, 2020, 4:10pm UTC](https://forum.adalo.com/t/custom-google-maps-marker-icons/3104/2 "2020-08-08T16:10:05Z")

</div>

I am also interested in hearing if this is possible. From my research, I didn’t believe it was possible just with JSON changes.

---

<div class="post-metadata">

**Author:** ![iron49man](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/iron49man/32/2474_2.png) [@iron49man](https://forum.adalo.com/u/iron49man)\
**Post date:** [August 8, 2020, 5:53pm UTC](https://forum.adalo.com/t/custom-google-maps-marker-icons/3104/3 "2020-08-08T17:53:32Z")

</div>

Would be easy if we could add custom javascript because I can store it as a variable but I am very unfamiliar with JSON and seems like it cannot handle that kind of scripting.

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [August 10, 2020, 9:06pm UTC](https://forum.adalo.com/t/custom-google-maps-marker-icons/3104/4 "2020-08-10T21:06:25Z")

</div>

Hi @iron49man unfortunately this is not currently possible to change with the JSON method. If it is a feature you require then pelase consider making a request here [Feature Requests | Adalo](https://ideas.adalo.com/feature-requests)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [August 20, 2020, 9:06pm UTC](https://forum.adalo.com/t/custom-google-maps-marker-icons/3104/5 "2020-08-20T21:06:26Z")

</div>

Closed on August 20, 2020, 9:06pm UTC

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