AsyncReaderBase
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
protected AsyncReaderBase()
Fields
ClearLayerProperty
DependencyProperty
Identifies the ClearLayer dependency property.
public static readonly DependencyProperty ClearLayerProperty
CoordinateConverterProperty
DependencyProperty
Identifies the CoordinateConverter dependency property.
public static readonly DependencyProperty CoordinateConverterProperty
ExtendedPropertySetProperty
DependencyProperty
Identifies the ExtendedPropertySet dependency property.
public static readonly DependencyProperty ExtendedPropertySetProperty
ToolTipFormatProperty
DependencyProperty
Identifies the ToolTipFormat dependency property.
public static readonly DependencyProperty ToolTipFormatProperty
ToolTipStyleProperty
DependencyProperty
Identifies the ToolTipStyle dependency property.
public static readonly DependencyProperty ToolTipStyleProperty
ToolTipTemplateProperty
DependencyProperty
Identifies the ToolTipTemplate dependency property.
public static readonly DependencyProperty ToolTipTemplateProperty
Properties
Gets or sets the ClearLayer property. If it is set to true, then the reader clears its information layer after reading.
public bool ClearLayer { get; set; }
Gets or sets the CoordinateConverter applied to the reader.
public ICoordinateConverter CoordinateConverter { get; set; }
Gets or sets extended property set which will be used during shape file (KML or ESRI) reading.
public ExtendedPropertySet ExtendedPropertySet { get; set; }
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).
Target visualization layer.
public VisualizationLayer Layer { get; set; }
Gets or sets tooltip format. Either ToolTipFormat or ToolTipTemplate should be specified. If both properties are set, then ToolTipTemplate will be used.
public string ToolTipFormat { get; set; }
ToolTipStyle
Style
Gets or sets the style applied to the toolTip.
public Style ToolTipStyle { get; set; }
ToolTipTemplate
DataTemplate
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.
public DataTemplate ToolTipTemplate { get; set; }
Methods
Cancels loading of shapes.
public void CancelAsync()
Cancels loading of shapes by process id.
When implemented in a derived class, creates a new instance of the Freezable derived class.
protected override Freezable CreateInstanceCore()
Freezable
Null.
Occurs when the properties which are used for loading are changed.
protected virtual void OnReaderPropertyChanged(DependencyPropertyChangedEventArgs eventArgs)
Event arguments.
Reads geospatial data using asynchronous mode.
Starts loading when the properties which are used for loading are changed.
protected static void ReaderPropertyChanged(DependencyObject source, DependencyPropertyChangedEventArgs eventArgs)
Source object.
eventArgsDependencyPropertyChangedEventArgsEvent arguments.
Events
Occurs when a shape data is read.
public event PreviewReadShapeDataCompletedEventHandler PreviewReadShapeData
Occurs when the reader completes to read shapes.
public event PreviewReadShapeDataCompletedEventHandler PreviewReadShapeDataCompleted
Occurs when part of data is read.
public event ProgressChangedEventHandler ProgressChanged
Occurs when the reader completes to read shapes and pass them to target information layer.
public event ReadShapeDataCompletedEventHandler ReadShapeDataCompleted