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.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
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

DynamicLayer()

Initializes a new instance of the DynamicLayer class.

Declaration

cs-api-definition
public DynamicLayer()

Properties

DynamicSource

Gets or sets the DynamicSource property.

Declaration

cs-api-definition
public IMapDynamicSource DynamicSource { get; set; }

Property Value

IMapDynamicSource

ZoomGridList

Gets ZoomGrid collection.

Declaration

cs-api-definition
public ZoomGridListCollection ZoomGridList { get; }

Property Value

ZoomGridListCollection

Methods

OnItemsChanged(NotifyCollectionChangedEventArgs)

Called when the value of the Items property changes.

Declaration

cs-api-definition
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

A NotifyCollectionChangedEventArgs that contains the event data.

Overrides InformationLayer.OnItemsChanged(NotifyCollectionChangedEventArgs)

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()