Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

ClearCache
GetDefaultTileSizeX
GetDefaultTileSizeY
GetTile
GetTile
virtual MgByteReader* MgTileService::GetTile | ( | MgResourceIdentifier * | mapDefinition,
|  | CREFSTRING | baseMapLayerGroupName,
|  | INT32 | tileColumn,
|  | INT32 | tileRow,
|  | INT32 | scaleIndex |
| ) |  |  | `[pure virtual]`
  Returns the specified base map tile for the given map. If a cached tile image exists it will return it, otherwise the tile is rendered and added to the cache. Parameters:
  | mapDefinition | Input Resource identifier for the map definition
  | baseMapLayerGroupName | Input Specifies the name of the baseMapLayerGroup for which to render the tile.
  | tileColumn | Input Specifies the column index of the tile to return.
  | tileRow | Input Specifies the row index of the tile to return.
  | scaleIndex | Input Scale index to render. Most detailed scale is index 0.
Returns: A byte reader containing the rendered tile image.

Comments or suggestions? Send us feedback.