Ionic navigation from gpx file

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?

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

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

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