public ArrayList<TrailHistoryElement> getHistory() {
        return history;
    }
Adds the current position to the trail history to be able to show the trail on the map.
main/src/main/java/cgeo/geocaching/maps/PositionHistory.java