Class
VisualizationLayer

Represents data visualization layer. Allows showing of the geographically positioned framework elements and map shapes over the map.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class VisualizationLayer : Control, ILayer

Inheritance: objectVisualizationLayer

Implements: ILayer

Constructors

VisualizationLayer()

Initializes a new instance of the VisualizationLayer class.

Declaration

cs-api-definition
public VisualizationLayer()

Fields

AllowDataTemplateForZoomLevelProperty

Identifies the AllowDataTemplateForZoomLevel dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AllowDataTemplateForZoomLevelProperty

Field Value

DependencyProperty

AutoCalculateClusteringThresholdProperty

Identifies the AutoClusteringThreshold dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoCalculateClusteringThresholdProperty

Field Value

DependencyProperty

AutoHighlightMapShapeProperty

Identifies the AutoHighlightMapShape dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoHighlightMapShapeProperty

Field Value

DependencyProperty

ClusterGeneratorProperty

Identifies the ClusterGenerator dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClusterGeneratorProperty

Field Value

DependencyProperty

ClusterItemTemplateProperty

Identifies the ClusterItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClusterItemTemplateProperty

Field Value

DependencyProperty

ClusterTemplateSelectorProperty

Identifies the ClusterTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClusterTemplateSelectorProperty

Field Value

DependencyProperty

ClusteringEnabledProperty

Identifies the ClusteringEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClusteringEnabledProperty

Field Value

DependencyProperty

ClusteringEnabledThresholdMinItemsProperty

Identifies the ClusteringEnabledThresholdMinItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClusteringEnabledThresholdMinItemsProperty

Field Value

DependencyProperty

ClusteringEnabledThresholdProperty

Identifies the ClusteringEnabledThreshold dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ClusteringEnabledThresholdProperty

Field Value

DependencyProperty

ColorizerProperty

Identifies the Colorizer dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColorizerProperty

Field Value

DependencyProperty

DefaultClusterTemplateProperty

Identifies the DefaultClusterTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultClusterTemplateProperty

Field Value

DependencyProperty

DefaultItemTemplateProperty

Identifies the DefaultItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultItemTemplateProperty

Field Value

DependencyProperty

DefaultKmlItemTemplateProperty

Identifies the DefaultKmlItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultKmlItemTemplateProperty

Field Value

DependencyProperty

GenerateClustersOnZoomProperty

Identifies the GenerateClustersOnZoom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty GenerateClustersOnZoomProperty

Field Value

DependencyProperty

HighlightFillProperty

Identifies the HighlightFill dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HighlightFillProperty

Field Value

DependencyProperty

ItemSelectionModeProperty

Identifies the ItemSelectionMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemSelectionModeProperty

Field Value

DependencyProperty

ItemTemplateProperty

Identifies the ItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateProperty

Field Value

DependencyProperty

ItemTemplateSelectorProperty

Identifies the ItemTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateSelectorProperty

Field Value

DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

PropertyAccessorProperty

Identifies the PropertyAccessor dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PropertyAccessorProperty

Field Value

DependencyProperty

ReaderProperty

Identifies the Reader dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReaderProperty

Field Value

DependencyProperty

RenderWhileMotionProperty

Identifies the RenderWhileMotion dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderWhileMotionProperty

Field Value

DependencyProperty

SelectedFillProperty

Identifies the SelectedFill dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedFillProperty

Field Value

DependencyProperty

SelectedItemsProperty

Identifies the SelectedItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedItemsProperty

Field Value

DependencyProperty

SelectionChangedEvent

Identifies the SelectionChanged routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent SelectionChangedEvent

Field Value

RoutedEvent

ShapeFillProperty

Identifies the ShapeFillProperty dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShapeFillProperty

Field Value

DependencyProperty

ShapeTemplateProperty

Identifies the ShapeTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShapeTemplateProperty

Field Value

DependencyProperty

UseIntersectForShapeSelectionProperty

Identifies the UseIntersectForShapeSelection dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UseIntersectForShapeSelectionProperty

Field Value

DependencyProperty

VirtualizationSourceProperty

Identifies the VirtualizationSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VirtualizationSourceProperty

Field Value

DependencyProperty

ZoomLevelGridListProperty

Identifies the ZoomLevelGridList dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ZoomLevelGridListProperty

