or
MapShapeDataVirtualizationSource map =
new
MapShapeDataVirtualizationSource();
AsyncShapeFileReader reader =
new
AsyncShapeFileReader();
reader.ToolTipFormat =
"FieldName"
;
reader.Source =
new
Uri(rShape[
"path"
].ToString() +
".shp"
, UriKind.RelativeOrAbsolute);
reader.DataSource =
new
Uri(rShape[
"path"
].ToString() +
".dbf"
, UriKind.RelativeOrAbsolute);
map.Reader = reader;
map.ReadAsync(); // Give the error .See the attached Error screen shot.
map.ClearCache =
false
;
vLayer.VirtualizationSource = map;
vLayer.UseBitmapCache =
false
;
vLayer.RefreshVirtualSource();
this
.radMapNaveo.Items.Add(vLayer);
AsyncShapeFileReader reader =
new
AsyncShapeFileReader();
reader.ToolTipFormat =
"FieldName"
;
reader.Source =
new
Uri(rShape[
"path"
].ToString() +
".shp"
, UriKind.RelativeOrAbsolute);
reader.DataSource =
new
Uri(rShape[
"path"
].ToString() +
".dbf"
, UriKind.RelativeOrAbsolute);
vLayer.Reader = reader;
vLayer.UseBitmapCache =
false
;
vLayer.RefreshVirtualSource();
this
.radMapNaveo.Items.Add(vLayer);