skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class InformationLayer

Layer which able to show FrameworkElements and/or shapes based on the geographical coordinates over the map.

Inheritance
System.Object
MapLayer
InformationLayer
DynamicLayer
TilesVisualizationLayer
VirtualizationLayer
Inherited Members
MapLayer.BaseZoomLevelProperty
MapLayer.HotSpotProperty
MapLayer.GeographicalSizeProperty
MapLayer.LocationProperty
MapLayer.MaxScaleProperty
MapLayer.MinScaleProperty
MapLayer.ZoomRangeProperty
MapLayer.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
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

public class InformationLayer : MapLayer, ILayer

Constructors

InformationLayer()

Initializes a new instance of the InformationLayer class.

Declaration
public InformationLayer()

Fields

AllowDataTemplateForZoomLevelProperty

Identifies the AllowDataTemplateForZoomLevel dependency property.

Declaration
public static readonly DependencyProperty AllowDataTemplateForZoomLevelProperty
Field Value
System.Windows.DependencyProperty

ClusteredDataSourceProperty

Identifies the ClusteredDataSource dependency property.

Declaration
public static readonly DependencyProperty ClusteredDataSourceProperty
Field Value
System.Windows.DependencyProperty

ColorizerProperty

Identifies the Colorizer dependency property.

Declaration
public static readonly DependencyProperty ColorizerProperty
Field Value
System.Windows.DependencyProperty

DefaultInformationLayerTemplateProperty

Identifies the DefaultInformationLayerTemplate dependency property.

Declaration
public static readonly DependencyProperty DefaultInformationLayerTemplateProperty
Field Value
System.Windows.DependencyProperty

HighlightFillProperty

Identifies the HighlightFill dependency property.

Declaration
public static readonly DependencyProperty HighlightFillProperty
Field Value
System.Windows.DependencyProperty

MapShapeDataTemplateProperty

Identifies the MapShapeDataTemplate dependency property.

Declaration
public static readonly DependencyProperty MapShapeDataTemplateProperty
Field Value
System.Windows.DependencyProperty

ReaderProperty

Identifies the Reader dependency property.

Declaration
public static readonly DependencyProperty ReaderProperty
Field Value
System.Windows.DependencyProperty

RegionModeProperty

Identifies the RegionMode dependency property.

Declaration
public static readonly DependencyProperty RegionModeProperty
Field Value
System.Windows.DependencyProperty

RegionProperty

Identifies the Region dependency property.

Declaration
public static readonly DependencyProperty RegionProperty
Field Value
System.Windows.DependencyProperty

ShapeFillProperty

Identifies the ShapeFillProperty dependency property.

Declaration
public static readonly DependencyProperty ShapeFillProperty
Field Value
System.Windows.DependencyProperty

Properties

AllowDataTemplateForZoomLevel

Gets or sets value which indicates whether the DataTemplate will be re-applied to the map items when zoom level is changed. It makes possible creation of the DataTemplateSelector which will return data templates depends on the map zoom level.

Declaration
public bool AllowDataTemplateForZoomLevel { get; set; }
Property Value
System.Boolean

Remarks

Pay attention that re-applying of the data templates is resource consuming operation. Use this feature when you really need it only.

ClusteredDataSource

Gets or sets clustered data source.

Declaration
public ClusteredDataSource ClusteredDataSource { get; set; }
Property Value
ClusteredDataSource

Colorizer

Gets or sets map shapes colorizer.

Declaration
public IMapShapeColorizer Colorizer { get; set; }
Property Value
IMapShapeColorizer

DataMappings

Gets the value mappings that constitute the data mappings for a layer.

Declaration
public DataMappingCollection DataMappings { get; }
Property Value
DataMappingCollection

DefaultInformationLayerTemplate

Gets or sets the default data template.

Declaration
public DataTemplate DefaultInformationLayerTemplate { get; set; }
Property Value
System.Windows.DataTemplate

HighlightFill

Gets or sets default highlight shape fill properties. If highlight fill properties aren't set for MapShape object then this properties will be used.

Declaration
public MapShapeFill HighlightFill { get; set; }
Property Value
MapShapeFill

MapShapeDataTemplate

Gets or sets the data template for map shapes.

Declaration
public DataTemplate MapShapeDataTemplate { get; set; }
Property Value
System.Windows.DataTemplate

Reader

Gets or sets map shape reader. The map shapes are loaded by this reader will be added to the information layer automatically.

Declaration
public MapShapeReaderBase Reader { get; set; }
Property Value
MapShapeReaderBase

Region

Gets or sets geographical region is covered by this layer.

Declaration
public LocationRect Region { get; set; }
Property Value
LocationRect

RegionMode

Gets or sets geographical region size mode.