Field Value

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

cs-api-definition
public bool AllowDataTemplateForZoomLevel { get; set; }

Property Value

bool

Remarks

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

AutoCalculateClusteringThreshold

Gets or sets value which indicates whether the clustering threshold should be calculated automatically.

Declaration

cs-api-definition
public bool AutoCalculateClusteringThreshold { get; set; }

Property Value

bool

AutoHighlightMapShape

Gets or sets value which indicates whether the map shapes should be highlighted automatically when mouse is over the shape.

Declaration

cs-api-definition
public bool AutoHighlightMapShape { get; set; }

Property Value

bool

ClusterGenerator

Gets or sets cluster generator.

Declaration

cs-api-definition
public IClusterGenerator ClusterGenerator { get; set; }

Property Value

IClusterGenerator

ClusterItemTemplate

Gets or sets data template which represents cluster item.

Declaration

cs-api-definition
public DataTemplate ClusterItemTemplate { get; set; }

Property Value

DataTemplate

ClusterTemplateSelector

Gets or sets the custom logic for choosing a template used to display each cluster.

Declaration

cs-api-definition
public DataTemplateSelector ClusterTemplateSelector { get; set; }

Property Value

DataTemplateSelector

ClusteringEnabled

Gets or sets value which indicates whether clustering is enabled.

Declaration

cs-api-definition
public bool ClusteringEnabled { get; set; }

Property Value

bool

ClusteringEnabledThreshold

Gets or sets clustering enabled threshold.

Declaration

cs-api-definition
public int ClusteringEnabledThreshold { get; set; }

Property Value

int

Remarks

This value sets the max zoom level for clustering. If zoom level is greater than this value then clustering will be disabled.

ClusteringEnabledThresholdMinItems

Gets or sets minimal number of the items in the cluster for auto calculated clustering threshold.

Declaration

cs-api-definition
public int ClusteringEnabledThresholdMinItems { get; set; }

Property Value

int

Remarks

The clustering threshold will be set if number of the items in every cluster is less than this value.

Clusters

Gets all ClusterData objects currently handled by the VisualizationLayer.

Declaration

cs-api-definition
public IEnumerable<ClusterData> Clusters { get; }

Property Value

IEnumerable<ClusterData>

Colorizer

Gets or sets IMapShapeColorizer value to colorize shape or kml file.

Declaration

cs-api-definition
public IMapShapeColorizer Colorizer { get; set; }

Property Value

IMapShapeColorizer

DefaultClusterTemplate

Gets or sets the default cluster data template.

Declaration

cs-api-definition
public DataTemplate DefaultClusterTemplate { get; set; }

Property Value

DataTemplate

DefaultItemTemplate

Gets or sets the default data template.

Declaration

cs-api-definition
public DataTemplate DefaultItemTemplate { get; set; }

Property Value

DataTemplate

DefaultKmlItemTemplate

Gets or sets the default data template for KML points.

Declaration

cs-api-definition
public DataTemplate DefaultKmlItemTemplate { get; set; }

Property Value

DataTemplate

GenerateClustersOnZoom

Gets or sets value which indicates whether clusters should be re-generated when zoom level is changed.

Declaration

cs-api-definition
public bool GenerateClustersOnZoom { get; set; }

Property Value

bool

HighlightFill

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

Declaration

cs-api-definition
public MapShapeFill HighlightFill { get; set; }

Property Value

MapShapeFill

ItemSelectionMode

Gets or sets the item selection mode. It defines how the item in the visualization layer can be selected using RadMap user interface.

Declaration

cs-api-definition
public ItemSelectionMode ItemSelectionMode { get; set; }

Property Value

ItemSelectionMode

ItemTemplate

Gets or sets the DataTemplate used to display each item.

Declaration

cs-api-definition
public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

ItemTemplateSelector

Gets or sets the custom logic for choosing a template used to display each item.

Declaration

cs-api-definition
public DataTemplateSelector ItemTemplateSelector { get; set; }

Property Value

DataTemplateSelector

Items

Gets items collection.

Declaration

cs-api-definition
public MapItemsCollection Items { get; }

Property Value

MapItemsCollection

ItemsSource

Gets or sets a collection used to generate the content of the visualization layer.

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

MapControl

Gets or sets map control this layer belongs to.

