# Worldmap GPS tracking

**URL:** <https://discourse.nodered.org/t/worldmap-gps-tracking/13895>\
**Category:** Dashboard\
**Created:** [1 August 2019 09:15 UTC](https://discourse.nodered.org/t/worldmap-gps-tracking/13895 "2019-08-01T09:15:33Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [15 August 2019 06:41 UTC](https://discourse.nodered.org/t/worldmap-gps-tracking/13895/21 "2019-08-15T06:41:01Z")

</div>

Hi Mike,  
That looks like a great place to visit, going to put it on my list.

---

<div class="post-metadata">

**Author:** ![panban-ux](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/panban-ux/32/21609_2.png) [@panban-ux](https://discourse.nodered.org/u/panban-ux)\
**Post date:** [23 May 2020 11:01 UTC](https://discourse.nodered.org/t/worldmap-gps-tracking/13895/22 "2020-05-23T11:01:01Z")

</div>

Do i need to add some function node before the tracks node that feed the world map?  
and if yes what payload data should i feed? . eg a path ? "payload\_fields.gps\_1.longitude" ?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [23 May 2020 11:22 UTC](https://discourse.nodered.org/t/worldmap-gps-tracking/13895/23 "2020-05-23T11:22:30Z")

</div>

same as you feed into the worldmap node itself.

---

<div class="post-metadata">

**Author:** ![panban-ux](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/panban-ux/32/21609_2.png) [@panban-ux](https://discourse.nodered.org/u/panban-ux)\
**Post date:** [23 May 2020 11:33 UTC](https://discourse.nodered.org/t/worldmap-gps-tracking/13895/24 "2020-05-23T11:33:06Z")

</div>

> [@afelix](#):
>
> irectly into the worldmap, it will show the tracks as

Thanks @dceejay  
though when i import the folowing in fuction node i dont get anything at the map  
var data={  
lat: msg.payload.gps\_1.latitude,  
lon: msg.payload.gps\_1.longitude,  
tempCelsius: msg.payload.temperature\_2,  
name: "Rak5205",  
icon: "satellite",  
iconColor: "red",  
radius: msg.payload.hAcc,  
date: Date().toString()  
};  
var msg1 = {  
"payload" : JSON.parse(JSON.stringify(data))  
};

return msg1;

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [23 May 2020 11:37 UTC](https://discourse.nodered.org/t/worldmap-gps-tracking/13895/25 "2020-05-23T11:37:52Z")

</div>

can you feed that into a debug node so we can see what is actually going into the worldmap node ?

---

<div class="post-metadata">

**Author:** ![panban-ux](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/panban-ux/32/21609_2.png) [@panban-ux](https://discourse.nodered.org/u/panban-ux)\
**Post date:** [23 May 2020 11:45 UTC](https://discourse.nodered.org/t/worldmap-gps-tracking/13895/26 "2020-05-23T11:45:49Z")

</div>

I was thinking the same before, posting the debug window, so here it is

 ![flow](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/f/5f7bb15ce9dbd9b79aa4bbd3a2ead3fcde90b0ce.png)

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [23 May 2020 14:22 UTC](https://discourse.nodered.org/t/worldmap-gps-tracking/13895/27 "2020-05-23T14:22:18Z")

</div>

No. You need to feed it into both the tracks and the worldmap At the same time.

[Previous page](https://discourse.nodered.org/t/worldmap-gps-tracking/13895.md?page=1)
