ClassAsyncReaderBase
Base class for the asynchronous map shape readers (KML, ESRI, WKT/WKB).
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public abstract class AsyncReaderBase : RadObject, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectAsyncReaderBase
Derived Classes:
Implements:
Inherited Members
Constructors
AsyncReaderBase()
Declaration
protected AsyncReaderBase()
Fields
ClearLayerProperty
Declaration
public static readonly RadProperty ClearLayerProperty
Field Value
CoordinateConverterProperty
Declaration
public static readonly RadProperty CoordinateConverterProperty
Field Value
ExtendedPropertySetProperty
Declaration
public static readonly RadProperty ExtendedPropertySetProperty
Field Value
ToolTipFormatProperty
Declaration
public static readonly RadProperty ToolTipFormatProperty
Field Value
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 layer.
ToolTipFormat
Gets or sets tooltip format. Either ToolTipFormat or ToolTipTemplate should be specified. If both properties are set, then ToolTipTemplate will be used.
Methods
CancelAsync(int)
Cancels loading of shapes by process id.
Declaration
public void CancelAsync(int processId)
Parameters
processId
Id of the process.
OnReaderPropertyChanged(RadPropertyChangedEventArgs)
Occurs when the properties which are used for loading are changed.
Declaration
protected virtual void OnReaderPropertyChanged(RadPropertyChangedEventArgs eventArgs)
Parameters
eventArgs
Event arguments.
ReadAsync()
Reads geospatial data using asynchronous mode.
ReadAsync(object)
Reads geospatial data using asynchronous mode.
ReaderPropertyChanged(RadObject, RadPropertyChangedEventArgs)
Starts loading when the properties which are used for loading are changed.
Declaration
protected static void ReaderPropertyChanged(RadObject source, RadPropertyChangedEventArgs eventArgs)
Parameters
source
Source object.
eventArgs
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