|
Renders the legend for the specified MgMap to the requested size and format.
- Parameters:
-
| 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 |
- Returns:
- A byte reader containing the rendered image
|