Hi DevExpress Team,
I want to load a map from a shape file. There is a mapcontrol which contains one VectorItemsLayer and the layer contains a ShapeFileDataAdapter. The adapter’s properties are shown in the attached picture.
When the program runs, it will let user choose a shape file to load. After the first choice I do not see anything on the control. Then I repeat choosing the same file and it works. The following is a part of the function which is used to load shape file.
shpDataAdapter.FileUri=new Uri(filePath, UriKind.RelativeOrAbsolute);
Thanks for helping out!