Declaration

cs-api-definition
public RadMap MapControl { get; set; }

Property Value

RadMap

Implements ILayer.MapControl

PropertyAccessor

Gets or sets map property accessor. Map property accessor is an object which read map layer related properties (location, hot spot and so on) from data items.

Declaration

cs-api-definition
public IMapPropertyAccessor PropertyAccessor { get; set; }

Property Value

IMapPropertyAccessor

Reader

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

Declaration

cs-api-definition
public AsyncReaderBase Reader { get; set; }

Property Value

AsyncReaderBase

RenderWhileMotion

Gets or sets value which indicates whether the layer should request and render items dynamically during panning and zooming.

Declaration

cs-api-definition
public bool RenderWhileMotion { get; set; }

Property Value

bool

SelectedFill

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

Declaration

cs-api-definition
public MapShapeFill SelectedFill { get; set; }

Property Value

MapShapeFill

SelectedItems

Gets or sets list of the selected items.

Declaration

cs-api-definition
public IList<object> SelectedItems { get; set; }

Property Value

IList<object>

ShapeFill

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

Declaration

cs-api-definition
public MapShapeFill ShapeFill { get; set; }

Property Value

MapShapeFill

ShapeTemplate

Gets or sets the map shape visualization data template.

Declaration

cs-api-definition
public DataTemplate ShapeTemplate { get; set; }

Property Value

DataTemplate

UseBitmapCache

Gets or sets value which indicates whether bitmap cache should be used to accelerate panning operation.

Declaration

cs-api-definition
public bool UseBitmapCache { get; set; }

Property Value

bool

Remarks

Using of the bitmap cache significantly increase memory usage when map shapes exists on the layer. We recommend to turn it off for layers with lot of map shapes.

UseDefaultPropertyAccessor

Gets or sets value which indicates whether the default (reflection-based) property accessor should be used to access item's map-relative properties (like Location or ZoomRange).

Declaration

cs-api-definition
public bool UseDefaultPropertyAccessor { get; set; }

Property Value

bool

Remarks

If you set this value to true and do not specify property accessor then default one will be created. Accessing item's properties using accessor is faster then obtaining them from the content presenter bindings. But you should keep in mind that default accessor use some assumptions about data item properties. So if properties of the data items differ from ones are used in default accessor then you should create your own custom data accessor.

UseIntersectForShapeSelection

Gets or sets value which indicates whether map shapes should be selected using intersection (true) or containment (false).

Declaration

cs-api-definition
public bool UseIntersectForShapeSelection { get; set; }

Property Value

bool

VirtualizationSource

Gets or sets virtualization source.

Declaration

cs-api-definition
public IMapItemsVirtualizationSource VirtualizationSource { get; set; }

Property Value

IMapItemsVirtualizationSource

ZoomLevelGridList

Gets ZoomLevelGrid collection.

Declaration

cs-api-definition
public ZoomLevelGridCollection ZoomLevelGridList { get; }

Property Value

ZoomLevelGridCollection

Methods

ArrangeItem(object)

Arrange screen position of the item.

Declaration

cs-api-definition
public void ArrangeItem(object item)

Parameters

item

object

Item to arrange position. Can be framework element, map shape or data item.

ArrangeOverride(Size)

Called to arrange and size the content.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The computed size that is used to arrange the content.

Returns

Size

The calculated size.

ClearSelection(bool)

Clear current selection.

Declaration

cs-api-definition
public List<object> ClearSelection(bool updateSelectedItems)

Parameters

updateSelectedItems

bool

Indicates whether SelectedItems collection should be updated as well.

Returns

List<object>

List of the unselected items.

Dispose()

Dispose all resources are used by information layer.

Declaration

cs-api-definition
public void Dispose()

DisposeContainers()

Called when visual containers are being disposed.

Declaration

cs-api-definition
protected virtual void DisposeContainers()

GetBestView(IEnumerable<object>)

Gets location rectangle which represents best view for the given list of the items. This method doesn't take in account visible size of the objects.

Declaration

cs-api-definition
public LocationRect GetBestView(IEnumerable<object> itemsList)

Parameters

itemsList

IEnumerable<object>

List of the items to get best view for. The items must be from this list.

Returns

LocationRect

Location rectangle which represents best view.

