This document is archived and information here might be outdated.  Recommended version.


ITiledMapServer.GetTileCacheInfo Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ITiledMapServer.GetTileCacheInfo Method

Gets the cache configuration for a given map.

[Visual Basic .NET]
Public Function GetTileCacheInfo ( _
    ByVal MapName As String _
) As ITileCacheInfo
[C#]
public ITileCacheInfo GetTileCacheInfo (
    string MapName
);
[C++]
HRESULT GetTileCacheInfo(
  BSTR MapName,
  ITileCacheInfo** ppCacheInfo
);
[C++]

Parameters MapName [in] MapName is a parameter of type BSTR ppCacheInfo [out, retval]
ppCacheInfo is a parameter of type ITileCacheInfo

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The TileCacheInfo object contains information on the tiling scheme for the cache. The tiling scheme includes the tiling origin, spatial reference, tile size in pixels and information on the Levels of Detail at which the service is cached.

LODInfos enumerate a LODInfo object which describes a scale and resoluton.

Using the tiling scheme information in the TileCacheInfo object the client can calculate the tiles that cover any rectangular extent in map space and then retrieve tiles either directly from  the virtual directory, or from the tile handler or by making GetMapTile or GetLayerTile requests against the map service.

See Also

ITiledMapServer Interface