A newer version of this page is available. Switch to the current version.

KmlFileDataAdapter Class

Data adapter that provides data from a KML file.

Namespace: DevExpress.Xpf.Map

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

Declaration

public class KmlFileDataAdapter :
    MapDataAdapterBase
Public Class KmlFileDataAdapter
    Inherits MapDataAdapterBase

Remarks

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

Examples

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>
See Also