Class DynamicLayer
Information layer which allows virtualization of the information items depends on the geographical location and zoom factor. In contrast to StaticLayer 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 DynamicLayer : InformationLayer, ILayer
Constructors
DynamicLayer()
Initializes a new instance of the DynamicLayer class.
Declaration
public DynamicLayer()
Properties
DynamicSource
Gets or sets the DynamicSource property.
Declaration
public IMapDynamicSource DynamicSource { get; set; }
Property Value
IMapDynamicSource
|
ZoomGridList
Gets ZoomGrid collection.
Declaration
public ZoomGridListCollection ZoomGridList { get; }
Property Value
ZoomGridListCollection
|
Methods
OnItemsChanged(NotifyCollectionChangedEventArgs)
Called when the value of the Items property changes.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs
e
A NotifyCollectionChangedEventArgs that contains the event data. |
Overrides
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()