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

Represents line given in the geographical coordinates.

Definition

Constructors

C#
public LineData()

Properties

Gets or sets the start point of the line.

C#
public Location Point1 { get; set; }

Gets or sets the end point of the line.

C#
public Location Point2 { get; set; }

Methods

Calculates logical coordinates.

C#
protected override void CalculateLogicalCoordinates()

Overrides: MapShapeData.CalculateLogicalCoordinates()

Calculates screen geometry.

C#
protected override string GetScreenGeometry(int zoomLevel)
Parameters:zoomLevelint

Zoom level to get screen geometry for.

Returns:

string

String representation of the screen geometry.

Overrides: MapShapeData.GetScreenGeometry(int)

Recalculate location of the shape.

C#
protected override void UpdateGeoBounds()

Overrides: MapShapeData.UpdateGeoBounds()