# Ionic navigation from gpx file

**URL:** <https://forum.ionicframework.com/t/ionic-navigation-from-gpx-file/223314>\
**Category:** Ionic Framework\
**Created:** [May 16, 2022, 9:42am UTC](https://forum.ionicframework.com/t/ionic-navigation-from-gpx-file/223314 "2022-05-16T09:42:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RenzoM78](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/renzom78/32/124246_2.png) [@RenzoM78](https://forum.ionicframework.com/u/RenzoM78)\
**Post date:** [May 16, 2022, 9:42am UTC](https://forum.ionicframework.com/t/ionic-navigation-from-gpx-file/223314/1 "2022-05-16T09:42:14Z")

</div>

Hi everyone,  
I want to create a function in an app where i use openstreetmap or mapbox(or if you know something better im glad to hear that) where i also can import a gpx file and then use that as navigation with directions just like when you use navigation to go somewhere.

I think it is possible but is it possible in Ionic with Capacitor or Angular?

---

<div class="post-metadata">

**Author:** ![pirex360](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/pirex360/32/145327_2.png) [@pirex360](https://forum.ionicframework.com/u/pirex360)\
**Post date:** [July 21, 2022, 1:24pm UTC](https://forum.ionicframework.com/t/ionic-navigation-from-gpx-file/223314/2 "2022-07-21T13:24:52Z")

</div>

Hi there, any update on this need? I also want to create something that reads gpx format.

---

<div class="post-metadata">

**Author:** ![Tommertom](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@Tommertom](https://forum.ionicframework.com/u/Tommertom)\
**Post date:** [July 21, 2022, 2:11pm UTC](https://forum.ionicframework.com/t/ionic-navigation-from-gpx-file/223314/3 "2022-07-21T14:11:10Z")

</div>

Can it be done? Yes

Out of the box? No

Is it any way related to Ionic or Capacitor? Not very close - this is all js html and css stuff you need to figure out

---

<div class="post-metadata">

**Author:** ![pirex360](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/pirex360/32/145327_2.png) [@pirex360](https://forum.ionicframework.com/u/pirex360)\
**Post date:** [October 9, 2023, 10:17am UTC](https://forum.ionicframework.com/t/ionic-navigation-from-gpx-file/223314/4 "2023-10-09T10:17:16Z")

</div>

In my case, I solve it because leaflet has an option to load GPX files
