MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgTileService::GetTile ( MgResourceIdentifier resource,
CREFSTRING  baseMapLayerGroupName,
INT32  tileColumn,
INT32  tileRow,
INT32  scaleIndex 
) [pure virtual]

Returns the specified base map tile for the given map or tile set. If a cached tile image exists it will return it, otherwise the tile is rendered and added to the cache.

Remarks:
If retrieving a tile from a tile set, the row, column and scale index may take on different meaning depending on the tile provider specified in the tile set
Parameters:
resourceInput Resource identifier for the map definition or Tile Set Definition
baseMapLayerGroupNameInput Specifies the name of the baseMapLayerGroup for which to render the tile.
tileColumnInput Specifies the column index of the tile to return.
tileRowInput Specifies the row index of the tile to return.
scaleIndexInput Scale index to render. Most detailed scale is index 0.
Returns:
A byte reader containing the rendered tile image.