How to render KML shapes in shape file layer for UWP Maps
18 Nov 20181 minute to read
A KML file can be rendered with the help of the ShapeFileLayer in SfMap. The KML file should be added as an embedded resource to the application project. The Uri of the KML file must be given in the following order:
- Namespace of the project
- Folder names
- KmlFileName.kml
<syncfusion:SfMap>
<syncfusion:SfMap.Layers>
<syncfusion:ShapeFileLayer Uri="KmlImportDemo.Assets.KMLFiles.Eu.kml"/>
</syncfusion:SfMap.Layers>
</syncfusion:SfMap>