MapGuide API Reference
|
virtual MgByteReader* MgRenderingService::RenderMapLegend | ( | MgMap * | map, |
INT32 | width, | ||
INT32 | height, | ||
MgColor * | backgroundColor, | ||
CREFSTRING | format | ||
) | [pure virtual] |
Renders the legend for the specified MgMap to the requested size and format.
map | Input map object containing current state of map. |
width | Input width of legend image in pixels |
height | Input height of legend image in pixels |
backgroundColor | Input background color. Specifies the map legend background color |
format | Input image format. Defines the format of the resulting image |