MapLayer
Base class for all layers.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public abstract class MapLayer : ItemsControl, ILayer
Inheritance: objectMapLayer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the MapLayer class.
protected MapLayer()
Fields
BaseZoomLevelProperty
DependencyProperty
Identifies the BaseZoomLevel dependency property.
public static readonly DependencyProperty BaseZoomLevelProperty
GeographicalSizeProperty
DependencyProperty
Identifies the GeographicalSize dependency property.
public static readonly DependencyProperty GeographicalSizeProperty
HotSpotProperty
DependencyProperty
Identifies the HotSpot dependency property.
public static readonly DependencyProperty HotSpotProperty
LocationProperty
DependencyProperty
Identifies the Location dependency property.
public static readonly DependencyProperty LocationProperty
MaxScaleProperty
DependencyProperty
Identifies the MaxScale dependency property.
public static readonly DependencyProperty MaxScaleProperty
MinScaleProperty
DependencyProperty
Identifies the MinScale dependency property.
public static readonly DependencyProperty MinScaleProperty
ZoomRangeProperty
DependencyProperty
Identifies the ZoomRange dependency property.
public static readonly DependencyProperty ZoomRangeProperty
Properties
Gets or sets map control this layer belongs to.
public RadMap MapControl { get; set; }
Implements:
Methods
Called to arrange and size the content.
protected override Size ArrangeOverride(Size finalSize)
The computed size that is used to arrange the content.
Returns:Size
The calculated size.
Dispose all resources are used by RadMap control.
public virtual void Dispose()
Gets value of the attachable BaseZoomLevel property. The BaseZoomLevel affect FrameworkElements (except MapShape based ones.) It specify zoom level where framework element in the information layer have ScaleTransform with scale = 1. If this property is set, then scale transformation will be applied to the framework element when we zoom in/out map control.
public static double GetBaseZoomLevel(DependencyObject element)
Element to get value of the property from.
Returns:Value of the BaseZoomLevel property.
Gets value of the attachable GeographicalSize property.
public static Location GetGeographicalSize(DependencyObject element)
Element to get value of the property from.
Returns:Value of the GeographicalSize property.
Gets value of the attachable HotSpot property.
public static HotSpot GetHotSpot(DependencyObject element)
Element to get value of the property from.
Returns:Value of the HotSpot property.
Gets value of the attachable Location property.
public static Location GetLocation(DependencyObject element)
Element to get value of the property from.
Returns:Value of the Location property.
Gets value of the attachable MaxScale property. The MaxScale affect FrameworkElements (except MapShape based ones.) It specify maximum scale factor which will be applied to the framework element when it has BaseZoomLevel property set and we zoom in map control.
public static double GetMaxScale(DependencyObject element)
Element to get value of the property from.
Returns:Value of the MaxScale property.
Gets value of the attachable MinScale property. The MinScale affect FrameworkElements (except MapShape based ones.) It specify maximum scale factor which will be applied to the framework element when it has BaseZoomLevel property set and we zoom out map control.
public static double GetMinScale(DependencyObject element)
Element to get value of the property from.
Returns:Value of the MinScale property.
Gets value of the attachable ZoomRange property.
public static ZoomRange GetZoomRange(DependencyObject element)
Element to get value of the property from.
Returns:Value of the ZoomRange property.
Handle motion finished event on master multi-scale image. This method is designed for internal use.
public virtual void MultiscaleImage_MotionFinished(object sender, RoutedEventArgs e)
Sender.
eRoutedEventArgsEvent args.
Implements:
Handle viewport changed event on master multi-scale image. This method is designed for internal use.
public virtual void MultiscaleImage_ViewportChanged(object sender, RoutedEventArgs e)
Sender.
eRoutedEventArgsEvent args.
Implements:
Sets value of the attachable BaseZoomLevel property. The BaseZoomLevel affect FrameworkElements (except MapShape based ones.) It specify zoom level where framework element in the information layer have ScaleTransform with scale = 1. If this property is set, then scale transformation will be applied to the framework element when we zoom in/out map control.
public static void SetBaseZoomLevel(DependencyObject element, double value)
Element to set value of the property to.
valuedoubleZoom level.
Set up clipping for layer.
protected abstract void SetClip(Size size)
Sets value of the attachable GeographicalSize property.
public static void SetGeographicalSize(DependencyObject element, Location value)
Element to set value of the property to.
valueLocationGeographical size of the element.
Sets value of the attachable HotSpot property.
public static void SetHotSpot(DependencyObject element, HotSpot value)
Element to set value of the property to.
valueHotSpotHotspot.
Sets value of the attachable Location property.
public static void SetLocation(DependencyObject element, Location value)
Element to set value of the property to.
valueLocationGeographical location of the element.
Sets value of the attachable MaxScale property. The MaxScale affect FrameworkElements (except MapShape based ones.) It specify maximum scale factor which will be applied to the framework element when it has BaseZoomLevel property set and we zoom in map control.
public static void SetMaxScale(DependencyObject element, double value)
Element to get value of the property from.
valuedoubleValue of the MaxScale property.
Sets value of the attachable MinScale property. The MinScale affect FrameworkElements (except MapShape based ones.) It specify maximum scale factor which will be applied to the framework element when it has BaseZoomLevel property set and we zoom out map control.
public static void SetMinScale(DependencyObject element, double value)
Element to get value of the property from.
valuedoubleValue of the MinScale property.
Sets value of the attachable ZoomRange property.
public static void SetZoomRange(DependencyObject element, ZoomRange value)
Element to set value of the property to.
valueZoomRangeZoom range of the element.