Class
MapPath

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:

cs-api-definition
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

MapPath()

Initializes a new instance of the MapPath class.

Declaration

cs-api-definition
public MapPath()

Fields

DataProperty

Identifies the Data dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DataProperty

Field Value

DependencyProperty

Properties

Data

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

Declaration

cs-api-definition
public MapGeometry Data { get; set; }

Property Value

MapGeometry

ScreenBounds

Gets bounding rectangle given in pixels.

Declaration

cs-api-definition
public override Rect ScreenBounds { get; }

Property Value

Rect

Overrides MapShape.ScreenBounds

Methods

MoveTo(Location)

Change location of the shape.

Declaration

cs-api-definition
public override void MoveTo(Location location)

Parameters

location

Location

New location.

Overrides MapShape.MoveTo(Location)

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnMapControlChanged(RadMap, RadMap)

Is called when map control is changed.

Declaration

cs-api-definition
protected override void OnMapControlChanged(RadMap oldMap, RadMap newMap)

Parameters

oldMap

RadMap

Old map control.

newMap

RadMap

New map control.

Overrides MapShape.OnMapControlChanged(RadMap, RadMap)

PrepareShape()

Prepare shape.

Declaration

cs-api-definition
protected override Size PrepareShape()

Returns

Size

Overrides MapShape.PrepareShape()