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

Represents shape data (geographical and logical coordinates).

Definition

Constructors

C#
protected MapShapeData()

Properties

Gets or sets currently applied shape fill properties.

C#
public MapShapeFill ActiveShapeFill { get; set; }

Gets geographical bounds of the shape.

C#
public LocationRect GeoBounds { get; }

Implements: IGeoSizeProvider.GeoBounds

Geometry

Geometry

Gets on-screen geometry.

C#
public Geometry Geometry { get; }

Gets or sets geographical size of the shape.

C#
public Size GeoSize { get; }

Implements: IGeoSizeProvider.GeoSize

Gets or sets the highlight shape fill properties.

C#
public MapShapeFill HighlightFill { get; set; }

Implements: IColorable.HighlightFill

Gets the value which indicates that the initialization is started.

C#
protected bool InitStarted { get; }

Gets value which indicates what shape filling (regular or highlighted) is used currently.

C#
public bool IsHighlighted { get; }

Gets value which indicates what shape filling (regular or selected) is used currently.

C#
public bool IsSelected { get; }

Gets or sets the Transform object applied to the shape.

C#
public Transform RenderTransform { get; set; }

Gets or sets the center point of any possible render transform declared by MapShapeData.RenderTransform, relative to the bounds of the element.

C#
public Point RenderTransformOrigin { get; set; }

Gets or sets the selected shape fill properties.

C#
public MapShapeFill SelectedFill { get; set; }

Gets or sets the highlight shape fill properties as string.

C#
public MapShapeDataFill SerializedHighlightFill { get; set; }
Remarks:

Serialized presentation of the MapShapeFill object.

Gets or sets the selected shape fill properties as string.

C#
public MapShapeDataFill SerializedSelectedFill { get; set; }
Remarks:

Serialized presentation of the MapShapeFill object.

Gets or sets the shape fill properties as string.

C#
public MapShapeDataFill SerializedShapeFill { get; set; }
Remarks:

Serialized presentation of the MapShapeFill object.

Gets or sets the regular shape fill properties.

C#
public MapShapeFill ShapeFill { get; set; }

Implements: IColorable.ShapeFill

Gets or sets spatial reference.

C#
public ISpatialReference SpatialReference { get; set; }

Gets or sets parameters of the conversion of the logical coordinates to screen coordinates.

C#
public LogicalToScreenParameters ToScreenParameters { get; set; }

Transform

Transform

Gets on-screen transformation.

C#
public Transform Transform { get; }

Gets bindable wrapper for this map shape data.

C#
public MapShapeBindableWrapper Wrapper { get; }

Methods

Arrange item according to its Location.

C#
protected override void Arrange()

Overrides: ExtendedDataProvider.Arrange()

Starts the initialization process for the shape.

C#
public void BeginInit()

Calculates logical coordinates for the current projection.

C#
protected virtual void CalculateLogicalCoordinates()

Indicates that the initialization process for the shape is complete.

C#
public void EndInit()

Indicates that the initialization process for the shape is complete.

C#
public void EndInit(bool updateShape)
Parameters:updateShapebool

Indicates whether shape geometry should be updated.

Calculates screen geometry.

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

Zoom level to get screen geometry for.

Returns:

string

String representation of the screen geometry.

Sets logical width for the specified zoom level.

C#
protected void SetLogicalWidth(int zoomLevel)
Parameters:zoomLevelint

Updates geographic bounds of the shape.

C#
protected abstract void UpdateGeoBounds()

Update shape.

C#
protected void UpdateShape()

Use highlight fill and stroke settings.

C#
public void UseHighlightFill()

Use regular fill and stroke settings.

C#
public void UseRegularFill()

Use selected fill and stroke settings.

C#
public void UseSelectedFill()