createFeatureWithSubtype method

ArcGISFeature createFeatureWithSubtype(
  1. FeatureSubtype featureSubtype, {
  2. Geometry? geometry,
})

Creates a new feature based on the provided feature subtype and geometry.

Parameters:

  • featureSubtype — The feature subtype.
  • geometry — The geometry.

Return Value: An ArcGISFeature.