Visual Basic (Declaration) | |
---|---|
Public MustInherit Class TiledLayer Inherits Layer |
C# | |
---|---|
public abstract class TiledLayer : Layer |
Implement this class if you want to create a custom tiled layer where the cached images cannot be referenced by a simple URL.
As a minimum this layer must implement TiledMapServiceLayer.GetTileUrl and set the Layer.FullExtent to the extent of the layer. The FullExtent should include a default SpatialReference for the layer. The map uses this to determine when to draw the layer. Lastly the TileInfo should be set with tile information about the tiles in the map service.
If your images can be referenced by a simple System.Uri, you should instead implement TiledMapServiceLayer.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
ESRI.ArcGIS.Client.Layer
ESRI.ArcGIS.Client.TiledLayer
ESRI.ArcGIS.Client.ArcGISLocalTiledLayer
ESRI.ArcGIS.Client.TiledMapServiceLayer
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8