Class
VirtualizationLayer

Information layer which allows virtualization of the information items depends on the geographical location and zoom factor. In contrast to the InformationLayer which process ALL items in collection this layer request items to process. It makes favor when thousands of items are available (pictures of POIs, for example). Customer application can select what pictures are suitable for given location and zoom factor and returns these ones only.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class VirtualizationLayer : InformationLayer, ILayer

Inheritance: objectMapLayerInformationLayerVirtualizationLayer

Implements: ILayer

Inherited Members InformationLayer.AllowDataTemplateForZoomLevelPropertyInformationLayer.ClusteredDataSourcePropertyInformationLayer.ColorizerPropertyInformationLayer.DefaultInformationLayerTemplatePropertyInformationLayer.MapShapeDataTemplatePropertyInformationLayer.ReaderPropertyInformationLayer.RegionPropertyInformationLayer.RegionModePropertyInformationLayer.HighlightFillPropertyInformationLayer.ShapeFillPropertyInformationLayer.ArrangeItem(object)InformationLayer.Dispose()InformationLayer.GetBestView(IEnumerable<object>)InformationLayer.GetElementsInRectangle(LocationRect)InformationLayer.GetGeoBounds(object)InformationLayer.GetItemsInLocation(Location)InformationLayer.MultiscaleImage_MotionFinished(object, RoutedEventArgs)InformationLayer.MultiscaleImage_ViewportChanged(object, RoutedEventArgs)InformationLayer.OnApplyTemplate()InformationLayer.ArrangeOverride(Size)InformationLayer.ClearContainerForItemOverride(DependencyObject, object)InformationLayer.GetContainerForItemOverride()InformationLayer.IsItemItsOwnContainerOverride(object)InformationLayer.OnInitialized(EventArgs)InformationLayer.OnItemsChanged(NotifyCollectionChangedEventArgs)InformationLayer.OnItemTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)InformationLayer.PrepareContainerForItemOverride(DependencyObject, object)InformationLayer.SetClip(Size)InformationLayer.AllowDataTemplateForZoomLevelInformationLayer.ClusteredDataSourceInformationLayer.ColorizerInformationLayer.DataMappingsInformationLayer.DefaultInformationLayerTemplateInformationLayer.HighlightFillInformationLayer.MapShapeDataTemplateInformationLayer.ReaderInformationLayer.RegionInformationLayer.RegionModeInformationLayer.ShapeFillMapLayer.BaseZoomLevelPropertyMapLayer.HotSpotPropertyMapLayer.GeographicalSizePropertyMapLayer.LocationPropertyMapLayer.MaxScalePropertyMapLayer.MinScalePropertyMapLayer.ZoomRangePropertyMapLayer.GetBaseZoomLevel(DependencyObject)MapLayer.GetHotSpot(DependencyObject)MapLayer.GetGeographicalSize(DependencyObject)MapLayer.GetLocation(DependencyObject)MapLayer.GetMaxScale(DependencyObject)MapLayer.GetMinScale(DependencyObject)MapLayer.GetZoomRange(DependencyObject)MapLayer.SetBaseZoomLevel(DependencyObject, double)MapLayer.SetHotSpot(DependencyObject, HotSpot)MapLayer.SetGeographicalSize(DependencyObject, Location)MapLayer.SetLocation(DependencyObject, Location)MapLayer.SetMaxScale(DependencyObject, double)MapLayer.SetMinScale(DependencyObject, double)MapLayer.SetZoomRange(DependencyObject, ZoomRange)MapLayer.MapControl

Constructors

VirtualizationLayer()

Initializes a new instance of the VirtualizationLayer class.

Declaration

cs-api-definition
public VirtualizationLayer()

Properties

RenderWhileMotion

Gets or sets value which indicates whether the layer should request and render items dynamically during panning and zooming.

Declaration

cs-api-definition
public bool RenderWhileMotion { get; set; }

Property Value

bool

VirtualizationSource

Gets or sets data provider for the virtualization layer.

Declaration

cs-api-definition
public IMapVirtualizationSource VirtualizationSource { get; set; }

Property Value

IMapVirtualizationSource

ZoomLevelGridList

Gets ZoomLevelGrid collection.

Declaration

cs-api-definition
public ZoomLevelGridCollection ZoomLevelGridList { get; }

Property Value

ZoomLevelGridCollection

Methods

OnMapChanged(RadMap, RadMap)

Is called when map control is changed for this map layer.

Declaration

cs-api-definition
protected override void OnMapChanged(RadMap oldMap, RadMap newMap)

Parameters

oldMap

RadMap

Old map control.

newMap

RadMap

New map control.

Overrides InformationLayer.OnMapChanged(RadMap, RadMap)

Refresh()

Clears items from the layer and re-requests items for regions in current location and zoom.

Declaration

cs-api-definition
public void Refresh()