Need help with adding a marker in google maps

Hello,

I want to add a marker on a google map when a user long clicks, but it’s not working. Here are my blocks:

I have searched the forum and there are many similar posts but yet I haven’t found a solution

Try to used number for color.
eg: number 0 (zero)
[{…lat…
,color
0
,title

}]

4 Likes
3 Likes

Thanks for the help

What was the solution?

To use numbers instead of the color block, example: 128

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