skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class MapShapeDataVirtualizationSource

Default class for the map shape data virtualization. It can be used with any asynchronous map shape reader.

Inheritance
System.Object
MapShapeDataVirtualizationSource
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

public class MapShapeDataVirtualizationSource : Freezable, IMapItemsVirtualizationSource

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
System.Windows.DependencyProperty

ClearCacheProperty

Identifies the ClearCache dependency property.

Declaration
public static readonly DependencyProperty ClearCacheProperty
Field Value
System.Windows.DependencyProperty

ReaderProperty

Identifies the Reader dependency property.

Declaration
public static readonly DependencyProperty ReaderProperty
Field Value
System.Windows.DependencyProperty

Properties

BusyIndicator

Gets or sets busy indicator to show map shapes loading progress.

Declaration
public RadBusyIndicator BusyIndicator { get; set; }
Property Value
RadBusyIndicator

ClearCache

Gets or sets value which indicates whether internal cache should be cleaned before reading of the new items.

Declaration
public bool ClearCache { get; set; }
Property Value
System.Boolean

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
System.Collections.ObjectModel.ObservableCollection<ExtendedDataProvider>

Items

Gets items from the internal cache.

Declaration
public IEnumerable<ExtendedDataProvider> Items { get; }
Property Value
System.Collections.Generic.IEnumerable<ExtendedDataProvider>

Reader

Gets or sets reader to loading map shapes.

Declaration
public AsyncReaderBase Reader { get; set; }
Property Value
AsyncReaderBase

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.

Declaration
public double Resolution { get; set; }
Property Value
System.Double

Methods

Add(ExtendedDataProvider)

Add item to the internal cache.

Declaration
public void Add(ExtendedDataProvider item)
Parameters
ExtendedDataProvider item

Item to add.

add_PreviewReadShapeData(PreviewReadShapeDataCompletedEventHandler)

Declaration
public void add_PreviewReadShapeData(PreviewReadShapeDataCompletedEventHandler value)
Parameters
PreviewReadShapeDataCompletedEventHandler value

add_PreviewReadShapeDataCompleted(PreviewReadShapeDataCompletedEventHandler)

Declaration
public void add_PreviewReadShapeDataCompleted(PreviewReadShapeDataCompletedEventHandler value)
Parameters
PreviewReadShapeDataCompletedEventHandler value

add_ReadShapeDataCompleted(ReadShapeDataCompletedEventHandler)

Declaration
public void add_ReadShapeDataCompleted(ReadShapeDataCompletedEventHandler value)
Parameters
ReadShapeDataCompletedEventHandler value

AddRange(IList<ExtendedDataProvider>)

Add items to the internal cache.

Declaration
public void AddRange(IList<ExtendedDataProvider> items)
Parameters
System.Collections.Generic.IList<ExtendedDataProvider> items

List of the items to add.

Clear()

Removes all items from the internal cache.

Declaration
public void Clear()

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Freezable derived class.

Declaration
protected override Freezable CreateInstanceCore()
Returns
System.Windows.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
System.Object sender

The VisualizationLayer Layer instance.

MapItemsRequestEventArgs eventArgs

Request arguments.

Implements
IMapItemsVirtualizationSource.MapItemsRequest(Object, MapItemsRequestEventArgs)

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
System.Object 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
ExtendedDataProvider item

Item to remove.

remove_PreviewReadShapeData(PreviewReadShapeDataCompletedEventHandler)

Declaration
public void remove_PreviewReadShapeData(PreviewReadShapeDataCompletedEventHandler value)
Parameters
PreviewReadShapeDataCompletedEventHandler value

remove_PreviewReadShapeDataCompleted(PreviewReadShapeDataCompletedEventHandler)

Declaration
public void remove_PreviewReadShapeDataCompleted(PreviewReadShapeDataCompletedEventHandler value)
Parameters
PreviewReadShapeDataCompletedEventHandler value

remove_ReadShapeDataCompleted(ReadShapeDataCompletedEventHandler)

Declaration
public void remove_ReadShapeDataCompleted(ReadShapeDataCompletedEventHandler value)
Parameters
ReadShapeDataCompletedEventHandler value

RemoveRange(IList<ExtendedDataProvider>)

Remove items from the internal cache.

Declaration
public void RemoveRange(IList<ExtendedDataProvider> items)
Parameters
System.Collections.Generic.IList<ExtendedDataProvider> items

List of the items to remove.

Events

PreviewReadShapeData

Occurs when a shape data is read.

Declaration
public event PreviewReadShapeDataCompletedEventHandler PreviewReadShapeData
Event Type
PreviewReadShapeDataCompletedEventHandler

PreviewReadShapeDataCompleted

Occurs when the reader completes to read shapes.

Declaration
public event PreviewReadShapeDataCompletedEventHandler PreviewReadShapeDataCompleted
Event Type
PreviewReadShapeDataCompletedEventHandler

ProgressChanged

Occurs when part of data is read.

Declaration
public event ProgressChangedEventHandler ProgressChanged
Event Type
System.ComponentModel.ProgressChangedEventHandler

ReadShapeDataCompleted

Occurs when the reader completes to read shapes and pass them to target information layer.

Declaration
public event ReadShapeDataCompletedEventHandler ReadShapeDataCompleted
Event Type
ReadShapeDataCompletedEventHandler

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.