Can anyone plz tell me how to load a .gpx file to my android application? I am using eclipse IDE, I have a osm map in my app, i want to integrate the .gpx file to this osm in the application plz help me asked 14 Jan '15, 06:18 Mary Mathew edited 14 Jan '15, 08:03 scai ♦ |
One Answer:
Since you are using osmdroid take a look at the osmbonuspack. I'm not familiar with osmbonuspack (nor with osmdroid) but Tutorial 1 describes the steps for displaying a route. answered 14 Jan '15, 09:10 scai ♦ But sir i clearly mentioned i want to add or integrate the .gpx file. The tutorial 1 dosent mention anything about .gpx file (14 Jan '15, 09:20) Mary Mathew That's correct, as far as I can tell osmdroid + osmbonuspack don't support GPX files directly. But with a little parsing you can extract the coordinates from the GPX file and build the polylines yourself. (14 Jan '15, 09:54) scai ♦ |
This depends on the framework(s) you are using. Can you give us more details about your application?
sir, i'm developing a taxi app where im using an osm map i want t0 integrate .gpx file containing tracks and POI's .My app is android app im using eclipse juno and jars osmdroid4.2 and sl4j 1.5.8.
i want to integrate this .gpx file inside my eclipse code.
plz do help me sir