ArcObjects Library Reference  (Carto)    

ITiledMapServer.GetMapTile Method

Gets a tile for a given tile location from a given map.

[Visual Basic 6.0]
Function GetMapTile(
    ByVal MapName As String, _
    ByVal level As Long, _
    ByVal Row As Long, _
    ByVal column As Long _
)() As Byte
[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
);
[Java]
public Byte[] getMapTile (
    String MapName,
    int level,
    int Row,
    int column
)
throws
    IOException,
    AutomationException
[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

Product Availability

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

Remarks

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.

See Also

ITiledMapServer Interface