For more information about this data adapter, refer to the Load Vector Data from a KML File topic.
To load data from a KML file, do the following.
NoteMake sure that the Build Action property of a KML file is set to Resource.
Xaml:MainWindow.xaml |
<dxm:VectorLayer>
<dxm:KmlFileDataAdapter FileUri="kmlFile.kml" />
</dxm:VectorLayer>
|
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
MapDependencyObject
MapDataAdapterBase
KmlFileDataAdapter