How to: Load Data from a SVG File

To load SVG file content to the Map Control, create a new SvgFileDataAdapter and assign it to the VectorLayer.Data property. Then, specify the SvgFileDataAdapter.FileUri property of the adapter.

<dxm:MapControl>
    <dxm:VectorLayer>
        <dxm:SvgFileDataAdapter FileUri="Data/countries.svg" />
    </dxm:VectorLayer>
</dxm:MapControl>