private static ArrayList<List<LatLng>> toLatLng(final IGeoItemSupplier gg) {
        final ArrayList<List<LatLng>> list = new ArrayList<>();
        GeoGroup.forAllPrimitives(gg.getItem(), go -> list.add(GP_CONVERTER.toList(go.getPoints())));
        return list;
    }
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