public static Feature fromGeometry(@Nullable Geometry geometry, @Nullable JsonObject properties,
                                     @Nullable BoundingBox bbox) {
    return new Feature(TYPE, bbox, null, geometry,
      properties == null ? new JsonObject() : properties);
  }
public static Feature fromGeometry ( @ Nullable Geometry geometry , @ Nullable JsonObject properties , @ Nullable BoundingBox bbox ) { return new Feature ( TYPE , bbox , null , geometry , properties == null ? new JsonObject ( ) : properties ) ; }
Create a new instance of this class by giving the feature a {@link Geometry}, optionally a
set of properties, and optionally pass in a bbox.

@param geometry   a single geometry which makes up this feature object
@param bbox       optionally include a bbox definition as a double array
@param properties a {@link JsonObject} containing the feature properties
@return a new instance of this class defined by the values passed inside this static factory
method
@since 1.0.0