# Worldmap KML, GPX, or TOPOJSON example needed

**URL:** <https://discourse.nodered.org/t/worldmap-kml-gpx-or-topojson-example-needed/15852>\
**Category:** General\
**Created:** [24 September 2019 10:25 UTC](https://discourse.nodered.org/t/worldmap-kml-gpx-or-topojson-example-needed/15852 "2019-09-24T10:25:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [24 September 2019 11:09 UTC](https://discourse.nodered.org/t/worldmap-kml-gpx-or-topojson-example-needed/15852/6 "2019-09-24T11:09:35Z")

</div>

Unfortunately your flow isn't currently importable.Please read the following post [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506) and then edit the above message.

But here's an example of a working gpx

````auto
[{"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":[]}]```
````

---

_[View the full topic](https://discourse.nodered.org/t/worldmap-kml-gpx-or-topojson-example-needed/15852)._
