code: public static Feature fromGeometry(@Nullable Geometry geometry, @NonNull JsonObject properties,
                                       @Nullable String id, @Nullable BoundingBox bbox) {
      return new Feature(TYPE, bbox, id, geometry,
        properties == null ? new JsonObject() : properties);
    }
docs: Create a new instance of this class by giving the feature a {@link Geometry}, optionally a
  set of properties, and a String which represents the objects id.
  
  @param geometry   a single geometry which makes up this feature object
  @param properties a {@link JsonObject} containing the feature properties
  @param bbox       optionally include a bbox definition as a double array
  @param id         common identifier of this feature
  @return {@link Feature}
  @since 1.0.0