GetBestView(IEnumerable<object>, IMapPropertyAccessor, Size)

Gets location rectangle which represents best view for the given list of the items. This method doesn't take in account visible size of the objects.

Declaration

cs-api-definition
public static LocationRect GetBestView(IEnumerable<object> itemsList, IMapPropertyAccessor propertyAccessor, Size defaultSize)

Parameters

itemsList

IEnumerable<object>

List of the items to get best view for.

propertyAccessor

IMapPropertyAccessor

Gets map layer related properties from data items.

defaultSize

Size

Default size of the region. It is applied when list contains 1 item only.

Returns

LocationRect

Location rectangle which represents best view.

GetBestView(IEnumerable<object>, Size)

Gets location rectangle which represents best view for the given list of the items. This method doesn't take in account visible size of the objects.

Declaration

cs-api-definition
public LocationRect GetBestView(IEnumerable<object> itemsList, Size defaultSize)

Parameters

itemsList

IEnumerable<object>

List of the items to get best view for. The items must be from this list.

defaultSize

Size

Default size of the region. It is applied when list contains 1 item only.

Returns

LocationRect

Location rectangle which represents best view.

GetClusterForItem(object)

Gets cluster which contains given items.

Declaration

cs-api-definition
public ClusterData GetClusterForItem(object item)

Parameters

item

object

Item to get cluster for.

Returns

ClusterData

Cluster which contains data item or null.

GetContainerFromItem(object)

Returns the container for the specified item.

Declaration

cs-api-definition
public UIElement GetContainerFromItem(object item)

Parameters

item

object

The item whose container to retrieve.

Returns

UIElement

A UIElement representing the container of the specified item.

GetDoubleFromItem(object, DataMember)

Gets double value from the correspondent attachable property.

Declaration

cs-api-definition
public double GetDoubleFromItem(object item, DataMember dataMember)

Parameters

item

object

Item to get value from.

dataMember

DataMember

Data member.

Returns

double

Double value or NaN.

GetHotSpotFromItem(object)

Gets Hot Spot from the correspondent attachable property.

Declaration

cs-api-definition
public HotSpot GetHotSpotFromItem(object item)

Parameters

item

object

Item to get value from.

Returns

HotSpot

Hot spot or null.

GetItemsInLocation(Location)

Search the items in the information layer by given location.

Declaration

cs-api-definition
public IEnumerable<object> GetItemsInLocation(Location location)

Parameters

location

Location

Location to search items at.

Returns

IEnumerable<object>

Enumerator of the items found.

GetItemsInRectangle(LocationRect)

Search the objects in the Visualization Layer by given location rectangle. Returns all objects which are located in the rectangle.

Declaration

cs-api-definition
public IEnumerable<object> GetItemsInRectangle(LocationRect rectangle)

Parameters

rectangle

LocationRect

Rectangle to search elements in.

Returns

IEnumerable<object>

Collection of the objects inside rectangle.

GetItemsInRectangle(LocationRect, bool)

Search the objects in the Visualization Layer by given location rectangle. Returns all objects which are located in the rectangle.

Declaration

cs-api-definition
public IEnumerable<object> GetItemsInRectangle(LocationRect rectangle, bool useIntersectForShapes)

Parameters

rectangle

LocationRect

Rectangle to search elements in.

useIntersectForShapes

bool

Indicates whether map shapes should be detected using intersection (true) or containment (false).

Returns

IEnumerable<object>

Collection of the objects inside rectangle.

GetLocationFromInfo(MapObjectInfo)

Gets geographical location of the data item.

Declaration

cs-api-definition
public Location GetLocationFromInfo(MapObjectInfo info)

Parameters

info

MapObjectInfo

Item to get location from.

Returns

Location

Location of the data item.

GetLocationFromItem(object)

Gets geographical location of the data item.

Declaration

cs-api-definition
public Location GetLocationFromItem(object item)

Parameters

item

object

Item to get location from.

Returns

Location

Location of the data item.

GetZIndexFromItem(object)

Gets ZIndex value from the correspondent attachable property.

Declaration

cs-api-definition
public int GetZIndexFromItem(object item)

Parameters

item

object

Item to get value from.

Returns

int

ZIndex or 0.

GetZoomRangeFromItem(object)

Gets ZoomRange value from the correspondent attachable property.

Declaration

