Class
SqlGeospatialDataReader

Represents the SqlGeospatialDataReader class.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class SqlGeospatialDataReader : MapShapeReaderBase

Inheritance: objectMapShapeReaderBaseSqlGeospatialDataReader

Inherited Members MapShapeReaderBase.ClearLayerPropertyMapShapeReaderBase.ExtendedPropertySetPropertyMapShapeReaderBase.ToolTipFormatPropertyMapShapeReaderBase.ToolTipTemplatePropertyMapShapeReaderBase.ToolTipStylePropertyMapShapeReaderBase.CoordinateConverterPropertyMapShapeReaderBase.PointTemplatePropertyMapShapeReaderBase.OnPreviewReadCompleted(PreviewReadShapesCompletedEventArgs)MapShapeReaderBase.OnReadCompleted(ReadShapesCompletedEventArgs)MapShapeReaderBase.CreateInstanceCore()MapShapeReaderBase.AddItemsToLayer(Exception, List<FrameworkElement>)MapShapeReaderBase.ClearLayerMapShapeReaderBase.LayerMapShapeReaderBase.ExtendedPropertySetMapShapeReaderBase.ToolTipFormatMapShapeReaderBase.ToolTipTemplateMapShapeReaderBase.PointTemplateMapShapeReaderBase.ToolTipStyleMapShapeReaderBase.CoordinateConverterMapShapeReaderBase.ReadCompletedMapShapeReaderBase.PreviewReadCompleted

Constructors

SqlGeospatialDataReader()

Initializes a new instance of the SqlGeospatialDataReader class.

Declaration

cs-api-definition
public SqlGeospatialDataReader()

Fields

GeospatialPropertyNameProperty

Identifies the GeospatialPropertyNameProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GeospatialPropertyNameProperty

Field Value

DependencyProperty

SourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SourceProperty

Field Value

DependencyProperty

Properties

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, 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.