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.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class VirtualizationLayer : InformationLayer, ILayer
Constructors
VirtualizationLayer()
Initializes a new instance of the VirtualizationLayer class.
Declaration
public VirtualizationLayer()
Properties
RenderWhileMotion
Gets or sets value which indicates whether the layer should request and render items dynamically during panning and zooming.
Declaration
public bool RenderWhileMotion { get; set; }
Property Value
System.Boolean
|
VirtualizationSource
Gets or sets data provider for the virtualization layer.
Declaration
public IMapVirtualizationSource VirtualizationSource { get; set; }
Property Value
IMapVirtualizationSource
|
ZoomLevelGridList
Gets ZoomLevelGrid collection.
Declaration
public ZoomLevelGridCollection ZoomLevelGridList { get; }
Property Value
ZoomLevelGridCollection
|
Methods
OnMapChanged(RadMap, RadMap)
Is called when map control is changed for this map layer.
Declaration
protected override void OnMapChanged(RadMap oldMap, RadMap newMap)
Parameters
RadMap
oldMap
Old map control. |
RadMap
newMap
New map control. |
Overrides
Refresh()
Clears items from the layer and re-requests items for regions in current location and zoom.
Declaration
public void Refresh()