I am having issues getting any icon on my WorldMap node in Node-RED. I know that the input string has to be formatted in a very specific way, which I believe I have done correctly. I have tried both my own custom string closer to what I want to show and the example on the worldmap plugin page verbatim, and neither have worked. Note that In reality, this data comes from a GPS sensor and the Module MQTT, but am putting placeholder strings in for now to test. I'm probably missing some small detail. Can anyone spot it for me? Thanks.
I think map markers have to be an array of objects. Try this:
msg.payload = [{"name": "Jason","lat":42.73,"lon": -90.2}];
Both should work. If it's an array it will plot all the points.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.