New to Telerik UI for WPF? Start a free 30-day trial

Represents a map shape defined by geometric data, providing functionality for calculating logical coordinates, updating geographic bounds, and generating screen geometry.

The PathData class is a specialized map shape that uses GeometryData to define its structure. It supports operations such as calculating logical coordinates based on a spatial reference, updating geographic bounds, and generating screen geometry for rendering.

Definition

Constructors

C#
public PathData()

Properties

Gets or sets a GeometryData that specifies the shape to be drawn.

C#
public GeometryData Data { 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)

Updates geographic bounds of the shape.

C#
protected override void UpdateGeoBounds()

Overrides: MapShapeData.UpdateGeoBounds()