Class RadMap
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
[TelerikToolboxCategory("Data Controls")]
public class RadMap : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadMap()
Declaration
public RadMap()
Properties
DefaultSize
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
InputBehavior
Gets or sets the input behavior that will handle the user input.
Declaration
public MapInputBehavior InputBehavior { get; set; }
Property Value
MapInputBehavior
The input behavior. |
IsUpdateSuspended
Gets a value indicating whether updates are suspended.
Declaration
public bool IsUpdateSuspended { get; }
Property Value
System.Boolean
|
Layers
Gets the layers collection of the map element.
Declaration
public MapLayerCollection Layers { get; }
Property Value
MapLayerCollection
The layers. |
MapElement
Providers
Gets the providers collection of the map element.
Declaration
public MapProviderCollection Providers { get; }
Property Value
MapProviderCollection
The providers. |
SelectedElements
Gets a collection of the selected elements.
Declaration
public List<MapVisualElement> SelectedElements { get; }
Property Value
System.Collections.Generic.List<MapVisualElement>
The selected elements. |
ShowLegend
Gets or sets a value indicating whether the legend is visible.
Declaration
public bool ShowLegend { get; set; }
Property Value
System.Boolean
|
ShowMiniMap
Gets or sets a value indicating whether the mini map is visible.
Declaration
public bool ShowMiniMap { get; set; }
Property Value
System.Boolean
|
ShowNavigationBar
ShowScaleIndicator
Gets or sets a value indicating whether the scale indicator is visible.
Declaration
public bool ShowScaleIndicator { get; set; }
Property Value
System.Boolean
|
ShowSearchBar
Gets or sets a value indicating whether the search bar is visible.
Declaration
public bool ShowSearchBar { get; set; }
Property Value
System.Boolean
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Methods
BeginUpdate()
Suspends updates.
Declaration
public void BeginUpdate()
BringIntoView(PointG)
Brings the specified geo point into the center of the viewport.
Declaration
public virtual void BringIntoView(PointG location)
Parameters
PointG
location
The location. |
BringIntoView(PointG, Int32)
Brings the specified geo point into the center of the viewport and zooms the viewport to the specified zoom level.
Declaration
public virtual void BringIntoView(PointG location, int zoomLevel)
Parameters
PointG
location
The location. |
System.Int32
zoomLevel
The zoom level. |
BringIntoView(RectangleG)
Calculates the best zoom level that will fit the specified rectangle and centers it in the viewport.
Declaration
public virtual void BringIntoView(RectangleG rectangle)
Parameters
RectangleG
rectangle
The rectangle. |
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
CreateMapElement()
EndUpdate()
Resumes updates and performs an update.
Declaration
public void EndUpdate()
EndUpdate(Boolean)
Resumes updates and performs an update if specified by the update parameter.
Declaration
public void EndUpdate(bool update)
Parameters
System.Boolean
update
if set to |
IsInputKey(Keys)
Declaration
protected override bool IsInputKey(Keys keyData)
Parameters
System.Windows.Forms.Keys
keyData
|
Returns
System.Boolean
|
Overrides
Pan(Int64, Int64)
Pans the viewport to the specified x and y coordinates.
Declaration
public virtual void Pan(long x, long y)
Parameters
System.Int64
x
The x coordinate. |
System.Int64
y
The y coordinate. |
Pan(SizeL)
Pans the viewport with the specified delta.
Declaration
public virtual void Pan(SizeL delta)
Parameters
SizeL
delta
The delta. |
Zoom(Int32)
Zooms the viewport to the specified zoom level.
Declaration
public virtual void Zoom(int zoomLevel)
Parameters
System.Int32
zoomLevel
The zoom level. |
Zoom(Int32, Boolean)
Zooms the viewport to the specified zoom level.
Declaration
public virtual void Zoom(int zoomLevel, bool animate)
Parameters
System.Int32
zoomLevel
The zoom level. |
System.Boolean
animate
if set to |
Zoom(Int32, Boolean, Point)
Zooms the viewport to the specified zoom level.
Declaration
public virtual void Zoom(int zoomLevel, bool animate, Point center)
Parameters
System.Int32
zoomLevel
The zoom level. |
System.Boolean
animate
if set to |
System.Drawing.Point
center
The point in the viewport around where the zoom should be performed. |
Events
SelectionChanged
Occurs when a user clicks on a visual element in the layers.
Declaration
public event EventHandler<MapSelectionChangedEventArgs> SelectionChanged
Event Type
System.EventHandler<MapSelectionChangedEventArgs>
|