New to Telerik UI for WPFStart a free 30-day trial

MapPath

Class

Draws a series of connected lines and curves given in the geographical coordinates.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public class MapPath : MapShape, IExtendedData, IColorable, IGeoSizeProvider

Inheritance: objectMapShapeMapPath

Implements: IColorableIExtendedDataIGeoSizeProvider

Inherited Members MapShape.CaptionLocationPropertyMapShape.CaptionTemplatePropertyMapShape.FillPropertyMapShape.HighlightFillPropertyMapShape.ShapeFillPropertyMapShape.StrokeDashArrayPropertyMapShape.StrokeDashCapPropertyMapShape.StrokeDashOffsetPropertyMapShape.StrokeEndLineCapPropertyMapShape.StrokeLineJoinPropertyMapShape.StrokeMiterLimitPropertyMapShape.StrokePropertyMapShape.StrokeStartLineCapPropertyMapShape.StrokeThicknessPropertyMapShape.VisibilityListenerPropertyMapShape.CaptureMouse()MapShape.RaiseEvent(RoutedEventArgs)MapShape.ReleaseMouseCapture()MapShape.UseHighlightFill()MapShape.UseRegularFill()MapShape.OnMapCanvasChanged(MapCanvas, MapCanvas)MapShape.PreprocessTransformation()MapShape.SetShapeFillStroke()MapShape.SetupEvents()MapShape.CaptionLocationMapShape.CaptionTemplateMapShape.ExtendedDataMapShape.FillMapShape.GeoBoundsMapShape.GeographicalBoundsMapShape.GeoSizeMapShape.HighlightFillMapShape.ShapeFillMapShape.StrokeMapShape.StrokeDashArrayMapShape.StrokeDashCapMapShape.StrokeDashOffsetMapShape.StrokeEndLineCapMapShape.StrokeLineJoinMapShape.StrokeMiterLimitMapShape.StrokeStartLineCapMapShape.StrokeThicknessMapShape.NeedUpdateLocationMapShape.MouseEnterMapShape.MouseLeaveMapShape.MouseLeftButtonDownMapShape.MouseLeftButtonUpMapShape.MouseMoveMapShape.MouseRightButtonDownMapShape.MouseRightButtonUpMapShape.MouseWheel...

Constructors

Initializes a new instance of the MapPath class.

C#
public MapPath()

Fields

DataProperty

DependencyProperty

Identifies the Data dependency property.

C#
public static readonly DependencyProperty DataProperty

Properties

Gets or sets a MapGeometry that specifies the shape to be drawn. This is a dependency property.

C#
public MapGeometry Data { get; set; }

Gets bounding rectangle given in pixels.

C#
public override Rect ScreenBounds { get; }

Overrides: MapShape.ScreenBounds

Methods

Change location of the shape.

C#
public override void MoveTo(Location location)
Parameters:locationLocation

New location.

Overrides: MapShape.MoveTo(Location)

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Is called when map control is changed.

C#
protected override void OnMapControlChanged(RadMap oldMap, RadMap newMap)
Parameters:oldMapRadMap

Old map control.

newMapRadMap

New map control.

Overrides: MapShape.OnMapControlChanged(RadMap, RadMap)

Prepare shape.

C#
protected override Size PrepareShape()
Returns:

Size

Overrides: MapShape.PrepareShape()