Provides access to members that work with all layers. Note: the ILayer interface has been superseded byILayer2. Please consider using the more recent version.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
ILayer is a generic interface for all layer objects. This interface has a method to draw the layer and provides access to generic layer properties.
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. | |
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 ILayer
CoClasses and Classes | Description |
---|---|
BasemapLayer | Layer containing a Basemap. |
CadAnnotationLayer | An Esri Cad annotation layer. |
CadastralFabricLayer | Cadastral Fabric Layer Object. |
CadastralFabricSubLayer | Cadastral Fabric Feature Layer Object. |
CadFeatureLayer | Esri CAD Feature Layer class. |
CadLayer | Esri CAD 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. |
DummyGraduatedMarkerLayer | A dummy layer used to display legend items in the style gallery (Singleton). |
DummyLayer | A dummy layer used to display legend items in the style gallery (Singleton). |
FDOGraphicsLayer | A collection of properties for an annotation layer (feature data object graphics layer). |
FDOGraphicsSublayer | A collection of properties for an annotation sublayer layer (feature data object graphics sublayer). |
FeatureLayer | A collection of features and their visual representation. |
ForceElementLayer (esriDefenseSolutions) | A custom layer, bound to a feature layer, that wraps a force element display list and makes it possible to view and manipulate its cached graphic contents in an ArcGIS map display. |
GdbRasterCatalogLayer | Geodabase RasterCatalog source and display options. |
GeoVideoLayer (esriGlobeCore) | The georeferenced video layer. |
GlobeGraphicsLayer (esriGlobeCore) | The Globe Graphics Layer. |
GlobeLayer (esriGlobeCore) | The cache-only globe layer. |
GlobeServerLayer (esriGlobeCore) | Provides programmatic access to a globe server layer. |
GraphicsLayer3D (esri3DAnalyst) | A 3D Graphics Layer. |
GraphicsSubLayer | Graphic sublayer handed back by the composite graphics layer. |
GroupLayer | A collection of layers that behaves like a single layer. |
ImageServerLayer | Image server layer source and display options. |
IMSMapLayer | A container for the display and manipulation of IMS layers. |
IMSSubFeatureLayer | A collection of IMS features as a sublayer of an IMSMapLayer. |
IMSSubLayer | An IMS Layer as a sublayer of an IMSMapLayer. |
JoinedControlPointLayer (esriCadastralUI) | Layer object that represents Control Points. |
JoinedLinePointLayer (esriCadastralUI) | Layer object that represents Joined LinePoints. |
JoinedParcelLayer (esriCadastralUI) | Layer object that represents Joined Parcels. |
JoinedParcelLineLayer (esriCadastralUI) | Layer object that represents Joined Parcel Lines. |
JoinedPointLayer (esriCadastralUI) | Layer object that represents Joined Points. |
KmlLayer (esriGlobeCore) | Esri KML Layer class. |
LasDatasetLayer | The Terrain Layer class. |
MADtedLayer (esriDefenseSolutions) | A layer used to control the display of MA DTED Catalogs. |
MapServerBasicSublayer | Provides programmatic access to a basic map server sublayer. |
MapServerFindSublayer | Provides programmatic access to a map server sublayer with Find capability. |
MapServerIdentifySublayer | Provides programmatic access to a map server sublayer with Identify capability. |
MapServerLayer | Provides programmatic access to a map server layer. |
MapServerQuerySublayer | Provides programmatic access to a map server sublayer with Find and Identify capability. |
MapServerRESTLayer | Provides programmatic access to a a layer based on MapServer using REST access. |
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. |
NITFGraphicsLayer | A NITF graphics layer containing NITF CGM graphics. |
PacketJoinedLayer (esriCadastralUI) | Layer object that represents a packet of Joined Parcels, Lines, Points, Control Points, LinePoints and Text. |
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. |
SearchResultsLayer (esriCatalog) | A layer that lets you preview a search result in the Geography tab. |
TacticalGraphicLayer (esriDefenseSolutions) | A custom layer, bound to a feature layer, that wraps a tactical graphic display list and makes it possible to view and manipulate its cached graphic contents in an ArcGIS map display. |
TemporalFeatureLayer (esriTrackingAnalyst) | Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object. |
TerrainLayer | The Terrain Layer class. |
TinLayer | The TIN Layer class. |
TopologyLayer | A collection of properties for a topology layer. |
WCSLayer | WCS layer source and display options. |
WMSGroupLayer | A container for the display of WMS group layers. |
WMSLayer | A container for the display of WMS sub layers. |
WMSMapLayer | A container for the display and manipulation of WMS layers. |
WMTSLayer | Provides programmatic access to WMTS layer. |
Remarks
This
interface has a method to draw the layer and properties to define
the minimum and maximum display scales, the spatial reference, the
name, layer visibility, whether or not the layer is cached, and
whether or not the layer shows map tips.
There are
also properties that indicate whether the layer is valid, its
supported draw phases, area of interest, and the map tip text for a
given coordinate.