ClassAsyncReaderBase
Base class for the asynchronous map shape readers (KML, ESRI, WKT/WKB).
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public abstract class AsyncReaderBase : Freezable
Inheritance: objectAsyncReaderBase
Derived Classes:
Constructors
AsyncReaderBase()
Declaration
protected AsyncReaderBase()
Fields
ClearLayerProperty
Identifies the ClearLayer dependency property.
Declaration
public static readonly DependencyProperty ClearLayerProperty
Field Value
DependencyProperty
CoordinateConverterProperty
Identifies the CoordinateConverter dependency property.
Declaration
public static readonly DependencyProperty CoordinateConverterProperty
Field Value
DependencyProperty
ExtendedPropertySetProperty
Identifies the ExtendedPropertySet dependency property.
Declaration
public static readonly DependencyProperty ExtendedPropertySetProperty
Field Value
DependencyProperty
ToolTipFormatProperty
Identifies the ToolTipFormat dependency property.
Declaration
public static readonly DependencyProperty ToolTipFormatProperty
Field Value
DependencyProperty
ToolTipStyleProperty
Identifies the ToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty ToolTipStyleProperty
Field Value
DependencyProperty
ToolTipTemplateProperty
Identifies the ToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty ToolTipTemplateProperty
Field Value
DependencyProperty
Properties
ClearLayer
Gets or sets the ClearLayer property. If it is set to true, then the reader clears its information layer after reading.
CoordinateConverter
Gets or sets the CoordinateConverter applied to the reader.
Declaration
public ICoordinateConverter CoordinateConverter { get; set; }
Property Value
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
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).
Layer
Target visualization layer.
Declaration
public VisualizationLayer Layer { get; set; }
Property Value
ToolTipFormat
Gets or sets tooltip format. Either ToolTipFormat or ToolTipTemplate should be specified. If both properties are set, then ToolTipTemplate will be used.
ToolTipStyle
Gets or sets the style applied to the toolTip.
Declaration
public Style ToolTipStyle { get; set; }
Property Value
Style
ToolTipTemplate
Gets or sets tooltip content template. Either ToolTipFormat or ToolTipTemplate should be specified. If both properties are set, then ToolTipTemplate will be used. You can bind elements in the tooltip template to extended properties using ExtendedDataConverter and Data property of the ExtendedData object.
Declaration
public DataTemplate ToolTipTemplate { get; set; }
Property Value
DataTemplate
Methods
CancelAsync(int)
Cancels loading of shapes by process id.
Declaration
public void CancelAsync(int processId)
Parameters
processId
Id of the process.
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Freezable
Null.
OnReaderPropertyChanged(DependencyPropertyChangedEventArgs)
Occurs when the properties which are used for loading are changed.
Declaration
protected virtual void OnReaderPropertyChanged(DependencyPropertyChangedEventArgs eventArgs)
Parameters
eventArgs
DependencyPropertyChangedEventArgs
Event arguments.
ReadAsync()
Reads geospatial data using asynchronous mode.
ReadAsync(object)
Reads geospatial data using asynchronous mode.
ReaderPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Starts loading when the properties which are used for loading are changed.
Declaration
protected static void ReaderPropertyChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Parameters
source
DependencyObject
Source object.
eventArgs
DependencyPropertyChangedEventArgs
Event arguments.
Events
PreviewReadShapeData
Occurs when a shape data is read.
Declaration
public event PreviewReadShapeDataCompletedEventHandler PreviewReadShapeData
Event Value
PreviewReadShapeDataCompleted
Occurs when the reader completes to read shapes.
Declaration
public event PreviewReadShapeDataCompletedEventHandler PreviewReadShapeDataCompleted
Event Value
ProgressChanged
Occurs when part of data is read.
Declaration
public event ProgressChangedEventHandler ProgressChanged
Event Value
ReadShapeDataCompleted
Occurs when the reader completes to read shapes and pass them to target information layer.
Declaration
public event ReadShapeDataCompletedEventHandler ReadShapeDataCompleted
Event Value