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.DependencyObject
ESRI.ArcGIS.Client.Layer
ESRI.ArcGIS.Client.TiledLayer
ESRI.ArcGIS.Client.TiledMapServiceLayer
Target Platforms: Windows Vista, Windows 7