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.GetMapTile Method (ArcObjects .NET 10.5 SDK) |
Gets a tile for a given tile location from a given map.
[Visual Basic .NET] Public Function GetMapTile ( _ ByVal MapName As String, _ ByVal Level As Integer, _ ByVal Row As Integer, _ ByVal Column As Integer _ ) As Byte[]
[C#] public Byte[] GetMapTile ( string MapName, int Level, int Row, int Column );
[C++]
HRESULT GetMapTile(
BSTR MapName,
long Level,
long Row,
long Column,
Data* Data
);
[C++]
Parameters MapName [in] MapName is a parameter of type BSTR 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 a map service that has a single fused cache. GetMapTile 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 GetMapTileEx.