MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgRenderingService::RenderTileXYZ ( MgMap map,
CREFSTRING  baseMapLayerGroupName,
INT32  x,
INT32  y,
INT32  z,
INT32  dpi,
CREFSTRING  tileImageFormat,
double  tileExtentOffset,
INT32  retinaScale 
) [pure virtual]

Returns the specified map tile for the given map. Tile structure is based on the XYZ tiling scheme used by Google Maps, OpenStreetMap, and others.

Parameters:
mapInput map object containing current state of map.
baseMapLayerGroupNameInput Specifies the name of the baseMapLayerGroup for which to render the tile.
xInput Specifies the row index of the tile to return.
yInput Specifies the column index of the tile to return.
zInput Specifies the zoom level of the tile to return.
dpiInput Specifies the dpi of the tile to return.
tileImageFormatInput Specifies the image format of the tile to return.
tileExtentOffsetSpecifies the ratio by which the tile to be rendered should be "buffered out". The tile will be rendered at the specified width multiplied by the given ration, which will be cropped back to the original requested size after rendering. This is to improve label placement on rendered tiles by giving extra "breathing space" to label placement algorithms.
retinaScaleThe scaling factor to apply for "retina" tiles
Returns:
A byte reader containing the rendered tile image.
Since:
4.0