Class
SqlGeospatialDataReader

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class SqlGeospatialDataReader

Inheritance: objectSqlGeospatialDataReader

Constructors

SqlGeospatialDataReader()

Declaration

cs-api-definition
public SqlGeospatialDataReader()

Properties

CoordinateConverter

Gets or sets the CoordinateConverter applied to the reader.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public string GeospatialPropertyName { get; set; }

Property Value

string

Source

Gets or sets the IEnumerable instance.

Declaration

cs-api-definition
public IEnumerable Source { get; set; }

Property Value

IEnumerable

Methods

Read()

Reads shapes.

Declaration

cs-api-definition
public void Read()

Read(IEnumerable, string)

Reads shapes from the IEnumerable instance.

Declaration

cs-api-definition
public void Read(IEnumerable itemsSource, string geospatialPropertyName)

Parameters

itemsSource

IEnumerable

The IEnumerable instance.

geospatialPropertyName

string

The Name of property which contains geospatial data.

Read(IEnumerable, string, bool, object)

Reads shapes from the IEnumerable instance.

Declaration

cs-api-definition
public List<MapVisualElement> Read(IEnumerable itemsSource, string geospatialPropertyName, bool markShapes, object userState)

Parameters

itemsSource

IEnumerable

The IEnumerable instance.

geospatialPropertyName

string

The Name of property which contains geospatial data.

markShapes

bool

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

userState

object

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

Returns

List<MapVisualElement>

List<MapVisualElement>.

Read(IEnumerable, string, object)

Reads shapes from the IEnumerable instance.

Declaration

cs-api-definition
public void Read(IEnumerable itemsSource, string geospatialPropertyName, object userState)

Parameters

itemsSource

IEnumerable

The IEnumerable instance.

geospatialPropertyName

string

The Name of property which contains geospatial data.

userState

object

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

Read(object)

Reads shapes.

Declaration

cs-api-definition
public void Read(object userState)

Parameters

userState

object

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