Class MapLayerCollection
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class MapLayerCollection : ICollection<MapLayer>, IEnumerable<MapLayer>, IEnumerable
Constructors
MapLayerCollection(IMapViewport)
Initializes a new instance of the MapLayerCollection class.
Declaration
public MapLayerCollection(IMapViewport viewport)
Parameters
IMapViewport
viewport
The viewport. |
Properties
Count
Declaration
public int Count { get; }
Property Value
System.Int32
|
Implements
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
|
Implements
Item[Int32]
Gets the MapLayer at the specified index.
Declaration
public MapLayer this[int index] { get; }
Parameters
System.Int32
index
The index. |
Property Value
MapLayer
Layer. |
Item[String]
Gets the MapLayer with the specified name.
Declaration
public MapLayer this[string name] { get; }
Parameters
System.String
name
The name. |
Property Value
MapLayer
Layer. |
Viewport
Methods
Add(MapLayer)
Declaration
public void Add(MapLayer item)
Parameters
MapLayer
item
|
Implements
BeginUpdate()
Suspends updates in all layers.
Declaration
public void BeginUpdate()
Clear()
Declaration
public void Clear()
Implements
Contains(MapLayer)
Declaration
public bool Contains(MapLayer item)
Parameters
MapLayer
item
|
Returns
System.Boolean
|
Implements
CopyTo(MapLayer[], Int32)
Declaration
public void CopyTo(MapLayer[] array, int arrayIndex)
Parameters
MapLayer[]
array
|
System.Int32
arrayIndex
|
Implements
EndUpdate()
Resumes updates in all layers.
Declaration
public void EndUpdate()
GetEnumerator()
Declaration
public IEnumerator<MapLayer> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<MapLayer>
|
Implements
HitTest(Point)
Hit tests the overlays in all visible layers.
Declaration
public MapVisualElement HitTest(Point location)
Parameters
System.Drawing.Point
location
A point in control coordinates. |
Returns
MapVisualElement
|
HitTest(PointG)
Hit tests the overlays in all layers.
Declaration
public MapVisualElement HitTest(PointG point)
Parameters
PointG
point
A point in geo coordinates. |
Returns
MapVisualElement
MapVisualElement. |
HitTest(PointL)
Hit tests the overlays in all layers.
Declaration
public MapVisualElement HitTest(PointL point)
Parameters
PointL
point
A point in map coordinates. |
Returns
MapVisualElement
MapVisualElement. |
Invalidate()
Declaration
public void Invalidate()
Remove(String)
Declaration
public bool Remove(string name)
Parameters
System.String
name
|
Returns
System.Boolean
|
Remove(MapLayer)
Declaration
public bool Remove(MapLayer item)
Parameters
MapLayer
item
|
Returns
System.Boolean
|
Implements
ViewportChanged(IMapViewport, ViewportChangeAction)
Declaration
public virtual void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
Parameters
IMapViewport
viewport
|
ViewportChangeAction
action
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|