Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public class SqlGeospatialDataReader
Inheritance: objectSqlGeospatialDataReader
Constructors
public SqlGeospatialDataReader()
Properties
Gets or sets the CoordinateConverter applied to the reader.
public ICoordinateConverter CoordinateConverter { get; set; }
Gets or sets extended property set which will be used during shape file (KML or ESRI) reading.
public ExtendedPropertySet ExtendedPropertySet { get; set; }
Can be null. In this case extended property set will be created depends on the extended data available in the KML file or in the attributes file (DBF).
Gets or sets the name of the geospatial data field.
public string GeospatialPropertyName { get; set; }
Gets or sets the IEnumerable instance.
public IEnumerable Source { get; set; }
Methods
Reads shapes.
public void Read()
Reads shapes from the IEnumerable instance.
public List<MapVisualElement> Read(IEnumerable itemsSource, string geospatialPropertyName, bool markShapes, object userState)
The IEnumerable instance.
geospatialPropertyNamestringThe Name of property which contains geospatial data.
markShapesboolif set to true read shapes are marked with this reader.
A user-defined object that is passed to the method invoked when the asynchronous operation completes.
Returns:List<MapVisualElement>
List<MapVisualElement>.
Reads shapes from the IEnumerable instance.
public void Read(IEnumerable itemsSource, string geospatialPropertyName, object userState)
The IEnumerable instance.
geospatialPropertyNamestringThe Name of property which contains geospatial data.
userStateobjectA user-defined object that is passed to the method invoked when the asynchronous operation completes.
Reads shapes from the IEnumerable instance.
public void Read(IEnumerable itemsSource, string geospatialPropertyName)
The IEnumerable instance.
geospatialPropertyNamestringThe Name of property which contains geospatial data.
Reads shapes.
public void Read(object userState)
A user-defined object that is passed to the method invoked when the asynchronous operation completes.