Declaration
public RegionSizeMode RegionMode { get; set; }
Property Value
RegionSizeMode

ShapeFill

Gets or sets default shape fill properties. If fill properties aren't set for MapShape object then this properties will be used.

Declaration
public MapShapeFill ShapeFill { get; set; }
Property Value
MapShapeFill

Methods

ArrangeItem(Object)

Arrange object on the information layer.

Declaration
public void ArrangeItem(object item)
Parameters
System.Object item

Object to arrange.

ArrangeOverride(Size)

Called to arrange and size the content.

Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size finalSize

The computed size that is used to arrange the content.

Returns
System.Windows.Size

The calculated size.

Overrides
MapLayer.ArrangeOverride(Size)

ClearContainerForItemOverride(DependencyObject, Object)

Undoes the effects of the PrepareContainerForItemOverride method.

Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject element

The container element.

System.Object item

The item.

Dispose()

Dispose all resources are used by information layer.

Declaration
public override void Dispose()
Overrides
MapLayer.Dispose()

GetBestView(IEnumerable<Object>)

Gets location rectangle which represents best view for the given list of the items from this layer.

Declaration
public LocationRect GetBestView(IEnumerable<object> itemsList)
Parameters
System.Collections.Generic.IEnumerable<System.Object> itemsList

List of the items to get best view for.

Returns
LocationRect

Location rectangle which represents best view.

GetContainerForItemOverride()

Returns new ContentPresenter object.

Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
System.Windows.DependencyObject

ContentPresenter object.

GetElementsInRectangle(LocationRect)

Search the objects in the information layer by given location rectangle. Returns all objects which are located in the rectangle.

Declaration
public IEnumerable<object> GetElementsInRectangle(LocationRect rectangle)
Parameters
LocationRect rectangle

Rectangle to search elements in.

Returns
System.Collections.Generic.IEnumerable<System.Object>

Collection of the objects inside rectangle.

GetGeoBounds(Object)

Get geographical bounds of the given item representation.

Declaration
public LocationRect GetGeoBounds(object item)
Parameters
System.Object item

Item to get geographical bounds of. This item must be in the information layer already.

Returns
LocationRect

Geographical bounds of the given item.

GetItemsInLocation(Location)

Search the items in the information layer by given location.

Declaration
public IEnumerable<object> GetItemsInLocation(Location location)
Parameters
Location location

Location to search items at.

Returns
System.Collections.Generic.IEnumerable<System.Object>

Enumerator of the items found.

IsItemItsOwnContainerOverride(Object)

Determines if the specified item is (or is eligible to be) its own container.

Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
System.Object item

The item to check.

Returns
System.Boolean

True if the item is (or is eligible to be) its own container; otherwise, false.

MultiscaleImage_MotionFinished(Object, RoutedEventArgs)

Handle motion finished event on master multi-scale image. This method is designed for internal use.

Declaration
public override void MultiscaleImage_MotionFinished(object sender, RoutedEventArgs e)
Parameters
System.Object sender

Sender.

System.Windows.RoutedEventArgs e

Event args.

Overrides
MapLayer.MultiscaleImage_MotionFinished(Object, RoutedEventArgs)

MultiscaleImage_ViewportChanged(Object, RoutedEventArgs)

Handle viewport changed event on master multi-scale image. This method is designed for internal use.

Declaration
public override void MultiscaleImage_ViewportChanged(object sender, RoutedEventArgs e)
Parameters
System.Object sender

Sender.

System.Windows.RoutedEventArgs e

Event args.

Overrides
MapLayer.MultiscaleImage_ViewportChanged(Object, RoutedEventArgs)

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.

Declaration
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Invoked when the Items property changes.

Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
System.Collections.Specialized.NotifyCollectionChangedEventArgs e

Information about the change.

OnItemTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)

Invoked when the ItemTemplateSelector property changes.

Declaration
protected override void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector)
Parameters
System.Windows.Controls.DataTemplateSelector oldItemTemplateSelector

Old value of the ItemTemplateSelector property.

System.Windows.Controls.DataTemplateSelector newItemTemplateSelector

New value of the ItemTemplateSelector property.

OnMapChanged(RadMap, RadMap)

Called when map control is changed.

Declaration
protected override void OnMapChanged(RadMap oldMap, RadMap newMap)
Parameters
RadMap oldMap

Old map control.

RadMap newMap

New map control.

Overrides
MapLayer.OnMapChanged(RadMap, RadMap)

PrepareContainerForItemOverride(DependencyObject, Object)

Prepares object for the container.

Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject element

Element.

System.Object item

Item.

SetClip(Size)

Set up clipping for layer.

Declaration
protected override void SetClip(Size size)
Parameters
System.Windows.Size size

Overrides
MapLayer.SetClip(Size)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.