Class RadMap
Represents a custom view implementation that enables rich GeoSpatial data visualization.
Inherited Members
Namespace: Telerik.Maui.Controls.Map
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadMap : RadLayout, IMapView
Constructors
RadMap()
Fields
BackgroundColorProperty
Identifies the BackgroundColor property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
EnableHardwareAccelerationProperty
Identifies the EnableHardwareAcceleration property.
Declaration
public static readonly BindableProperty EnableHardwareAccelerationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
InteractionModeProperty
Identifies the InteractionMode property.
Declaration
public static readonly BindableProperty InteractionModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
MaxZoomLevelProperty
Identifies the MaxZoomLevel property.
Declaration
public static readonly BindableProperty MaxZoomLevelProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
MinZoomLevelProperty
Identifies the MinZoomLevel property.
Declaration
public static readonly BindableProperty MinZoomLevelProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ZoomInCommandProperty
Identifies the ZoomInCommand property.
Declaration
public static readonly BindableProperty ZoomInCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ZoomLevelProperty
Identifies the ZoomLevel property.
Declaration
public static readonly BindableProperty ZoomLevelProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ZoomOutCommandProperty
Identifies the ZoomOutCommand property.
Declaration
public static readonly BindableProperty ZoomOutCommandProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
EnableHardwareAcceleration
Gets or sets the System.Boolean of the map that controls the way the control is rendered. When the property is set to true the GPU is used for rendering. When it is set the false the CPU is used for rendering.
Declaration
public bool EnableHardwareAcceleration { get; set; }
Property Value
System.Boolean
|
InteractionMode
Gets or sets the InteractionMode of the map.
Declaration
public MapInteractionMode InteractionMode { get; set; }
Property Value
MapInteractionMode
|
Layers
Gets the collection with all the MapLayer instances currently available within the map.
Declaration
public ObservableItemCollection<MapLayer> Layers { get; }
Property Value
ObservableItemCollection<MapLayer>
|
MaxZoomLevel
Gets or sets the System.Double value that defines the maximum value the ZoomLevel property can reach.
Declaration
public double MaxZoomLevel { get; set; }
Property Value
System.Double
|
MinZoomLevel
Gets or sets the System.Double value that defines the minimum value the ZoomLevel property can reach.
Declaration
public double MinZoomLevel { get; set; }
Property Value
System.Double
|
ZoomInCommand
Gets or sets the System.Windows.Input.ICommand that is used for performing zoom in operation over the map.
Declaration
public ICommand ZoomInCommand { get; set; }
Property Value
System.Windows.Input.ICommand
|
ZoomLevel
Gets the System.Double value that represents the current zoom level of the map.
Declaration
public double ZoomLevel { get; }
Property Value
System.Double
|
ZoomOutCommand
Gets or sets the System.Windows.Input.ICommand that is used for performing zoom out operation over the map.
Declaration
public ICommand ZoomOutCommand { get; set; }
Property Value
System.Windows.Input.ICommand
|
Methods
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
SetView(LocationRect)
Sets the provided LocationRect value as the current view of the map.
Declaration
public void SetView(LocationRect boundingRect)
Parameters
LocationRect
boundingRect
|
ZoomToLevel(Double)
Sets the provided ZoomLevel value as the current zoom level of the map.
Declaration
public void ZoomToLevel(double zoomLevel)
Parameters
System.Double
zoomLevel
|