This document is archived and information here might be outdated. Recommended version. |
Indicates if a given layer has a single tile cache.
[Visual Basic .NET] Public Function HasLayerCache ( _ ByVal MapName As String, _ ByVal LayerID As Integer _ ) As Boolean
[C#] public bool HasLayerCache ( string MapName, int LayerID );
[C++]
HRESULT HasLayerCache(
BSTR MapName,
long LayerID
);
[C++]
Parameters MapName [in]
MapName is a parameter of type BSTR LayerID [in]
LayerID is a parameter of type long
Use this method to discover if a particular layer in a map service with a multi layer cache is cached or not. If IsFixedScaleMap is true and HasSingleFusedMapCache is false, then the map service has a multi layer cache that is made up of individual layer caches. Not all layers in such a map service need be cached.