Class
MapCluster

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class MapCluster : MapPathBasedVisualElement, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement

Inheritance: objectMapVisualElementMapPathBasedVisualElementMapCluster

Implements: IBorderElementIBoxElementIBoxStyleIClusterableIFillElementIShapedElementITextElement

Inherited Members MapPathBasedVisualElement.GetVisualElementInfo(IMapViewport)MapPathBasedVisualElement.ResetGraphicsPathCache()MapPathBasedVisualElement.IsInViewportMapPathBasedVisualElement.LocationMapVisualElement.GetGeographicBounds()MapVisualElement.GetCurrentShape()MapVisualElement.GeographicBoundsMapVisualElement.LayerMapVisualElement.IsVisibleMapVisualElement.IsSelectedMapVisualElement.TagMapVisualElement.BackColorMapVisualElement.BackColor2MapVisualElement.BackColor3MapVisualElement.BackColor4MapVisualElement.NumberOfColorsMapVisualElement.GradientAngleMapVisualElement.GradientPercentageMapVisualElement.GradientPercentage2MapVisualElement.GradientStyleMapVisualElement.SizeMapVisualElement.SmoothingModeMapVisualElement.BorderColorMapVisualElement.BorderColor2MapVisualElement.BorderColor3MapVisualElement.BorderColor4MapVisualElement.InnerColorMapVisualElement.InnerColor2MapVisualElement.InnerColor3MapVisualElement.InnerColor4MapVisualElement.BoxStyleMapVisualElement.BorderDrawModeMapVisualElement.BorderDashStyleMapVisualElement.BorderDashPatternMapVisualElement.LeftColorMapVisualElement.LeftShadowColorMapVisualElement.TopColorMapVisualElement.TopShadowColorMapVisualElement.RightColorMapVisualElement.RightShadowColorMapVisualElement.BottomColorMapVisualElement.BottomShadowColorMapVisualElement.BorderWidthMapVisualElement.LeftWidthMapVisualElement.TopWidthMapVisualElement.RightWidthMapVisualElement.BottomWidthMapVisualElement.OffsetMapVisualElement.BorderSizeMapVisualElement.HorizontalWidthMapVisualElement.VerticalWidthMapVisualElement.ForeColorMapVisualElement.FontMapVisualElement.TextMapVisualElement.RawResourceMapVisualElement.Shape

Constructors

MapCluster()

Initializes a new instance of the MapCluster class.

Declaration

cs-api-definition
public MapCluster()

Properties

ClusteredItems

Gets the clustered items.

Declaration

cs-api-definition
public List<IClusterable> ClusteredItems { get; }

Property Value

List<IClusterable>

The clustered items.

IsOutline

Declaration

cs-api-definition
protected override bool IsOutline { get; }

Property Value

bool

Overrides MapPathBasedVisualElement.IsOutline

Padding

Declaration

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

Property Value

Padding

ToolTipText

Gets or sets the text of the tool tip for this element.

Declaration

cs-api-definition
public override string ToolTipText { get; set; }

Property Value

string

The tool tip text.

Overrides MapVisualElement.ToolTipText

Methods

CreateVisualElementInfo(IMapViewport)

Declaration

cs-api-definition
protected override MapVisualElementInfo CreateVisualElementInfo(IMapViewport viewport)

Parameters

viewport

IMapViewport

Returns

MapVisualElementInfo

Overrides MapPathBasedVisualElement.CreateVisualElementInfo(IMapViewport)

GetItemsBoundingRectangle()

Gets the items bounding rectangle.

Declaration

cs-api-definition
public virtual RectangleG GetItemsBoundingRectangle()

Returns

RectangleG

RectangleG.

HitTest(PointG, PointL, IMapViewport)

Hit tests the element.

Declaration

cs-api-definition
public override bool HitTest(PointG pointG, PointL pointL, IMapViewport viewport)

Parameters

pointG

PointG

The point g.

pointL

PointL

The point l.

viewport

IMapViewport

The viewport.

Returns

bool

true if XXXX, false otherwise.

Overrides MapPathBasedVisualElement.HitTest(PointG, PointL, IMapViewport)

Paint(IGraphics, IMapViewport)

Paints the element to the specified graphics.

Declaration

cs-api-definition
public override void Paint(IGraphics graphics, IMapViewport viewport)

Parameters

graphics

IGraphics

The graphics.

viewport

IMapViewport

The viewport.

Overrides MapVisualElement.Paint(IGraphics, IMapViewport)

ViewportChanged(IMapViewport, ViewportChangeAction)

Called when the viewport changes.

Declaration

cs-api-definition
public override void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)

Parameters

viewport

IMapViewport

The viewport.

action

ViewportChangeAction

The action.

Overrides MapPathBasedVisualElement.ViewportChanged(IMapViewport, ViewportChangeAction)