AsyncReaderBase
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
protected AsyncReaderBase()
Fields
public static readonly RadProperty ClearLayerProperty
public static readonly RadProperty CoordinateConverterProperty
public static readonly RadProperty ExtendedPropertySetProperty
public static readonly RadProperty ToolTipFormatProperty
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).
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; }
Methods
Cancels loading of shapes.
public void CancelAsync()
Cancels loading of shapes by process id.
Occurs when the properties which are used for loading are changed.
protected virtual void OnReaderPropertyChanged(RadPropertyChangedEventArgs 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(RadObject source, RadPropertyChangedEventArgs eventArgs)
Source object.
eventArgsRadPropertyChangedEventArgsEvent 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