New to Telerik UI for WPFStart a free 30-day trial

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.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class DynamicLayer : InformationLayer, ILayer

Inheritance: objectMapLayerInformationLayerDynamicLayer

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.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

Initializes a new instance of the DynamicLayer class.

C#
public DynamicLayer()

Properties

Gets or sets the DynamicSource property.

C#
public IMapDynamicSource DynamicSource { get; set; }

Gets ZoomGrid collection.

C#
public ZoomGridListCollection ZoomGridList { get; }

Methods

Called when the value of the Items property changes.

C#
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

A NotifyCollectionChangedEventArgs that contains the event data.

Overrides: InformationLayer.OnItemsChanged(NotifyCollectionChangedEventArgs)

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

C#
protected override void OnMapChanged(RadMap oldMap, RadMap newMap)
Parameters:oldMapRadMap

Old map control.

newMapRadMap

New map control.

Overrides: InformationLayer.OnMapChanged(RadMap, RadMap)

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

C#
public void Refresh()