MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgByteReader* MgKmlService::GetFeaturesKml ( MgLayer layer,
MgEnvelope extents,
INT32  width,
INT32  height,
double  dpi,
INT32  drawOrder,
CREFSTRING  agentUri,
CREFSTRING  format 
) [pure virtual]

Returns a layer definition in KML format.

Parameters:
layerInput layer object for which to generate KML.
extentsInput required spatial data extents. The extents must be in LL84 coordinates
widthInput map width in pixels
heightInput map height in pixels
dpiInput resolution in dots per inch
drawOrderInput the draw order for the layer containing these features
agentUriInput URI of map agent that issued request
formatInput requested response format
Returns:
A byte reader containing the generated KML.