@Nullable
    private static Point getWaypointPoint(final cgeo.geocaching.models.Waypoint waypoint) {
        if (waypoint == null) {
            return null;
        }
        final Geopoint coordinates = waypoint.getCoords();
        if (coordinates == null) {
            return null;
        }

        // create one simple point with location
        final Location loc = new Location();
        loc.setProvider("cgeo");
        loc.setLatitude(coordinates.getLatitude());
        loc.setLongitude(coordinates.getLongitude());

        final Point p = new Point(waypoint.getName(), loc);
        GeoDataHelperKt.setParameterDescription(
                p, "Name: " + waypoint.getName() +
                        "<br />Note: " + waypoint.getNote() +
                        "<br />UserNote: " + waypoint.getUserNote() +
                        "<br /><br /> <a href=\"" + waypoint.getUrl() + "\">" + waypoint.getGeocode() + "</a>"
        );

        return p;
    }
This method constructs a {@code Point} for displaying in Locus

@return null, when the {@code Point} could not be constructed
main/src/main/java/cgeo/geocaching/apps/AbstractLocusApp.java