This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IT > ITiledMapServer Interface > ITiledMapServer.GetLayerTile Method (ArcObjects .NET 10.5 SDK) |
Gets a tile for a given tile location from a given layer.
[Visual Basic .NET] Public Function GetLayerTile ( _ ByVal MapName As String, _ ByVal LayerID As Integer, _ ByVal Level As Integer, _ ByVal Row As Integer, _ ByVal Column As Integer _ ) As Byte[]
[C#] public Byte[] GetLayerTile ( string MapName, int LayerID, int Level, int Row, int Column );
[C++]
HRESULT GetLayerTile(
BSTR MapName,
long LayerID,
long Level,
long Row,
long Column,
Data* Data
);
[C++]
Parameters MapName [in] MapName is a parameter of type BSTR LayerID [in] LayerID is a parameter of type long Level [in] Level is a parameter of type long Row [in] Row is a parameter of type long Column [in] Column is a parameter of type long Data [out, retval] Data is a parameter of type
This call gets the specified tile from the specified layer for a map service that has a multi layer cache. GetLayerTile method only returns a tile if the cache is generated using PNG format. When the cache format specified in the TileImageInfo is not PNG the client should use GetLayerTileEx.