FeatureCollectionTable

constructor(featureSet: FeatureSet)

Creates a FeatureCollectionTable populated from the specified FeatureSet. The FeatureCollectionTable will be populated with the contents of the FeatureSet. Note that this constructor may take some time to complete depending on how many features are in the feature set.

Since

200.1.0

Parameters

featureSet

An object that implements the FeatureSet.


constructor(fields: Iterable<Field>, geometryType: GeometryType, spatialReference: SpatialReference? = null, hasZ: Boolean = false, hasM: Boolean = false)

Creates an empty FeatureCollectionTable from the specified fields, geometry type, spatial reference. The table can contain z and m values.

Since

200.1.0

Parameters

fields

A MutableList of type Field. Contents of the MutableList will be copied. Can be null.

geometryType

The type of geometry that will be held in this table. Can be com.arcgismaps.geometry.GeometryType.Unknown.

spatialReference

The spatial reference of the features that will be held in this table. Can be null as long as geometry_type is com.arcgismaps.geometry.GeometryType.Unknown.

hasZ

Boolean specifying whether the table supports geometries with Z values.

hasM

Boolean specifying whether the table supports geometries with M values.


constructor(geoElements: Iterable<GeoElement>, fields: Iterable<Field>)

Creates a FeatureCollectionTable populated from the specified com.arcgismaps.mapping.GeoElement collection. The geometry type and spatial reference will be inferred from the geo-elements passed in. Note that this constructor may take some time to complete depending on how many geo-elements are passed in.

Since

200.1.0

Parameters

geoElements

A MutableList of objects that implement the com.arcgismaps.mapping.GeoElement. Contents of the MutableList will be copied.

fields

A MutableList of type Field. Contents of the MutableList will be copied. Can be null.