Provides access to members that control common aspects of a feature layer. Note: the IFeatureLayer interface has been superseded byIFeatureLayer2. Please consider using the more recent version.
Product Availability
Description
Members
Description | ||
---|---|---|
AreaOfInterest | The default area of interest for the layer. | |
Cached | Indicates if the layer needs its own display cache. | |
DataSourceType | Data source type. | |
DisplayField | Primary display field. | |
Draw | Draws the layer to the specified display for the given draw phase. | |
FeatureClass | The layer's feature class. | |
MaximumScale | Maximum scale (representative fraction) at which the layer will display. | |
MinimumScale | Minimum scale (representative fraction) at which the layer will display. | |
Name | Layer name. | |
ScaleSymbols | Indicates if symbols are scaled for the layer. | |
Search | Creates a cursor based upon the search criteria. | |
Selectable | Indicates if layer is selectable. | |
ShowTips | Indicates if the layer shows map tips. | |
SpatialReference | Spatial reference for the layer. | |
SupportedDrawPhases | Supported draw phases. | |
TipText | Map tip text at the specified location. | |
Valid | Indicates if the layer is currently valid. | |
Visible | Indicates if the layer is currently visible. |
Inherited Interfaces
Interfaces | Description |
---|---|
ILayer | Provides access to members that work with all layers. |
CoClasses that implement IFeatureLayer
CoClasses and Classes | Description |
---|---|
CadAnnotationLayer | An Esri Cad annotation layer. |
CadastralFabricSubLayer | Cadastral Fabric Feature Layer Object. |
CadFeatureLayer | Esri CAD Feature Layer class. |
CoverageAnnotationLayer | An Esri coverage annotation layer. |
DimensionLayer | A collection of properties for a dimension layer. |
FDOGraphicsLayer | A collection of properties for an annotation layer (feature data object graphics layer). |
FeatureLayer | A collection of features and their visual representation. |
GdbRasterCatalogLayer | Geodabase RasterCatalog source and display options. |
ImageServerLayer | Image server layer source and display options. |
IMSSubFeatureLayer | A collection of IMS features as a sublayer of an IMSMapLayer. |
MADtedLayer (esriDefenseSolutions) | A layer used to control the display of MA DTED Catalogs. |
MARasterLayer (esriDefenseSolutions) | A layer used to control the display of MA RPF Catalogs. |
TemporalFeatureLayer (esriTrackingAnalyst) | Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object. |
Remarks
This interface has properties that specify the feature
class of the layer, the data source type, the primary display
field, whether or not layer symbols scale based on the map's
reference scale, and whether or not the layer is
selectable.
There is also a method Search for
performing a search on the layer. This method returns a cursor of
features from the layer that meet a given search criteria. If there
is a definition query set on the layer, Search
will work on the subset of the features in the layer that meet the
definition criteria. However, the Search method
will not work on joined fields. If the feature layer has any joins,
use the IGeoFeatureLayer::SearchDisplayFeatures
method instead.
IGeoFeatureLayer provides access to all properties and methods of IFeatureLayer plus additional properties to access a layer's feature renderer and labeling properties. Fewer layer types support IGeoFeatureLayer compared to IFeatureLayer.