cs-api-definition
public ZoomRange GetZoomRangeFromItem(object item)

Parameters

item

object

Item to get value from.

Returns

ZoomRange

Zoom range value or ZoomRange.Empty.

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnClustersInvalidated(EventArgs)

Called when the clusters are invalidated changes.

Declaration

cs-api-definition
protected virtual void OnClustersInvalidated(EventArgs e)

Parameters

e

EventArgs

The event data.

OnDispose()

Called when the layer is being disposed.

Declaration

cs-api-definition
protected virtual void OnDispose()

OnMapChanged(RadMap, RadMap)

Called when map control is changed.

Declaration

cs-api-definition
protected void OnMapChanged(RadMap oldMap, RadMap newMap)

Parameters

oldMap

RadMap

Old map control.

newMap

RadMap

New map control.

OnSelectionChanged(SelectionChangedEventArgs)

Called when the selection changes.

Declaration

cs-api-definition
protected virtual void OnSelectionChanged(SelectionChangedEventArgs e)

Parameters

e

SelectionChangedEventArgs

The event data.

RefreshVirtualSource()

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

Declaration

cs-api-definition
public void RefreshVirtualSource()

ResetClusteringThreshold()

Reset clustering enabled threshold.

Declaration

cs-api-definition
public void ResetClusteringThreshold()

ResetItems(bool)

Reset all items on the layer.

Declaration

cs-api-definition
public void ResetItems(bool forceRefresh = false)

Parameters

forceRefresh

bool

ReverseSelection(IEnumerable<object>)

Reverse selection for the given items. Selected items will be unselected, not selected items will be selected.

Declaration

cs-api-definition
public void ReverseSelection(IEnumerable<object> itemsToProcess)

Parameters

itemsToProcess

IEnumerable<object>

Items to reverse selection for.

ReverseSelection(Location)

Reverse selection for the items in the given location.

Declaration

cs-api-definition
public void ReverseSelection(Location location)

Parameters

location

Location

Location to search items.

Select(IEnumerable<object>, bool)

Select given items.

Declaration

cs-api-definition
public void Select(IEnumerable<object> itemsToSelect, bool clearSelection)

Parameters

itemsToSelect

IEnumerable<object>

Items to select.

clearSelection

bool

Indicates whether previously selected items should be unselected.

Select(Location, bool)

Select items in the given location.

Declaration

cs-api-definition
public void Select(Location location, bool clearSelection)

Parameters

location

Location

Location to select items.

clearSelection

bool

Indicates whether previously selected items should be unselected.

Select(LocationRect, bool)

Select items in the given rectangle.

Declaration

cs-api-definition
public void Select(LocationRect selectionRect, bool clearSelection)

Parameters

selectionRect

LocationRect

Rectangle to select items in.

clearSelection

bool

Indicates whether previously selected items should be unselected.

Select(object, bool)

Select given item.

Declaration

cs-api-definition
public void Select(object item, bool clearSelection)

Parameters

item

object

Item to select.

clearSelection

bool

Indicates whether previously selected items should be unselected.

SetClip(Size)

Set up clipping for layer.

Declaration

cs-api-definition
protected void SetClip(Size size)

Parameters

size

Size

StartBackgroundThread()

Starts the background thread responsible for processing the items from the VirtualizationSource.

Declaration

cs-api-definition
protected virtual void StartBackgroundThread()

StopBackgroundThread()

Stops the background thread responsible for processing the items from the VirtualizationSource.

Declaration

cs-api-definition
protected virtual void StopBackgroundThread()

Unselect(IEnumerable<object>)

Unselect given items.

Declaration

cs-api-definition
public void Unselect(IEnumerable<object> itemsToUnselect)

Parameters

itemsToUnselect

IEnumerable<object>

Items to unselect.

Unselect(Location)

Unselect items in the given location.

Declaration

cs-api-definition
public void Unselect(Location location)

Parameters

location

Location

Location to unselect items.

Unselect(LocationRect)

Unselect items in the given rectangle.

Declaration

cs-api-definition
public void Unselect(LocationRect selectionRect)

Parameters

selectionRect

LocationRect

Rectangle to unselect items in.

Unselect(object)

Unselect given item.

Declaration

cs-api-definition
public void Unselect(object item)

Parameters

item

object

Item to unselect.

Events

