Web API Reference MapGuide Open Source

MgTileService Class Reference
[MgTileService]

This class provides services to render a map into an image. More...

Inherits MgService.

List of all members.


Public Member Functions

virtual void ClearCache (MgMap *map)=0
 Clears the entire tile cache for the given map. Tiles for all base map layer groups and finite scales will be removed.
virtual INT32 GetDefaultTileSizeX ()=0
 Returns the default width of a tile.
virtual INT32 GetDefaultTileSizeY ()=0
 Returns the default height of a tile.
virtual MgByteReaderGetTile (MgResourceIdentifier *mapDefinition, CREFSTRING baseMapLayerGroupName, INT32 tileColumn, INT32 tileRow, INT32 scaleIndex)=0
 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.
virtual MgByteReaderGetTile (MgMap *map, CREFSTRING baseMapLayerGroupName, INT32 tileColumn, INT32 tileRow)=0
 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.

Detailed Description

This class provides services to render a map into an image.

Comments or suggestions? Send us feedback.