An individual table that can be stored in a FeatureCollection. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- featureSet : FeatureSet
- fields : list<Field>
- geoElements : list<GeoElement>
- geometryType : Enums.GeometryType
- hasM : bool
- hasZ : bool
- iterator : FeatureIterator
- layerInfo : ArcGISFeatureLayerInfo
- renderer : Renderer
- spatialReference : SpatialReference
Signals
- featureSetChanged()
- fieldsChanged()
- geoElementsChanged()
- geometryTypeChanged()
- hasMChanged()
- hasZChanged()
- layerInfoChanged()
- rendererChanged()
- spatialReferenceChanged()
Methods
- void setSymbolOverride(Feature feature, Symbol symbol)
- Symbol symbolOverride(Feature feature)
Detailed Description
Represents an individual feature table in a FeatureCollection. It consists of a feature definition (table schema) and a set of features that match that feature definition. It offers support for overriding the renderer symbology on a per-feature basis.
To create a FeatureCollectionTable, specify the fields, geometry type, and spatial reference of features in this table. Or, create it from a list of GeoElements or features already existing in another FeatureSet (for example, a query result).
If a FeatureCollectionTable is created with all the information needed to instantiate and load it, it will automatically load and you can use it to create a Feature. However, if it is default constructed without all the required information, then you must explicitly load the FeatureCollectionTable before using it to create a Feature.
// The following fails to create a Feature from the default-constructed // FeatureCollectionTable because it was not loaded automatically. var inputFeatures1 = ArcGISRuntimeEnvironment.createObject("FeatureCollectionTable"); inputFeatures1.geometryType = Enums.GeometryTypePoint; inputFeatures1.spatialReference = Factory.SpatialReference.createWebMercator(); var inputFeature1 = inputFeatures1.createFeature(); // inputFeature will be null // The following successfully creates a new Feature because the // FeatureCollectionTable was created with enough information to // instantiate and load itself. var inputFeatures2 = ArcGISRuntimeEnvironment.createObject("FeatureCollectionTable", {geometryType: Enums.GeometryTypePoint, spatialReference: Factory.SpatialReference.createWebMercator()}); var inputFeature2 = inputFeatures2.createFeature(); // inputFeature2 will be a Feature
See also FeatureSet.
Property Documentation
featureSet : FeatureSet |
The FeatureSet used to create this FeatureCollectionTable.
fields : list<Field> |
Returns the list of Field objects representing the fields in this FeatureCollectionTable (read-only).
See also Field.
geoElements : list<GeoElement> |
Returns the GeoElements used to create this FeatureCollectionTable (read-only).
See also GeoElement.
The type of geometry shared by all features in this FeatureCollectionTable.
See also Enums.GeometryType.
Whether geometry of features in this FeatureCollectionTable have m-values.
This property should not be changed after this object has loaded.
Whether geometry of features in this FeatureCollectionTable have z-coordinates.
This property should not be changed after this object has loaded.
iterator : FeatureIterator |
Returns an iterator to iterate over features in the FeatureCollectionTable (read-only).
layerInfo : ArcGISFeatureLayerInfo |
Returns the layer info object for this FeatureCollectionTable (read-only).
renderer : Renderer |
The renderer used for features in this FeatureCollectionTable.
spatialReference : SpatialReference |
The spatial reference of the features in this FeatureCollectionTable.
This property should not be changed after this object has loaded.
Signal Documentation
Emitted when the featureSet property changes.
Note: The corresponding handler is onFeatureSetChanged
.
Emitted when the fields property changes.
Note: The corresponding handler is onFieldsChanged
.
Emitted when the geoElements property changes.
Note: The corresponding handler is onGeoElementsChanged
.
Emitted when the geometryType property changes.
Note: The corresponding handler is onGeometryTypeChanged
.
Emitted when the hasM property changes.
Note: The corresponding handler is onHasMChanged
.
Emitted when the hasZ property changes.
Note: The corresponding handler is onHasZChanged
.
Emitted when the layerInfo property changes.
Note: The corresponding handler is onLayerInfoChanged
.
Emitted when the renderer property changes.
Note: The corresponding handler is onRendererChanged
.
Emitted when the spatialReference property changes.
Note: The corresponding handler is onSpatialReferenceChanged
.
Method Documentation
Sets the symbol override for a specific feature to symbol.
See also symbolOverride().
Returns the symbol override for the feature, if any.
See also setSymbolOverride().