Skip to main content
A newer version of this page is available. .

KmlFileDataAdapter Class

Data adapter that provides data from a KML file.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v19.2.dll

Declaration

public class KmlFileDataAdapter :
    MapDataAdapterBase

Remarks

For more information about this data adapter, refer to the Load Vector Data from a KML File topic.

Example

To load data from a KML file, do the following.

Note

Make sure that the Build Action property of a KML file is set to Resource.

<dxm:VectorLayer>
    <dxm:KmlFileDataAdapter FileUri="kmlFile.kml" />
</dxm:VectorLayer>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the KmlFileDataAdapter class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also