Web API Reference MapGuide Open Source
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:
map Input map object containing current state of map.
selection Input map feature selection. Specifies the selected features on the map
format Input image format. Defines the format of the resulting image
bKeepSelection Input true if you want to keep the selection
Returns:
A byte reader containing the rendered image


Comments or suggestions? Send us feedback.