Topic: Track GPS with a LineRender

Is it possible to track the GPS with a Line render for maps with elevation and record it in GPX?

Re: Track GPS with a LineRender

Hello.

You can track the GPS.
http://infinity-code.com/doxygen/online … 444f547053

You can create or load GPX.
https://infinity-code.com/atlas/online- … ample.html

You can display your path using Line Renderer.
To do this, subscribe to OnlineMaps.OnChangePosition and OnlineMaps.OnChangeZoom, and update position of points in Line Renderer.
Use OnlineMapsControlBaseDynamicMesh.GetWorldPositionWithElevation to convert coordinates to Unity World Position.
http://infinity-code.com/doxygen/online … 37bdd7bfa1
http://infinity-code.com/doxygen/online … 953048d3d6

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 40 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.