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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

C#
public class MapLayerCollection : IEnumerable

Inheritance: objectMapLayerCollection

Implements: IEnumerable

Constructors

Initializes a new instance of the MapLayerCollection class.

C#
public MapLayerCollection(IMapViewport viewport)
Parameters:viewportIMapViewport

The viewport.

Properties

C#
public int Count { get; }
C#
public bool IsReadOnly { get; }

Gets the MapLayer at the specified index.

C#
public MapLayer this[int index] { get; }
Parameters:indexint

The index.

Property Value:

Layer.

Gets the MapLayer with the specified name.

C#
public MapLayer this[string name] { get; }
Parameters:namestring

The name.

Property Value:

Layer.

C#
public IMapViewport Viewport { get; }

Methods

C#
public void Add(MapLayer item)
Parameters:itemMapLayer

Suspends updates in all layers.

C#
public void BeginUpdate()
C#
public void Clear()
C#
public bool Contains(MapLayer item)
Parameters:itemMapLayerReturns:

bool

C#
public void CopyTo(MapLayer[] array, int arrayIndex)
Parameters:arrayMapLayer[]arrayIndexint

Resumes updates in all layers.

C#
public void EndUpdate()
C#
public IEnumerator<MapLayer> GetEnumerator()
Returns:

IEnumerator<MapLayer>

Hit tests the overlays in all visible layers.

C#
public MapVisualElement HitTest(Point location)
Parameters:locationPoint

A point in control coordinates.

Returns:

MapVisualElement

Hit tests the overlays in all layers.

C#
public MapVisualElement HitTest(PointG point)
Parameters:pointPointG

A point in geo coordinates.

Returns:

MapVisualElement

MapVisualElement.

Hit tests the overlays in all layers.

C#
public MapVisualElement HitTest(PointL point)
Parameters:pointPointL

A point in map coordinates.

Returns:

MapVisualElement

MapVisualElement.

C#
public void Invalidate()
C#
public bool Remove(MapLayer item)
Parameters:itemMapLayerReturns:

bool

C#
public bool Remove(string name)
Parameters:namestringReturns:

bool

C#
public virtual void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
Parameters:viewportIMapViewportactionViewportChangeAction