createFeature

fun createFeature(featureSubtype: FeatureSubtype, geometry: Geometry? = null): ArcGISFeature

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

Return

An ArcGISFeature.

Since

200.1.0

Parameters

featureSubtype

The feature subtype.

geometry

The geometry.

Throws

if the ArcGIS feature table is not loaded


fun createFeature(featureTemplate: FeatureTemplate, geometry: Geometry? = null): ArcGISFeature

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

Return

An ArcGISFeature.

Since

200.1.0

Parameters

featureTemplate

The feature template.

geometry

The geometry.

Throws

if the ArcGIS feature table is not loaded


fun createFeature(featureType: FeatureType, geometry: Geometry? = null): ArcGISFeature

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

Return

An ArcGISFeature.

Since

200.1.0

Parameters

featureType

Type of the feature.

geometry

The geometry.

Throws

if the ArcGIS feature table is not loaded