Worldmap KML, GPX, or TOPOJSON example needed

Unfortunately your flow isn't currently importable.Please read the following post How to share code or flow json and then edit the above message.

But here's an example of a working gpx

[{"id":"e6cafba3.9c9818","type":"function","z":"9e9d87d7.596b8","name":"","func":"var m = {overlay:msg.topic, gpx:msg.payload};\n\nmsg.payload = {command:{map:m}};\n\nreturn msg;","outputs":1,"noerr":0,"x":471,"y":103,"wires":[["e0901d7e.5d96b8","7a5eca14.e6428c"]]},{"id":"e0901d7e.5d96b8","type":"worldmap","z":"9e9d87d7.596b8","name":"","lat":"","lon":"","zoom":"","layer":"Watercolor","cluster":"","maxage":"","usermenu":"show","layers":"show","panit":"false","hiderightclick":"false","coords":"none","path":"worldmap","x":637,"y":105,"wires":[]},{"id":"792a879c.26a36","type":"template","z":"9e9d87d7.596b8","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"plain","template":"<gpx>\n   <rte>\n      <name>A busy route</name>\n      <rtept lat=\"50.82052\" lon=\"-0.14491\">\n         <name>Start</name>\n      </rtept>\n      <rtept lat=\"51.4996\" lon=\"-0.12546\">\n         <name>end</name>\n      </rtept>\n   </rte>\n</gpx>\n","output":"str","x":307.5,"y":104,"wires":[["a9ae41d4.c62808","e6cafba3.9c9818"]]},{"id":"fffe28fa.ee019","type":"inject","z":"9e9d87d7.596b8","name":"","topic":"the dash","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":130.5,"y":102,"wires":[["792a879c.26a36"]]},{"id":"a9ae41d4.c62808","type":"debug","z":"9e9d87d7.596b8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":436.5,"y":382,"wires":[]},{"id":"7a5eca14.e6428c","type":"debug","z":"9e9d87d7.596b8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":519.5,"y":260,"wires":[]}]```
1 Like