Class
MapShapeData

Represents shape data (geographical and logical coordinates).

Definition

Constructors

MapShapeData()

Declaration

cs-api-definition
protected MapShapeData()

Properties

ActiveShapeFill

Gets or sets currently applied shape fill properties.

Declaration

cs-api-definition
public MapShapeFill ActiveShapeFill { get; set; }

Property Value

MapShapeFill

GeoBounds

Gets geographical bounds of the shape.

Declaration

cs-api-definition
public LocationRect GeoBounds { get; }

Property Value

LocationRect

Implements IGeoSizeProvider.GeoBounds

GeoSize

Gets or sets geographical size of the shape.

Declaration

cs-api-definition
public Size GeoSize { get; }

Property Value

Size

Implements IGeoSizeProvider.GeoSize

Geometry

Gets on-screen geometry.

Declaration

cs-api-definition
public Geometry Geometry { get; }

Property Value

Geometry

HighlightFill

Gets or sets the highlight shape fill properties.

Declaration

cs-api-definition
public MapShapeFill HighlightFill { get; set; }

Property Value

MapShapeFill

Implements IColorable.HighlightFill

InitStarted

Gets the value which indicates that the initialization is started.

Declaration

cs-api-definition
protected bool InitStarted { get; }

Property Value

bool

IsHighlighted

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

Declaration

cs-api-definition
public bool IsHighlighted { get; }

Property Value

bool

IsSelected

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

Declaration

cs-api-definition
public bool IsSelected { get; }

Property Value

bool

RenderTransform

Gets or sets the Transform object applied to the shape.

Declaration

cs-api-definition
public Transform RenderTransform { get; set; }

Property Value

Transform

RenderTransformOrigin

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

Declaration

cs-api-definition
public Point RenderTransformOrigin { get; set; }

Property Value

Point

SelectedFill

Gets or sets the selected shape fill properties.

Declaration

cs-api-definition
public MapShapeFill SelectedFill { get; set; }

Property Value

MapShapeFill

SerializedHighlightFill

Gets or sets the highlight shape fill properties as string.

Declaration

cs-api-definition
public MapShapeDataFill SerializedHighlightFill { get; set; }

Property Value

MapShapeDataFill

Remarks

Serialized presentation of the MapShapeFill object.

SerializedSelectedFill

Gets or sets the selected shape fill properties as string.

Declaration

cs-api-definition
public MapShapeDataFill SerializedSelectedFill { get; set; }

Property Value

MapShapeDataFill

Remarks

Serialized presentation of the MapShapeFill object.

SerializedShapeFill

Gets or sets the shape fill properties as string.

Declaration

cs-api-definition
public MapShapeDataFill SerializedShapeFill { get; set; }

Property Value

MapShapeDataFill

Remarks

Serialized presentation of the MapShapeFill object.

ShapeFill

Gets or sets the regular shape fill properties.

Declaration

cs-api-definition
public MapShapeFill ShapeFill { get; set; }

Property Value

MapShapeFill

Implements IColorable.ShapeFill

SpatialReference

Gets or sets spatial reference.

Declaration

cs-api-definition
public ISpatialReference SpatialReference { get; set; }

Property Value

ISpatialReference

ToScreenParameters

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

Declaration

cs-api-definition
public LogicalToScreenParameters ToScreenParameters { get; set; }

Property Value

LogicalToScreenParameters

Transform

Gets on-screen transformation.

Declaration

cs-api-definition
public Transform Transform { get; }

Property Value

Transform

Wrapper

Gets bindable wrapper for this map shape data.

Declaration

cs-api-definition
public MapShapeBindableWrapper Wrapper { get; }

Property Value

MapShapeBindableWrapper

Methods

Arrange()

Arrange item according to its Location.

Declaration

cs-api-definition
protected override void Arrange()

Overrides ExtendedDataProvider.Arrange()

BeginInit()

Starts the initialization process for the shape.

Declaration

cs-api-definition
public void BeginInit()

CalculateLogicalCoordinates()

Calculates logical coordinates for the current projection.

Declaration

cs-api-definition
protected virtual void CalculateLogicalCoordinates()

EndInit()

Indicates that the initialization process for the shape is complete.

Declaration

cs-api-definition
public void EndInit()

EndInit(bool)

Indicates that the initialization process for the shape is complete.

Declaration

cs-api-definition
public void EndInit(bool updateShape)

Parameters

updateShape

bool

Indicates whether shape geometry should be updated.

GetScreenGeometry(int)

Calculates screen geometry.

Declaration

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

Parameters

zoomLevel

int

Zoom level to get screen geometry for.

Returns

string

String representation of the screen geometry.

SetLogicalWidth(int)

Sets logical width for the specified zoom level.

Declaration

cs-api-definition
protected void SetLogicalWidth(int zoomLevel)

Parameters

zoomLevel

int

UpdateGeoBounds()

Updates geographic bounds of the shape.

Declaration

cs-api-definition
protected abstract void UpdateGeoBounds()

UpdateShape()

Update shape.

Declaration

cs-api-definition
protected void UpdateShape()

UseHighlightFill()

Use highlight fill and stroke settings.

Declaration

cs-api-definition
public void UseHighlightFill()

UseRegularFill()

Use regular fill and stroke settings.

Declaration

cs-api-definition
public void UseRegularFill()

UseSelectedFill()

Use selected fill and stroke settings.

Declaration

cs-api-definition
public void UseSelectedFill()