Hi Mike,
That looks like a great place to visit, going to put it on my list.
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" ?
same as you feed into the worldmap node itself.
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;
can you feed that into a debug node so we can see what is actually going into the worldmap node ?
No. You need to feed it into both the tracks and the worldmap At the same time.