Generally both the InformationLayers' SQLGeoSpatialDataReader and the VisualizationLayer's AsyncSqlGeospatialDataReader
have two main properties - Source and GeoSpatialPropertyName.
should be used to references a collection of objects which store SQL Geospational Data in WKT / WKB format
in one of its properties or in one of its Columns (if the object is System.Data.DataRow). The GeoSpatialProeprtyName specifies the Name of the property (usually a string property) which holds the geometry data. In the documentation you read the example shows this approach with binding to database. You can also find simpler example in our online demos - Map WKT Reader Demo
. In it the SQLReader Source is bound to collection of business objects which are *hardcoded* in the ViewModel:
WktDataRow northAreaDataRow =
", -84.418995373573 33.808989109452"
", -84.4303250244518 33.8377961143588"
", -84.4303250244518 33.8480616114576"
I hope this sample will help you in the getting started process. If any questions arise please do not hesitate to ask further.