MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgMappingService::DescribeRuntimeMap ( MgMap map,
INT32  requestedFeatures,
INT32  iconsPerScaleRange 
) [pure virtual]

Returns an XML-based description of the runtime map.

.NET Syntax
virtual MgByteReader DescribeRuntimeMap(MgMap map, int requestedFeatures, int iconsPerScaleRange);
Java Syntax
virtual MgByteReader DescribeRuntimeMap(MgMap map, int requestedFeatures, int iconsPerScaleRange);
PHP Syntax
virtual MgByteReader DescribeRuntimeMap(MgMap map, int requestedFeatures, int iconsPerScaleRange);
Parameters:
map(MgMap) The map to describe
requestedFeatures(int) A bitmask representing the desired information to return in the XML response: 1=Layer/Group structure, 2=Layer Icons, 4=Layer Feature Source Information
iconsPerScaleRange(int) The number of legend icons per scale range to render inline in the XML response as base64 strings. If a scale range contains a number of rules that exceeds this value, only the first and last rules of a type style in the scale range will have inline icons
Remarks:
The bitmask values of 2 (Layer Icons) and 4 (Layer Feature Source Information) have no effect if 1 (Layer/Group structure) is not specified
Returns:
Returns an XML-based description of the runtime map