Skip to main content

VectorFileLayer.FileReader Property

Specifies the file reader for this file layer.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public MapFileReaderBase FileReader { get; set; }

Property Value

Type Description
MapFileReaderBase

A MapFileReaderBase class descendant.

Example

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

<Map:VectorFileLayer
    ShapeStroke="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    <Map:KmlReader>
        <Map:KmlReader.FileSource>
            <Map:MapPackageFileSource 
                FileName="Assets\States.kml"/>
        </Map:KmlReader.FileSource>
    </Map:KmlReader>
</Map:VectorFileLayer>
See Also