# GPX or GeoJson Track on a Map component

**URL:** <https://forum.inductiveautomation.com/t/gpx-or-geojson-track-on-a-map-component/54074>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [December 13, 2021, 9:08pm UTC](https://forum.inductiveautomation.com/t/gpx-or-geojson-track-on-a-map-component/54074 "2021-12-13T21:08:51Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nathan.boeger](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nathan.boeger/32/87646_2.png) [@nathan.boeger](https://forum.inductiveautomation.com/u/nathan.boeger)\
**Post date:** [December 14, 2021, 5:50pm UTC](https://forum.inductiveautomation.com/t/gpx-or-geojson-track-on-a-map-component/54074/3 "2021-12-14T17:50:39Z")

</div>

From the dev team:  
Best option is to roll your own GeoJSON. First start by creating a static dataset that works how you want on the Perspective Map component (instructions at the end of the [document](https://forum.inductiveautomation.com/uploads/short-url/nToCmeQBnilKMLDMmFGUz2JJOfS.pdf) I posted). We can separately deal with the problem set of dynamically generating the GeoJSON in the appropriate format (queries, scripting, transform, http binding, etc).

Resources to help:  
[https://mapbox.github.io/togeojson/](https://mapbox.github.io/togeojson/)  
[https://leafletjs.com/examples/geojson/](https://leafletjs.com/examples/geojson/)

The Perspective Map component does not currently support “styles”. There is an active ticket (IGN-3354) to improve the map component, work not to start before 1Q22. If you email me a business case tied to customer examples I can get the support and requirement “ask” into the ticket. This ticket should include support for KML and GPX conversion to GeoJSON.

---

_[View the full topic](https://forum.inductiveautomation.com/t/gpx-or-geojson-track-on-a-map-component/54074)._
