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

Represents rectangle given in the geographical coordinates. Width and Height properties sets size of the rectangle in the degrees. The RadiusX and RadiusY properties are set in degrees as well.

Definition

Constructors

C#
public RectangleData()

Properties

Gets or sets height of the rectangle in degrees.

C#
public double Height { get; set; }

Gets or sets the x-axis radius of the ellipse that is used to round the corners of the rectangle.

C#
public double RadiusX { get; set; }

Gets or sets the y-axis radius of the ellipse that is used to round the corners of the rectangle.

C#
public double RadiusY { get; set; }

Gets or sets width of the rectangle in degrees.

C#
public double Width { 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 geographical bounds of the shape.

C#
protected override void UpdateGeoBounds()

Overrides: MapShapeData.UpdateGeoBounds()