Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetFeaturesKml
GetLayerKml
GetMapKml
virtual MgByteReader* MgKmlService::GetMapKml | ( | MgMap * | map,
|  | double | dpi,
|  | CREFSTRING | agentUri,
|  | CREFSTRING | format |
| ) |  |  | `[pure virtual]`
  Returns a map definition in KML format. Parameters:
  | map | Input map object for which to generate KML.
  | dpi | Input resolution in dots per inch
  | agentUri | Input URI of map agent that issued request
  | format | Input requested response format
Returns: A byte reader containing the generated KML.

Comments or suggestions? Send us feedback.