Provides access to additional members that work with all layers.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
ILayer2 is a generic interface for all layer objects. This interface has a method to draw the layer and provides access to generic layer properties. This interface adds to what is supported by ILayer by adding a property that indicates whether or not the scale range properties are read only and a property that lets you set the layer's area of interest.
Members
Description | ||
---|---|---|
AreaOfInterest | The default area of interest for the layer. | |
Cached | Indicates if the layer needs its own display cache. | |
Draw | Draws the layer to the specified display for the given draw phase. | |
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. | |
ScaleRangeReadOnly | Indicates if the minimum and maximum scale range values are read-only. | |
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. |
CoClasses that implement ILayer2
CoClasses and Classes | Description |
---|---|
BasemapSubLayer | Wrapper for layers in the basemap. |
CadAnnotationLayer | An Esri Cad annotation layer. |
CadastralFabricSubLayer | Cadastral Fabric Feature Layer Object. |
CadFeatureLayer | Esri CAD Feature Layer class. |
CompositeGraphicsLayer | A collection of graphics layers that behave like single layer. |
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. |
GroupLayer | A collection of layers that behaves like a single layer. |
IMSSubLayer | An IMS Layer as a sublayer of an IMSMapLayer. |
MADtedLayer (esriDefenseSolutions) | A layer used to control the display of MA DTED Catalogs. |
MapServerRESTSubLayer | Provides programmatic access to a MapServer SubLayer. |
MARasterLayer (esriDefenseSolutions) | A layer used to control the display of MA RPF Catalogs. |
MosaicLayer | The layer implementation of the Mosaic Dataset. |
NALayer (esriNetworkAnalyst) | The layer for defining, solving, and viewing network analysis results. |
NetworkLayer | Esri Network Layer CoClass. |
ProcessLayer (esriGeoprocessing) | A collection of process layers that behaves like a single layer. |
RasterBasemapLayer | Basemap Layer containing a Raster. |
RasterCatalogLayer | Raster catalog source and display options. |
RasterLayer | Raster layer source and display options. |
SchematicLayer (esriSchematic) | A Schematic layer object. |
TemporalFeatureLayer (esriTrackingAnalyst) | Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object. |
WMSGroupLayer | A container for the display of WMS group layers. |