Currently the InformationLayer.Reader
property can use the instance of the MapShapeReader
or of the SqlGeospatialDataReader
. They have different Source
properties. The type of InformationLayer.Reader
property is a base class they inherit. But the base class does not contain this property.
So, you should convert the value of Reader
property to MapShapeReader
type before using the Source property. Also you can use a variable of MapShapeReader type in your code like below:
MapShapeReader reader =
.informationLayer.Reader = reader;
You have opened several posts in different threads with the same question. Please avoid duplicate threads and choose one of them only if you'd like to continue conversation on the same topic. This will make it easier for both sides to follow it.
the Telerik team