ClassMapShapeDataVirtualizationSource
Default class for the map shape data virtualization. It can be used with any asynchronous map shape reader.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class MapShapeDataVirtualizationSource : Freezable, IMapItemsVirtualizationSource
Inheritance: objectMapShapeDataVirtualizationSource
Implements:
Constructors
MapShapeDataVirtualizationSource()
Initializes a new instance of the MapShapeDataVirtualizationSource class.
Declaration
public MapShapeDataVirtualizationSource()
Fields
BusyIndicatorProperty
Identifies the BusyIndicator dependency property.
Declaration
public static readonly DependencyProperty BusyIndicatorProperty
Field Value
DependencyProperty
ClearCacheProperty
Identifies the ClearCache dependency property.
Declaration
public static readonly DependencyProperty ClearCacheProperty
Field Value
DependencyProperty
ReaderProperty
Identifies the Reader dependency property.
Declaration
public static readonly DependencyProperty ReaderProperty
Field Value
DependencyProperty
Properties
BusyIndicator
Gets or sets busy indicator to show map shapes loading progress.
Declaration
public RadBusyIndicator BusyIndicator { get; set; }
Property Value
ClearCache
Gets or sets value which indicates whether internal cache should be cleaned before reading of the new items.
InternalCache
Gets internal cache. Can be used as items source for other UI controls (RadTreeView, for example).
Declaration
public ObservableCollection<ExtendedDataProvider> InternalCache { get; }
Property Value
Items
Gets items from the internal cache.
Declaration
public IEnumerable<ExtendedDataProvider> Items { get; }
Property Value
Reader
Gets or sets reader to loading map shapes.
Declaration
public AsyncReaderBase Reader { get; set; }
Property Value
Resolution
Gets or sets minimal pixel size of the object. If pixel size of the object is less then this value then object will not be passed to the visualization layer.
Methods
Add(ExtendedDataProvider)
Add item to the internal cache.
Declaration
public void Add(ExtendedDataProvider item)
Parameters
item
Item to add.
AddRange(IList<ExtendedDataProvider>)
Add items to the internal cache.
Declaration
public void AddRange(IList<ExtendedDataProvider> items)
Parameters
items
List of the items to add.
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Freezable
The new instance.
MapItemsRequest(object, MapItemsRequestEventArgs)
Background data request event handler for the VisualizationLayer layer.
Declaration
public void MapItemsRequest(object sender, MapItemsRequestEventArgs eventArgs)
Parameters
sender
The VisualizationLayer Layer instance.
eventArgs
Request arguments.
Implements
ReadAsync()
Reads geospatial data using asynchronous mode.
Declaration
public void ReadAsync()
ReadAsync(object)
Reads geospatial data using asynchronous mode.
Declaration
public void ReadAsync(object userState)
Parameters
userState
A user-defined object that is passed to the method invoked when the asynchronous operation completes.
Remove(ExtendedDataProvider)
Remove item from the internal cache.
Declaration
public void Remove(ExtendedDataProvider item)
Parameters
item
Item to remove.
RemoveRange(IList<ExtendedDataProvider>)
Remove items from the internal cache.
Declaration
public void RemoveRange(IList<ExtendedDataProvider> items)
Parameters
items
List of the items to remove.
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