createFeatureWithType method
- FeatureType featureType, {
- 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.