Class
LineData

Represents line given in the geographical coordinates.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class LineData : MapShapeData, IExtendedData, INotifyPropertyChanged, IGeoSizeProvider, IColorable

Inheritance: objectExtendedDataProviderMapShapeDataLineData

Implements: IColorableIExtendedDataIGeoSizeProviderINotifyPropertyChanged

Inherited Members MapShapeData.BeginInit()MapShapeData.EndInit()MapShapeData.EndInit(bool)MapShapeData.UseHighlightFill()MapShapeData.UseRegularFill()MapShapeData.UseSelectedFill()MapShapeData.Arrange()MapShapeData.SetLogicalWidth(int)MapShapeData.UpdateShape()MapShapeData.ActiveShapeFillMapShapeData.GeoBoundsMapShapeData.GeometryMapShapeData.GeoSizeMapShapeData.HighlightFillMapShapeData.IsHighlightedMapShapeData.IsSelectedMapShapeData.RenderTransformMapShapeData.RenderTransformOriginMapShapeData.SelectedFillMapShapeData.SerializedHighlightFillMapShapeData.SerializedShapeFillMapShapeData.SerializedSelectedFillMapShapeData.ShapeFillMapShapeData.SpatialReferenceMapShapeData.ToScreenParametersMapShapeData.TransformMapShapeData.WrapperMapShapeData.InitStartedExtendedDataProvider.OnPropertyChanged(string)ExtendedDataProvider.ExtendedDataExtendedDataProvider.LayerExtendedDataProvider.LocationExtendedDataProvider.ToolTipFormatExtendedDataProvider.ToolTipTemplateExtendedDataProvider.ToolTipStyleExtendedDataProvider.ZIndexExtendedDataProvider.PropertyChanged

Constructors

LineData()

Declaration

cs-api-definition
public LineData()

Properties

Point1

Gets or sets the start point of the line.

Declaration

cs-api-definition
public Location Point1 { get; set; }

Property Value

Location

Point2

Gets or sets the end point of the line.

Declaration

cs-api-definition
public Location Point2 { get; set; }

Property Value

Location

Methods

CalculateLogicalCoordinates()

Calculates logical coordinates.

Declaration

cs-api-definition
protected override void CalculateLogicalCoordinates()

Overrides MapShapeData.CalculateLogicalCoordinates()

GetScreenGeometry(int)

Calculates screen geometry.

Declaration

cs-api-definition
protected override string GetScreenGeometry(int zoomLevel)

Parameters

zoomLevel

int

Zoom level to get screen geometry for.

Returns

string

String representation of the screen geometry.

Overrides MapShapeData.GetScreenGeometry(int)

UpdateGeoBounds()

Recalculate location of the shape.

Declaration

cs-api-definition
protected override void UpdateGeoBounds()

Overrides MapShapeData.UpdateGeoBounds()