Invalid input: markers needs to be represented as JsonTray

I am getting problem in Maps component. A Toast notification is being showed with message “invalid input: markers needs to be represented as JsonTray”.
Please Help Me.

In Google maps if you are using add marker from json the json string should look like this

[{lat:43.0222,lng:25.03514,color:210,title:Example_Title,snippet:Example_Snippet,draggable:false/true}]

1 Like