Visual Basic (Declaration) | |
---|---|
Public MustInherit Class LayerSource |
C# | |
---|---|
public abstract class LayerSource |
Dynamic Layers allow the execution of various ArcGIS Server requests from a client application. An in-depth discussion about Dynamic Layers is in the ArcGISDynamicMapServiceLayer Class documentation. The client side requests that can be issued to ArcGIS Server include the ability to:
- Change the rendering of an existing ArcGISDynamicMapServiceLayer. See the code examples for the ArcGISDynamicMapServiceLayer.LayerDrawingOptions Property, the ArcGISDynamicMapServiceLayer.CreateDynamicLayerInfosFromLayerInfos Method, and the LayerDrawingOptionsCollection Class.
- Create a layer on-the-fly for the Workspace Types of: Database, Shapefile, FileGDB, and Raster. See the code examples in the ArcGISDynamicMapServiceLayer.DynamicLayerInfos Property and the DynamicLayerInfoCollection Class.
- Perform table joins.
- Query for specific records. See the code example for the QueryDataSource Class.
- Identify features. See the code example for the Tasks.IdentifyParameters.DynamicLayerInfos Property.
- Return raster images.
Dynamic Layers are new in ArcGIS Server v10.1 and require the ArcGIS API 3.0 for Silverlight and higher.
Use one of the two inherited LayerSource Classes to utilize a Dynamic Layer:
The following Properties accept the LayerSource object:
The following image is simplified Object Model Diagram demonstrating the relationship between the LayerSource and DataSource objects in constructing a Dynamic Layer.
System.Object
ESRI.ArcGIS.Client.LayerSource
ESRI.ArcGIS.Client.LayerDataSource
ESRI.ArcGIS.Client.LayerMapSource
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7