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.XtraMap

Assembly: DevExpress.XtraMap.v19.1.dll

Declaration

public class KmlFileDataAdapter :
    FileDataAdapterBase
Public Class KmlFileDataAdapter
    Inherits FileDataAdapterBase

Remarks

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

Examples

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WinForms_MapControl_KmlFileDataAdapter {
    static class Program {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main() {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}

Implements

Inheritance

See Also