Class SqlGeospatialDataReader
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class SqlGeospatialDataReader
Constructors
SqlGeospatialDataReader()
Declaration
public SqlGeospatialDataReader()
Properties
CoordinateConverter
Gets or sets the CoordinateConverter applied to the reader.
Declaration
public ICoordinateConverter CoordinateConverter { get; set; }
Property Value
ICoordinateConverter
|
ExtendedPropertySet
Gets or sets extended property set which will be used during shape file (KML or ESRI) reading.
Declaration
public ExtendedPropertySet ExtendedPropertySet { get; set; }
Property Value
ExtendedPropertySet
|
Remarks
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).
GeospatialPropertyName
Gets or sets the name of the geospatial data field.
Declaration
public string GeospatialPropertyName { get; set; }
Property Value
System.String
|
Source
Gets or sets the IEnumerable instance.
Declaration
public IEnumerable Source { get; set; }
Property Value
System.Collections.IEnumerable
|
Methods
Read()
Reads shapes.
Declaration
public void Read()
Read(IEnumerable, String)
Reads shapes from the IEnumerable instance.
Declaration
public void Read(IEnumerable itemsSource, string geospatialPropertyName)
Parameters
System.Collections.IEnumerable
itemsSource
The IEnumerable instance. |
System.String
geospatialPropertyName
The Name of property which contains geospatial data. |
Read(IEnumerable, String, Boolean, Object)
Reads shapes from the IEnumerable instance.
Declaration
public List<MapVisualElement> Read(IEnumerable itemsSource, string geospatialPropertyName, bool markShapes, object userState)
Parameters
System.Collections.IEnumerable
itemsSource
The IEnumerable instance. |
System.String
geospatialPropertyName
The Name of property which contains geospatial data. |
System.Boolean
markShapes
if set to |
System.Object
userState
A user-defined object that is passed to the method invoked when the asynchronous operation completes. |
Returns
System.Collections.Generic.List<MapVisualElement>
List<MapVisualElement>. |
Read(IEnumerable, String, Object)
Reads shapes from the IEnumerable instance.
Declaration
public void Read(IEnumerable itemsSource, string geospatialPropertyName, object userState)
Parameters
System.Collections.IEnumerable
itemsSource
The IEnumerable instance. |
System.String
geospatialPropertyName
The Name of property which contains geospatial data. |
System.Object
userState
A user-defined object that is passed to the method invoked when the asynchronous operation completes. |
Read(Object)
Reads shapes.
Declaration
public void Read(object userState)
Parameters
System.Object
userState
A user-defined object that is passed to the method invoked when the asynchronous operation completes. |