MapAirRoute
Class
Draws a curved map path between two geographic endpoints using the inherited border styling.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
C#
public class MapAirRoute : MapPathBasedVisualElement, IClusterable, IBorderElement, IBoxStyle, IBoxElement, IFillElement, ITextElement, IShapedElement
Inheritance: objectMapVisualElementMapPathBasedVisualElementMapAirRoute
Implements:
Inherited Members
Constructors
Initializes a new instance of the MapAirRoute class.
Properties
Gets or sets the geographic ending point; changing it invalidates the cached render path.
C#
public PointG End { get; set; }
Methods
C#
protected override MapVisualElementInfo CreateVisualElementInfo(IMapViewport viewport)
The viewport used to project the endpoints.
Returns:A path and pixel offset used to position the route in the viewport.
Overrides:
Paints the element to the specified graphics.
C#
public override void Paint(IGraphics graphics, IMapViewport viewport)
The graphics.
viewportIMapViewportThe viewport.
Overrides: