Web API Reference MapGuide Open Source
virtual MgByteReader* MgRenderingService::RenderMap ( MgMap map,
MgSelection selection,
MgCoordinate center,
double  scale,
INT32  width,
INT32  height,
MgColor backgroundColor,
CREFSTRING  format 
) [pure virtual]

Renders the specified MgMap to the requested image format.

Parameters:
map Input map object containing current state of map.
selection Input map feature selection. Specifies the selected features on the map
center Input map center point. Specifies the center point for the map
scale Input map scale. Specifies the scale for the map
width Input image width. Specifies the image width in pixels
height Input image height. Specifies the image height in pixels
backgroundColor Input background color. Specifies the map background color
format Input image format. Defines the format of the resulting image
Returns:
A byte reader containing the rendered image


Comments or suggestions? Send us feedback.