New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public class SqlGeospatialDataReader

Inheritance: objectSqlGeospatialDataReader

Constructors

C#
public SqlGeospatialDataReader()

Properties

Gets or sets the CoordinateConverter applied to the reader.

C#
public ICoordinateConverter CoordinateConverter { get; set; }

Gets or sets extended property set which will be used during shape file (KML or ESRI) reading.

C#
public ExtendedPropertySet ExtendedPropertySet { get; set; }
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).

Gets or sets the name of the geospatial data field.

C#
public string GeospatialPropertyName { get; set; }

Gets or sets the IEnumerable instance.

C#
public IEnumerable Source { get; set; }

Methods

Reads shapes.

C#
public void Read()

Reads shapes from the IEnumerable instance.

C#
public List<MapVisualElement> Read(IEnumerable itemsSource, string geospatialPropertyName, bool markShapes, object userState)
Parameters:itemsSourceIEnumerable

The IEnumerable instance.

geospatialPropertyNamestring

The Name of property which contains geospatial data.

markShapesbool

if set to true read shapes are marked with this reader.

userStateobject

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.

C#
public void Read(IEnumerable itemsSource, string geospatialPropertyName, object userState)
Parameters:itemsSourceIEnumerable

The IEnumerable instance.

geospatialPropertyNamestring

The Name of property which contains geospatial data.

userStateobject

A user-defined object that is passed to the method invoked when the asynchronous operation completes.

Reads shapes from the IEnumerable instance.

C#
public void Read(IEnumerable itemsSource, string geospatialPropertyName)
Parameters:itemsSourceIEnumerable

The IEnumerable instance.

geospatialPropertyNamestring

The Name of property which contains geospatial data.

Reads shapes.

C#
public void Read(object userState)
Parameters:userStateobject

A user-defined object that is passed to the method invoked when the asynchronous operation completes.