public void setHistory(final ArrayList<TrailHistoryElement> history) {
        this.history = 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