code: public static Feature fromGeometry(@Nullable Geometry geometry) {
      return new Feature(TYPE, null, null, geometry, new JsonObject());
    }
docs: Create a new instance of this class by giving the feature a {@link Geometry}.
  
  @param geometry a single geometry which makes up this feature object
  @return a new instance of this class defined by the values passed inside this static factory
  method
  @since 1.0.0