Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetFeaturesKml
GetLayerKml
GetMapKml
virtual MgByteReader* MgKmlService::GetFeaturesKml | ( | MgLayer * | layer,
|  | MgEnvelope * | extents,
|  | INT32 | width,
|  | INT32 | height,
|  | double | dpi,
|  | INT32 | drawOrder,
|  | CREFSTRING | format |
| ) |  |  | `[pure virtual]`
  Returns a layer definition in KML format. Parameters:
  | layer | Input layer object for which to generate KML.
  | extents | Input required spatial data extents
  | width | Input map width in pixels
  | height | Input map height in pixels
  | dpi | Input resolution in dots per inch
  | drawOrder | Input the draw order for the layer containing these features
  | format | Input requested response format
Returns: A byte reader containing the generated KML.

Comments or suggestions? Send us feedback.