My first tutorial so comments are welcome.
Edited because of the routine of Carlos Pedroza.
I am making an app with 25 tracks in it. Each track is displayed in a Googlemap. The creation of the Json style string was the hard part but… i found an “easy” solution.
I would like to tell you how i or you can easily transform a track into a Json string.
I start by entering the track using the website afstandmeten.nl
This is the help for the site. You can choose Dutch or English.
After making the track you can download it.
Choose “Exporteer to KML”.
You get a file like this:
Copy this part of the kml-file to the clipboard:
Now use the routine of Carlos in your app or use the sample app with the KML code.