MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgRenderingService::RenderDynamicOverlay ( MgMap map,
MgSelection selection,
CREFSTRING  format,
bool  bKeepSelection 
) [pure virtual]

Renders all dynamic layers in the specified MgMap to a dynamic overlay image with a transparent background. The center, scale, size, and layers to be rendered are defined by the specified map instance. The format parameter must be set to an image format that supports transparency.

Parameters:
mapInput map object containing current state of map.
selectionInput map feature selection. Specifies the selected features on the map
formatInput image format. Defines the format of the resulting image
bKeepSelectionInput true if you want to keep the selection
Returns:
A byte reader containing the rendered image