# Worldmap setup correctly but not plotting coordinates

**URL:** <https://discourse.nodered.org/t/worldmap-setup-correctly-but-not-plotting-coordinates/26379>\
**Category:** Dashboard\
**Created:** [9 May 2020 13:13 UTC](https://discourse.nodered.org/t/worldmap-setup-correctly-but-not-plotting-coordinates/26379 "2020-05-09T13:13:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcooi77](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@mcooi77](https://discourse.nodered.org/u/mcooi77)\
**Post date:** [9 May 2020 13:13 UTC](https://discourse.nodered.org/t/worldmap-setup-correctly-but-not-plotting-coordinates/26379/1 "2020-05-09T13:13:50Z")

</div>

Hi,  
I am getting started on the worldmaps node feeding JSON-formatted coordinates via serial port to the wordlmap node.

Serial port works great, monitoring the debugging window my coordinate sets come in perfectly, refreshing every second.

Comparing my setup to the provided example I can't seem to tell a different in the flow other than the example injects a coordinate set when you push a button, and mine are getting "injected" via COM port @ 1s intervals.

Screenshot below reflects important characteristics of my setup:

 ![worldmapissues1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/9/e971b0fe24598e5512396747ecf1244abae9aa84.png) ![worldmapissues2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/8/c8952d26957495a69bf59b6c211914669cf17fcf.png)

---

<div class="post-metadata">

**Author:** ![mcooi77](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@mcooi77](https://discourse.nodered.org/u/mcooi77)\
**Post date:** [9 May 2020 13:56 UTC](https://discourse.nodered.org/t/worldmap-setup-correctly-but-not-plotting-coordinates/26379/2 "2020-05-09T13:56:02Z")

</div>

Ironically after fiddling for hours because node-red is a new platform for me I came across the issue in carefully analyzing my input stream.

The (Arduino) library I am using serializes the data into a string. Totally forgot about this!

Thus, the solution was to convert my serialized input data stream back into a proper JS object. See screenshot below.

 ![worldmapsoln](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/5/55e91311a9b922e23d5cf730923e2fc21a9481b0.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 May 2020 13:56 UTC](https://discourse.nodered.org/t/worldmap-setup-correctly-but-not-plotting-coordinates/26379/3 "2020-05-23T13:56:04Z")

</div>

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