Class MapShapeData
Represents shape data (geographical and logical coordinates).
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class MapShapeData : ExtendedDataProvider, IExtendedData, INotifyPropertyChanged, IGeoSizeProvider, IColorable
Remarks
Can be created in the background thread and used in the UI thread.
Constructors
MapShapeData()
Declaration
protected MapShapeData()
Properties
ActiveShapeFill
Gets or sets currently applied shape fill properties.
Declaration
public MapShapeFill ActiveShapeFill { get; set; }
Property Value
MapShapeFill
|
GeoBounds
Gets geographical bounds of the shape.
Declaration
public LocationRect GeoBounds { get; }
Property Value
LocationRect
|
Implements
Geometry
Gets on-screen geometry.
Declaration
public Geometry Geometry { get; }
Property Value
System.Windows.Media.Geometry
|
GeoSize
Gets or sets geographical size of the shape.
Declaration
public Size GeoSize { get; }
Property Value
System.Windows.Size
|
Implements
HighlightFill
Gets or sets the highlight shape fill properties.
Declaration
public MapShapeFill HighlightFill { get; set; }
Property Value
MapShapeFill
|
Implements
InitStarted
Gets the value which indicates that the initialization is started.
Declaration
protected bool InitStarted { get; }
Property Value
System.Boolean
|
IsHighlighted
Gets value which indicates what shape filling (regular or highlighted) is used currently.
Declaration
public bool IsHighlighted { get; }
Property Value
System.Boolean
|
IsSelected
Gets value which indicates what shape filling (regular or selected) is used currently.
Declaration
public bool IsSelected { get; }
Property Value
System.Boolean
|
RenderTransform
Gets or sets the Transform object applied to the shape.
Declaration
public Transform RenderTransform { get; set; }
Property Value
System.Windows.Media.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
public Point RenderTransformOrigin { get; set; }
Property Value
System.Windows.Point
|
SelectedFill
Gets or sets the selected shape fill properties.
Declaration
public MapShapeFill SelectedFill { get; set; }
Property Value
MapShapeFill
|
SerializedHighlightFill
Gets or sets the highlight shape fill properties as string.
Declaration
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
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
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
public MapShapeFill ShapeFill { get; set; }
Property Value
MapShapeFill
|
Implements
SpatialReference
Gets or sets spatial reference.
Declaration
public ISpatialReference SpatialReference { get; set; }
Property Value
ISpatialReference
|
ToScreenParameters
Gets or sets parameters of the conversion of the logical coordinates to screen coordinates.
Declaration
public LogicalToScreenParameters ToScreenParameters { get; set; }
Property Value
LogicalToScreenParameters
|
Transform
Gets on-screen transformation.
Declaration
public Transform Transform { get; }
Property Value
System.Windows.Media.Transform
|
Wrapper
Gets bindable wrapper for this map shape data.
Declaration
public MapShapeBindableWrapper Wrapper { get; }
Property Value
MapShapeBindableWrapper
|
Methods
Arrange()
Arrange item according to its Location.
Declaration
protected override void Arrange()
Overrides
BeginInit()
Starts the initialization process for the shape.
Declaration
public void BeginInit()
CalculateLogicalCoordinates()
Calculates logical coordinates for the current projection.
Declaration
protected virtual void CalculateLogicalCoordinates()
EndInit()
Indicates that the initialization process for the shape is complete.
Declaration
public void EndInit()
EndInit(Boolean)
Indicates that the initialization process for the shape is complete.
Declaration
public void EndInit(bool updateShape)
Parameters
System.Boolean
updateShape
Indicates whether shape geometry should be updated. |
GetScreenGeometry(Int32)
Calculates screen geometry.
Declaration
protected abstract string GetScreenGeometry(int zoomLevel)
Parameters
System.Int32
zoomLevel
Zoom level to get screen geometry for. |
Returns
System.String
String representation of the screen geometry. |
SetLogicalWidth(Int32)
Sets logical width for the specified zoom level.
Declaration
protected void SetLogicalWidth(int zoomLevel)
Parameters
System.Int32
zoomLevel
|
UpdateGeoBounds()
Updates geographic bounds of the shape.
Declaration
protected abstract void UpdateGeoBounds()
UpdateShape()
Update shape.
Declaration
protected void UpdateShape()
UseHighlightFill()
Use highlight fill and stroke settings.
Declaration
public void UseHighlightFill()
UseRegularFill()
Use regular fill and stroke settings.
Declaration
public void UseRegularFill()
UseSelectedFill()
Use selected fill and stroke settings.
Declaration
public void UseSelectedFill()