createFeatureWithType method

ArcGISFeature createFeatureWithType(
  1. FeatureType featureType, {
  2. Geometry? geometry,
})

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

Parameters:

  • featureType — Type of the feature.
  • geometry — The geometry.

Return Value: An ArcGISFeature.