MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgTileService Class Reference

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

+ Inheritance diagram for MgTileService:

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 void ClearCache (MgResourceIdentifier *tileSet)=0
 Clears the entire tile cache for the given tile set. 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 GetDefaultTileSizeX (MgResourceIdentifier *tileSet)=0
 Returns the default width of a tile.
virtual INT32 GetDefaultTileSizeY ()=0
 Returns the default height of a tile.
virtual INT32 GetDefaultTileSizeY (MgResourceIdentifier *tileSet)=0
 Returns the default height of a tile.
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.
virtual MgByteReaderGetTile (MgResourceIdentifier *resource, CREFSTRING baseMapLayerGroupName, INT32 tileColumn, INT32 tileRow, INT32 scaleIndex)=0
 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.
virtual MgByteReaderGetTileProviders ()=0
 Returns the XML description of available tile providers, along with supported connection parameters. This provides sufficient information for client applications to build rich editor user interfaces for editing Tile Set Definitions.

Detailed Description

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