@Override
    public void repaintRequired() {
        drawPosition();
        drawHistory();
        drawViewport(lastViewport);
        drawRouteAndTracks();
        drawLongTapMarker();
    }
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/google/v2/GooglePositionAndHistory.java