Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgKmlService Class Reference
[MgKmlService]

This class provides services to retrieve KML documents. More...

Inherits MgService.

List of all members.

## Public Member Functions
virtual MgByteReader * | GetFeaturesKml (MgLayer *layer, MgEnvelope *extents, INT32 width, INT32 height, double dpi, INT32 drawOrder, CREFSTRING format)=0
| Returns a layer definition in KML format.
virtual MgByteReader * | GetLayerKml (MgLayer *layer, MgEnvelope *extents, INT32 width, INT32 height, double dpi, INT32 drawOrder, CREFSTRING agentUri, CREFSTRING format)=0
| Returns a layer definition in KML format.
virtual MgByteReader * | GetMapKml (MgMap *map, double dpi, CREFSTRING agentUri, CREFSTRING format)=0
| Returns a map definition in KML format.

## Detailed Description

This class provides services to retrieve KML documents.

Comments or suggestions? Send us feedback.