Class MapLayer
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class MapLayer : ICollection<MapVisualElement>, IEnumerable<MapVisualElement>, IEnumerable
Constructors
MapLayer()
MapLayer(String)
Initializes a new instance of the Map
Declaration
public MapLayer(string name)
Parameters
System. The name. |
Properties
ClusterDistance
Gets or sets the cluster distance.
Declaration
public long ClusterDistance { get; set; }
Property Value
System. The cluster distance. |
ClusterStrategy
Gets or sets the cluster strategy.
Declaration
public IMapClusterStrategy ClusterStrategy { get; set; }
Property Value
IMap The cluster strategy. |
ColorizationStrategy
Gets or sets the colorization strategy.
Declaration
public IColorizationStrategy ColorizationStrategy { get; set; }
Property Value
IColorization The colorization strategy. |
Count
Declaration
public int Count { get; }
Property Value
System.
|
Implements
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
System.
|
Implements
IsUpdateSuspended
Gets a value indicating whether updates are suspended.
Declaration
public bool IsUpdateSuspended { get; }
Property Value
System.
|
IsVisible
Declaration
public bool IsVisible { get; set; }
Property Value
System.
|
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
System. The name. |
Overlays
Gets the overlays contained within this layer.
Declaration
public ReadOnlyCollection<MapVisualElement> Overlays { get; }
Property Value
System. The overlays. |
Viewport
Gets the viewport.
Declaration
public IMapViewport Viewport { get; }
Property Value
IMap The viewport. |
VisibleOverlays
Gets the currently visible overlays in this layer. When cluster strategy is applied the visible overlays may differ from the user added ones.
Declaration
public ReadOnlyCollection<MapVisualElement> VisibleOverlays { get; }
Property Value
System.
|
Methods
Add(MapVisualElement)
Declaration
public void Add(MapVisualElement item)
Parameters
Map
|
Implements
AddRange(IEnumerable<MapVisualElement>)
Adds the specified overlays to the layer.
Declaration
public void AddRange(IEnumerable<MapVisualElement> items)
Parameters
System. The items. |
AddRange(MapVisualElement[])
Adds the specified overlays to the layer.
Declaration
public void AddRange(params MapVisualElement[] items)
Parameters
Map The items. |
BeginUpdate()
Suspends updates.
Declaration
public void BeginUpdate()
Clear()
Declaration
public void Clear()
Implements
Contains(MapVisualElement)
Declaration
public bool Contains(MapVisualElement item)
Parameters
Map
|
Returns
System.
|
Implements
CopyTo(MapVisualElement[], Int32)
Declaration
public void CopyTo(MapVisualElement[] array, int arrayIndex)
Parameters
Map
|
System.
|
Implements
EndUpdate()
Resumes updates and performs an update.
Declaration
public void EndUpdate()
EndUpdate(Boolean)
Resumes updates and performs an update based on the provided parameter
Declaration
public void EndUpdate(bool update)
Parameters
System. if set to |
GetEnumerator()
Declaration
public IEnumerator<MapVisualElement> GetEnumerator()
Returns
System.
|
Implements
HitTest(PointG)
Hit tests the overlays in the layer.
Declaration
public MapVisualElement HitTest(PointG point)
Parameters
Point The point. |
Returns
Map MapVisualElement. |
HitTest(PointG, PointL)
Hit tests the overlays in the layer.
Declaration
protected virtual MapVisualElement HitTest(PointG pointG, PointL pointL)
Parameters
Returns
Map MapVisualElement. |
HitTest(PointL)
Hit tests the overlays in the layer.
Declaration
public MapVisualElement HitTest(PointL point)
Parameters
Point The point. |
Returns
Map MapVisualElement. |
Invalidate()
Declaration
protected virtual void Invalidate()
OverlayLocationChanged(MapVisualElement)
Called when the location property of an overlay changes.
Declaration
public virtual void OverlayLocationChanged(MapVisualElement overlay)
Parameters
Map
|
Paint(IGraphics, IMapViewport)
Paints the layer to the specified graphics.
Declaration
public virtual void Paint(IGraphics graphics, IMapViewport viewport)
Parameters
IGraphics
graphics
The graphics. |
IMap The viewport. |
Remove(MapVisualElement)
Declaration
public bool Remove(MapVisualElement item)
Parameters
Map
|
Returns
System.
|
Implements
UpdateOverlaysColorizerColor()
Updates the colorizer color of all overlays.
Declaration
public virtual void UpdateOverlaysColorizerColor()
ViewportUpdated(IMapViewport, ViewportChangeAction)
Called when the viewport is updated.
Declaration
public virtual void ViewportUpdated(IMapViewport viewport, ViewportChangeAction action)
Parameters
IMap The viewport. |
Viewport The action. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.
|