public ArrayList<TrailHistoryElement> getHistory() {
        return positionHistory.getHistory();
    }
maximum distance (in meters) up to which two points in the trail get connected by a drawn line
main/src/main/java/cgeo/geocaching/maps/mapsforge/v6/layers/HistoryLayer.java