Display your current location on a map, record a track while you are walking or plan your trek and import it into the application.
You can import and export your tracks as GPX or KML files.
This application is opensource, the source code is available on github.com.