ClustersInvalidated

Occurs when clusters are invalidated.

Declaration

cs-api-definition
public event EventHandler ClustersInvalidated

Event Value

EventHandler

MapShapeVisualizationCreated

Occurs when map shape visualization object is created. Can be used to attach event handlers.

Declaration

cs-api-definition
public event EventHandler<MapShapeOperationEventArgs> MapShapeVisualizationCreated

Event Value

EventHandler<MapShapeOperationEventArgs>

MapShapeVisualizationRemoved

Occurs when map shape visualization object is removed. Can be used to detach event handlers.

Declaration

cs-api-definition
public event EventHandler<MapShapeOperationEventArgs> MapShapeVisualizationRemoved

Event Value

EventHandler<MapShapeOperationEventArgs>

SelectionChanged

Occurs when the selection of a VisualizationLayer changes.

Declaration

cs-api-definition
public event SelectionChangedEventHandler SelectionChanged

Event Value

SelectionChangedEventHandler

In this article
DefinitionConstructorsVisualizationLayer()FieldsAllowDataTemplateForZoomLevelPropertyAutoCalculateClusteringThresholdPropertyAutoHighlightMapShapePropertyClusterGeneratorPropertyClusterItemTemplatePropertyClusterTemplateSelectorPropertyClusteringEnabledPropertyClusteringEnabledThresholdMinItemsPropertyClusteringEnabledThresholdPropertyColorizerPropertyDefaultClusterTemplatePropertyDefaultItemTemplatePropertyDefaultKmlItemTemplatePropertyGenerateClustersOnZoomPropertyHighlightFillPropertyItemSelectionModePropertyItemTemplatePropertyItemTemplateSelectorPropertyItemsSourcePropertyPropertyAccessorPropertyReaderPropertyRenderWhileMotionPropertySelectedFillPropertySelectedItemsPropertySelectionChangedEventShapeFillPropertyShapeTemplatePropertyUseIntersectForShapeSelectionPropertyVirtualizationSourcePropertyZoomLevelGridListPropertyPropertiesAllowDataTemplateForZoomLevelAutoCalculateClusteringThresholdAutoHighlightMapShapeClusterGeneratorClusterItemTemplateClusterTemplateSelectorClusteringEnabledClusteringEnabledThresholdClusteringEnabledThresholdMinItemsClustersColorizerDefaultClusterTemplateDefaultItemTemplateDefaultKmlItemTemplateGenerateClustersOnZoomHighlightFillItemSelectionModeItemTemplateItemTemplateSelectorItemsItemsSourceMapControlPropertyAccessorReaderRenderWhileMotionSelectedFillSelectedItemsShapeFillShapeTemplateUseBitmapCacheUseDefaultPropertyAccessorUseIntersectForShapeSelectionVirtualizationSourceZoomLevelGridListMethodsArrangeItem(object)ArrangeOverride(Size)ClearSelection(bool)Dispose()DisposeContainers()GetBestView(IEnumerable<object>)GetBestView(IEnumerable<object>, IMapPropertyAccessor, Size)GetBestView(IEnumerable<object>, Size)GetClusterForItem(object)GetContainerFromItem(object)GetDoubleFromItem(object, DataMember)GetHotSpotFromItem(object)GetItemsInLocation(Location)GetItemsInRectangle(LocationRect)GetItemsInRectangle(LocationRect, bool)GetLocationFromInfo(MapObjectInfo)GetLocationFromItem(object)GetZIndexFromItem(object)GetZoomRangeFromItem(object)OnApplyTemplate()OnClustersInvalidated(EventArgs)OnDispose()OnMapChanged(RadMap, RadMap)OnSelectionChanged(SelectionChangedEventArgs)RefreshVirtualSource()ResetClusteringThreshold()ResetItems(bool)ReverseSelection(IEnumerable<object>)ReverseSelection(Location)Select(IEnumerable<object>, bool)Select(Location, bool)Select(LocationRect, bool)Select(object, bool)SetClip(Size)StartBackgroundThread()StopBackgroundThread()Unselect(IEnumerable<object>)Unselect(Location)Unselect(LocationRect)Unselect(object)EventsClustersInvalidatedMapShapeVisualizationCreatedMapShapeVisualizationRemovedSelectionChanged
Not finding the help you need?
Contact Support